Emacs modes for Emacs Daily Snapshot

Asked by Tong Sun

I've been using the Ubuntu Emacs Daily Snapshot Recipe and build (https://code.launchpad.net/~ubuntu-elisp/+recipe/emacs-daily) for a while, just the bare-bone of it, without any site-level elisp modules. Now I need to use them, but am facing the unsupported autoload problem now. Quote from the above site:

> * Little/no support for installing debian packages of elisp modules. Much of that support exists only in the form of a distropatch, which is not included here. So for example if you were to `apt-get install yaml-mode`, you would have to include "(require 'yaml-mode)" in your init, but you wouldn't be able to autoload yaml-mode like you may be accustomed to with the stable series. I am working on enabling this, but be warned that it is currently broken.

> * On the plus side, package.el works *excellently*...

The elisp module that I now want to use is rather a common one, the markdown-mode, which is already included under Debian and Ubuntu in the emacs-goodies-el package. But because of the unsupported autoload problem, I need to and am manually hacking it each time to use it.

So I'm thinking to use the recommended `M-x package-install markdown-mode` method to install one so as to solve the autoload problem. Then I can get ride of the emacs-goodies-el package because I'm not using it anyway. However, without that emacs-goodies-el package, I can't use the recommended `package-install` method.

So what is the good solution to above dilemma?
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Tong Sun
Solved:
Last query:
Last reply:
Revision history for this message
Tong Sun (suntong001) said :
#1

On Sat, Jan 3, 2015 at 11:21 AM, Tong Sun wrote:
> what is the good solution to above dilemma?

hmm... found that I might be shooting my own foot as I found that
package.el is not from the `emacs-goodies-el` package, but the
`emacs-daily` instead. Investigating... but please comment on the
correct way of doing things in the meantime.

Thanks

Revision history for this message
Robert Bruce Park (robru) said :
#2

Yes you don't need emacs-goodies-el. The emacs-snapshot package from the PPA contains everything you need to install packages with package.el. I am using markdown-mode very happily with emacs-snapshot package and it works with autoloading as well.

Revision history for this message
Tong Sun (suntong001) said :
#3

Thanks Robert. That Solved My Problem.

Recap, I've been using the emacs-traditional (http://sfxpt.wordpress.com/2014/12/13/bring-back-the-traditional-emacs/, based on the Ubuntu Emacs Daily Snapshot Recipe) for a while, just the bare-bone of it, without any site-level elisp modules. Now I need to use the elisp modules.

The solution is based on the built-in `package-install` method. I've put my solution at https://github.com/suntong001/emacs.d