Package: mhc Version: 0.25.1+20050120-2 Tags: patch Emacs Help (describe-function, describe-variable or so) indicates the source file. However, mhc's source files cannot be found.
To reproduce: * Run emacs21 * Type `M-: (require 'mhc) RET' * Type `M-x help RET f mhc-edit RET' * Go to the *Help* buffer * Type `TAB' (cursor is moved to `mhc') * Type `RET', then `The library `mhc' is not in the path' is displayed To find function's definition from *Help*, please create *.el symlinks in the same directory as *.elc. The attached patch fixes this bug. (Note that adding *.el directory (/usr/share/emacs/site-lisp/mhc) to load-path is no good. Because debian-pkg-add-load-path-item does not specify any particular order in which directories will be inserted into load-path, that might prefer *.el to *.elc. See also Debian bug#276821, #122444.) Thanks, -- Tatsuya Kinoshita
--- mhc-0.25.1+20050120-2/debian/emacsen-install +++ mhc-0.25.1+20050120/debian/emacsen-install @@ -80,6 +80,9 @@ test -f mhc.elc && rm -f mhc.elc make -f Makefile EMACS=${EMACS} FLAGS="${FLAGS}" OPTS="${INST_OPTS} ${MEW_OPTS} ${WL_OPTS} ${GNUS_OPTS}" elc > CompilationLog 2>&1 rm -f *.el path.el Makefile MHC-MK CompilationLog.gz +for i in ${FILES}; do + ln -fs ${ELDIR}/$i +done gzip -9 CompilationLog exit 0
pgp6HxF6it5Lh.pgp
Description: PGP signature