Merge pull request #1556 from rrthomas/master

Use a more recent vala-mode than ELPA's; remove magithub; fix dtrt-indent; add instructions for replicating a configuration
This commit is contained in:
yagnesh రాఘవ 2014-02-17 08:57:10 +09:00
commit 66f19b49bd
4 changed files with 23 additions and 11 deletions

View File

@ -86,7 +86,7 @@ To install El-Get you can use the *lazy-installer*. This will not load it
on startup or otherwise affect future usage of Emacs. If you wish to ensure on startup or otherwise affect future usage of Emacs. If you wish to ensure
that El-Get will be available in future Emacs session please use the code that El-Get will be available in future Emacs session please use the code
provided in **Basic Setup**. Using the code below will require an internet provided in **Basic Setup**. Using the code below will require an internet
connection even if El-Get is already installed, that's why it's adviced to connection even if El-Get is already installed, that's why it's advised to
use it for first time installation, not for embedding into your `.emacs` (or use it for first time installation, not for embedding into your `.emacs` (or
your `user-init-file`). your `user-init-file`).
@ -105,6 +105,20 @@ Evaluating this code after copying it into your `*scratch*` buffer by typing
script. This script will then use `git` to clone El-Get and install it to script. This script will then use `git` to clone El-Get and install it to
the default location (`~/.emacs.d/el-get/el-get`). the default location (`~/.emacs.d/el-get/el-get`).
## Replicating a package set on another Emacs installation
In the Emacs whose setup you wish to replicate, type `M-x ielm` for an
Emacs Lisp prompt, and enter:
```lisp
`(setq my-packages
',(mapcar #'el-get-as-symbol
(el-get-list-package-names-with-status "installed")))
```
Copy the result into the new Emacs, in which you should already have
installed El-Get, and evaluate it, followed by `(el-get 'sync my-packages)`
# Setup # Setup
## Basic Setup ## Basic Setup
@ -147,6 +161,8 @@ for it, like for example `~/.emacs.d/el-get-init-files/`).
El-Get will then load that file at package initialization time. See the full El-Get will then load that file at package initialization time. See the full
*Info* documentation for more details and possibilities. *Info* documentation for more details and possibilities.
Many `init-` packages are already available in El-Get.
# Usage # Usage
El-Get requires very little interaction with your init file when managing El-Get requires very little interaction with your init file when managing

View File

@ -1,7 +1,6 @@
(:name dtrt-indent (:name dtrt-indent
:website "http://savannah.nongnu.org/projects/dtrt-indent/"
:description "A minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files." :description "A minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files."
:type git :type github
:url "git://git.savannah.nongnu.org/dtrt-indent.git" :pkgname "rrthomas/dtrt-indent" ; has a fix for a bug that prevents loading; change back to "jscheid/" once https://github.com/jscheid/dtrt-indent/pull/10 is addressed
:features dtrt-indent :features (dtrt-indent)
:post-init (dtrt-indent-mode 1)) :post-init (dtrt-indent-mode 1))

View File

@ -1,5 +0,0 @@
(:name magithub
:description "Magit extensions for using GitHub"
:type github
:pkgname "nex3/magithub"
:depends magit)

View File

@ -1,5 +1,7 @@
(:name vala-mode (:name vala-mode
:description "Emacs mode for Vala language" :description "Emacs mode for Vala language"
:type elpa :type http
:url "https://wiki.gnome.org/Projects/Vala/Emacs?action=AttachFile&do=get&target=vala-mode.el"
:localname "vala-mode.el"
:post-init (progn :post-init (progn
(add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode)))) (add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode))))