Anonymous | Login | 2024-04-23 08:36 CEST |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0002976 | [emacs] packaging | feature | N/A | 2008-12-19 17:57 | 2012-05-31 15:17 | ||
Reporter | bwalton | View Status | public | ||||
Assigned To | pfelecan | ||||||
Priority | normal | Resolution | won't fix | ||||
Status | closed | ||||||
Summary | 0002976: provide a site-start style depot for other .el providers | ||||||
Description |
Hi Peter, 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. Thanks -Ben |
||||||
Additional Information |
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 (mapc 'load (directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.el\\'")) |
||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Copyright © 2000 - 2008 Mantis Group |