Article View: gnu.emacs.bug
Article #98312Substituting key bindings in documentation strings are very slow
From: Jonas Jaernestroem TG/HDK
Date: Sat, 12 Oct 1991 02:18
Date: Sat, 12 Oct 1991 02:18
17 lines
1429 bytes
1429 bytes
In GNU Emacs 18.55.4 of Tue Mar 20 1990 on nericad (berkeley-unix)
In the general hints for writing major modes it says that you should use
\\<local-map> and \\[command] in the documentation string for the major
mode in order to enshure that you display the keymap currently in effect.
This sounds very nice but when I inserted my 64 entries and then did
C-h m (describe-mode) it took 35 seconds to compute the contents
(before it was displayed) on a Sun sparc SLC 16MByte machine.
This is a bit slow for an interactive on-line help, so I had to
abandon it. I was expecting a slower display but not a
single key-binding lookup taking about 0.5 second !
Jonas Jaernestroem email: etxjojm@ericad.ericsson.se
Ericsson Telecom STOCKHOLM
Technical Details
Message-ID:
<9110112035.AA16696@ericad.ericsson.se>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!ericad.ericsson.SE!etxjojmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,19fd2bd9a08a0d02,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-10-11 19:18:53 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!ericad.ericsson.SE!etxjojm From: etxjojm@ericad.ericsson.SE (Jonas Jaernestroem TG/HDK) Newsgroups: gnu.emacs.bug Subject: Substituting key bindings in documentation strings are very slow Message-ID: <9110112035.AA16696@ericad.ericsson.se> Date: 12 Oct 91 02:18:53 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 Approved: bug-gnu-emacs@prep.ai.mit.edu