Skip to content

Commit 77e270b

Browse files
committed
Rearranged ELPA code/docs.
1 parent a9e12ca commit 77e270b

File tree

7 files changed

+43
-37
lines changed

7 files changed

+43
-37
lines changed

README.markdown

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
This should provide a saner set of defaults than you get normally with
44
Emacs. It's intended for beginners, but it should provide a reasonable
5-
working environment for anyone using Emacs.
5+
working environment for anyone using Emacs for dynamic languages.
66

77
## Installation
88

9-
1. Install Emacs
9+
1. Install Emacs (at least version 22)
1010
Use your package manager if you have one.
1111
Otherwise, Mac users should get it [from Apple](http://www.apple.com/downloads/macosx/unix_open_source/carbonemacspackage.html).
1212
Windows users can get it [from GNU](http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-bin-i386.zip).
13-
2. Move this directory to ~/.emacs.d
13+
2. Move the directory containing this file to ~/.emacs.d
1414
3. Launch Emacs!
1515

1616
If you are missing some autoloads after an update (should manifest
@@ -27,7 +27,8 @@ Libraries from ELPA (http://tromey.com/elpa) are preferred when
2727
available since dependencies are handled automatically, and the burden
2828
to update them is removed from the user.
2929

30-
See TODO for a list of libraries that are pending submission to ELPA.
30+
See starter-kit-elpa.el for a list of libraries that are pending
31+
submission to ELPA.
3132

3233
## Contributing
3334

@@ -36,3 +37,5 @@ replacement for your regular dotfiles for a while. If there's anything
3637
you just can't live without, add it or let me know so I can add it.
3738

3839
Also: see the file TODO.
40+
41+
The latest version is at http://github.com/technomancy/emacs-starter-kit/

TODO

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,11 @@
11
TODO:
22

33
Start custom ELPA server
4-
Add bleeding-edge package support to elpa?
54

6-
look up http://www.emacswiki.org/cgi-bin/emacs-en/CommandLogMode
5+
Submit the packages in starter-kit-elpa.el to ELPA.
76

8-
to add to elpa:
9-
* ruby-electric
10-
* ruby-compilation
11-
12-
* color-theme (zenburn + vivid chalk)
13-
* htmlize
14-
15-
* cheat
16-
* gist
17-
* lisppaste
18-
* scpaste
19-
* magit
20-
* yaml (make rinari require it)
21-
22-
* nxhtml (remove bundled deps)
23-
* rinari
24-
* jabber (need to contact maintainers)
25-
* slime
26-
* pg
27-
28-
Check the list of elpa packages periodically to make sure they're all
29-
up to date:
30-
* ruby-mode
31-
* inf-ruby
32-
* idle-highlight
33-
* js2-mode
34-
* css
35-
* ert
7+
Check each of starter-kit-packages periodically to make sure they're
8+
all up to date.
369

3710
maybe include:
3811
* pcmpl-rake (or put it in another file; it's only 2 functions)

elpa-to-submit/markdown-mode.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ This is an exact copy of line-number-at-pos for use in emacs21."
10071007
(interactive)
10081008
(message "markdown-mode, version %s" markdown-mode-version))
10091009

1010+
;;;###autoload
10101011
(define-derived-mode markdown-mode text-mode "Markdown"
10111012
"Major mode for editing Markdown files."
10121013
;; Font lock.
@@ -1021,7 +1022,8 @@ This is an exact copy of line-number-at-pos for use in emacs21."
10211022
;; Cause use of ellipses for invisible text.
10221023
(add-to-invisibility-spec '(outline . t)))
10231024

1024-
;(add-to-list 'auto-mode-alist '("\\.text$" . markdown-mode))
1025+
;;;###autoload
1026+
(add-to-list 'auto-mode-alist '("\\.markdown$" . markdown-mode))
10251027

10261028
(provide 'markdown-mode)
10271029

elpa/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

init.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
(setq dotfiles-dir (file-name-directory
1515
(or (buffer-file-name) load-file-name)))
1616
(add-to-list 'load-path dotfiles-dir)
17-
(add-to-list 'load-path (concat dotfiles-dir "/elpa"))
1817
(add-to-list 'load-path (concat dotfiles-dir "/elpa-to-submit"))
1918
(setq autoload-file (concat dotfiles-dir "loaddefs.el"))
19+
(setq package-user-dir (concat dotfiles-dir "elpa"))
2020

2121
;; These should be loaded on startup rather than autoloaded on demand
2222
;; since they are likely to be used in every session:
File renamed without changes.

starter-kit-elpa.el

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1-
;;; starter-kit-elpa.el ---
1+
;;; starter-kit-elpa.el --- Install a base set of packages automatically.
22
;;
33
;; Part of the Emacs Starter Kit
4+
5+
(defvar starter-kit-packages '("idle-highlight"
6+
"ruby-mode"
7+
"inf-ruby"
8+
"js2-mode"
9+
"css-mode"
10+
"ert"
11+
;; To submit:
12+
;;; "clojure-mode"
13+
;;; "cheat"
14+
;;; "gist"
15+
;;; "lisppaste"
16+
;;; "magit"
17+
;;; "yaml"
18+
;;; "paredit"
19+
;;; "html-fontify"
20+
;;; "color-theme"
21+
;;; "color-theme-zenburn"
22+
;;; "color-theme-vivid-chalk"
23+
;; Complicated ones:
24+
;;; "nxhtml"
25+
;;; "rinari"
26+
;;; "jabber"
27+
;;; "slime"
28+
;;; "swank-clojure"
29+
)
30+
"Libraries that should be installed by default.")

0 commit comments

Comments
 (0)