|Anonymous | Login | Signup for a new account||2020-06-02 13:29 CEST|
|Main | My View | View Issues|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0002976||[emacs] packaging||feature||N/A||2008-12-19 17:57||2012-05-31 15:17|
|Summary||0002976: provide a site-start style depot for other .el providers|
As we discussed, it would be nice if the emacs packages provided a site-start (or similar) directory where other providers of .el/.elc files could place small elisp snippets that see things hooked into the startup of every emacs instance.
As an example, the redhat emacs-git package provides this (and debian has similar hooks):
$ less /usr/share/emacs/site-lisp/site-start.d/git-init.el
;; Git VC backend
(add-to-list 'vc-handled-backends 'GIT t)
(autoload 'git-status "git" "GIT mode." t)
(autoload 'git-blame-mode "git-blame"
"Minor mode for incremental blame for Git." t)
The file contains the following:
$ less /usr/share/emacs/site-lisp/site-start.el
;;; loaded before user's ".emacs" file and default.el
;; load ".el" files in "/usr/share/emacs/site-lisp/site-start.d/" on startup
(directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.el\\'"))
|Tags||No tags attached.|
|The package already contains the /opt/csw/share/emacs/site-lisp which has the role that you wish, isn't it?|
Can you read (emacs)Top:: > *Note Customization:: > Init File
in the manual, especially the paragraphs relating to the site initialization and tell me if this is not what you wish. TIA
|From my point of view, this is intrinsically available in Emacs' directory tree.|
|BTW, I see that the emacs_sitestart package exists now. Consequently, this is a strong reason to not fix...|
I'm not going to push hard for this since we can meet the need with the separate package. From my point of view though, it would be nice to drop the separate package and roll it directly in with the primary emacs package.
It's your call though and if you'd like to close this, that's fine with me.
|Copyright © 2000 - 2008 Mantis Group|