forcemerge 157123 124221 193575 thanks On Fri, Oct 03, 2008 at 08:51:29AM +0200, Sven Joachim wrote: > reassign 124221 emacsen-common > merge 124221 193575 > thanks > > On 2001-12-16 20:06 +0100, Matt Hodges wrote: > > > Package: emacs21 > > Version: 21.1-7 > > Severity: normal > > > > Emacs currently cannot locate the source of some packages which > > install files under /usr/share/emacs/site-lisp. This is annoying > > because the hyperlinks to source files in *Help* buffers don't work > > for these packages. > > [snip] > > > One solution is to add a subdirs.el file in /usr/share/emacs/site-lisp > > and it should be possible to get this to work with different flavours > > of Emacs, if necessary; something for the emacsen-common package? > > If such a subdirs.el is to be provided, it has to be in the > emacsen-common package, indeed. See #193575. > > > Alternatively, the normal-top-level-add-subdirs-to-load-path code > > above seems to work correctly, and could be added to a startup file. > > > > Has this been discussed already? Should bug reports be filed against > > any packages which don't explicitly take care of this issue? > > Apparently, that's the way to go.
Another approach that has been proposed is to put symlinks to the source files along with the .elc files, See http://bugs.debian.org/157123 [emacsen-common: policy should require .el files to be in the emacs load-path] One of the contributors to that report thinks that explicitly adding .el path is not desirable. I do not know if setting subdirs.el has known drawbacks, but symlinks aproach keeps load-path shorter and is currently used by a number of emacs add-on packages with no known problems. Since all these bug reports deal with the same problem, I am also merging them. Being #157123 the one with more extense discussion, I am using it as base. -- Agustin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]