Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 66f19b49 authored by yagnesh రాఘవ's avatar yagnesh రాఘవ

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
parents 3bf181e8 71c9a8d8
......@@ -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
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
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
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
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
## 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
*Info* documentation for more details and possibilities.
Many `init-` packages are already available in El-Get.
# Usage
El-Get requires very little interaction with your init file when managing
......
(: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."
:type git
:url "git://git.savannah.nongnu.org/dtrt-indent.git"
:features dtrt-indent
:type github
: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)
:post-init (dtrt-indent-mode 1))
(:name magithub
:description "Magit extensions for using GitHub"
:type github
:pkgname "nex3/magithub"
:depends magit)
(:name vala-mode
: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
(add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment