Peter S Galbraith <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: > >> Peter S Galbraith <[EMAIL PROTECTED]> writes: >> >> > Here's what I've decide to do with `emacs-goodies-el' : >> > >> > (if (not (file-exists-p "/usr/share/emacs/site-lisp/emacs-goodies-el"))
[...] >> > I have moved the bulk of setups in a separate file `emacs-goodies-el.el' >> > that is not under /etc, but that's only because it contains a _lot_ of >> > code. >> [...] >> IMHO it would be better to simply treat the >> /etc/emacs.d/ files as non-configuration files and remove them when >> the package is removed, thus making it possible to make them contain >> unconditional autoloads. [...] > Unfortunately, that's against Debian policy. > > What we need is an alternate directory that is _not_ under /etc > where we could also put Emacs startup files. [sorry about the messy quoting] One possible solution would be for `debian-run-directories', the function which loads the /etc/emacs/site-start.d/ files, to check whether the corresponding package is really installed before loading a file, and ignoring those where the package has been removed. Thereby the files could remain config files, and add-on package maintainers wouldn't have to add code to check that the package is still installed. -- Leonard Stiles <[EMAIL PROTECTED]>