[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch: broken docstrings for functions from .elc.gz's
From: |
Ivan Zakharyaschev |
Subject: |
patch: broken docstrings for functions from .elc.gz's |
Date: |
Sun, 30 Mar 2003 18:24:35 +0400 (MSD) |
Hello!
A bug in Emacs 21.2 (and 21.3) has been reported by Sergey
Vlasov (a patch that aims to fix it is attached):
having life.elc compressed:
/usr/share/emacs/21.3/lisp/play/life.elc.gz
sometimes results in a broken docstring for `life'. More
precisely:
After Emacs startup:
C-h f life RET (the doc for the autoloaded function is fine)
M-: (load "/usr/share/emacs/21.3/lisp/play/life.elc.gz") RET
C-h f life RET (the full doc is fine)
M-: (load "/usr/share/emacs/21.3/lisp/play/life") RET
C-h f life RET (the doc is broken)
Debugging shows that `jka-compr-load' is called in the first
case, but it isn't called in the second one. Modifying a test in
src/lread.c fixes this bad behaviour.
Usually libraries are loaded in a way similar to the second case,
so usually the docstrings get broken.
As I can see from the CVS, the issue is still there in the main
Emacs development branch. The patch is for 21.3. (There is a
description of it inside.)
Regards,
--
Ivan Zakharyaschev
ALT Linux Team member
I'm a Sisyphus developer: it's core is GNU/Linux
http://www.altlinux.ru, http://www.altlinux.com
JID: imz at altlinux.org
emacs-21.3-use-handler-for-load.patch
Description: for 21.3; should be done for MAIN, too
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch: broken docstrings for functions from .elc.gz's,
Ivan Zakharyaschev <=