Comments (6)
The starter kit pre-dates integration of ELPA into core Emacs. Also, while the starter kit does provide some ELPA setup, I do agree the option for a package would be nice. I don't have the time currently to write the Makefile rules to build a package, however I'm happy to merge such a change. The packaging section of the Makefile in my emacs-web-server [1] should provide a good template for such an addition. I should be able to get to this at some point next month if there's no pull requests before then.
Thanks for the suggestion,
Eric
[1] https://github.com/eschulte/emacs-web-server/blob/master/Makefile#L29
from emacs24-starter-kit.
Thanks, I'll take a look
from emacs24-starter-kit.
Unfortunately I'm not going to be able to do this any time soon, sorry about that :-/=
from emacs24-starter-kit.
I just added this to the Makefile in e59a2fb, and submitted a pull request to MELPA melpa/melpa#2227.
from emacs24-starter-kit.
Great - I look forward to trying it out!
from emacs24-starter-kit.
So how should I load the starter kit once I install through MELPA instead of git?
For now I've written my own init.el and modified the hook function as follows:
;; load the starter kit from the `after-init-hook' so all packages are loaded
(add-hook 'after-init-hook
`(lambda ()
;; remember this directory
(setq starter-kit-dir
(file-name-as-directory
(package-desc-dir (cadr (assq 'literate-starter-kit package-alist)))))
;; only load org-mode later if we didn't load it just now
,(unless (and (getenv "ORG_HOME")
(file-directory-p (expand-file-name "lisp"
(getenv "ORG_HOME"))))
'(require 'org))
;; load up the starter kit
(org-babel-load-file (expand-file-name "starter-kit.org" starter-kit-dir))))
;;; init.el ends here
It works but I wonder if it is necessary to revert package-user-dir
to its original value.
from emacs24-starter-kit.
Related Issues (20)
- How to override buildin CEDET HOT 1
- Auto completion of C-x-C-f HOT 3
- flet is deprecated HOT 1
- espresso mode no longer available, renamed to js-mode HOT 1
- adding turn-on-flyspell text-mode hook throws an error HOT 1
- How to use starter kit with desktop.el and other init-dependant functions? HOT 1
- why three elisp code in starter-kit.org no run? HOT 2
- head of packaged python-mode needs python-mode installation dir set HOT 1
- starter-kit-lisp.org breaks the SLIME debugger
- custom.el not loading HOT 1
- Autocompletion? HOT 2
- "Package `emacs-24.4' is unavailable" HOT 1
- conflict between `org-src-tab-acts-natively` and yasnippet
- No starter-git-gnus-imap.el was found
- Upgrading org-mode?
- Put files to be loaded in a sub-directory of .emacs.d
- [:Query] on starter-kit.org
- starter-kit-gnus.org contains stuff related to GMail which seems weird
- Common code for personal settings that aren't dependent on usernames or system-names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs24-starter-kit.