Article View: gnu.emacs.bug
Article #100028auto-whereis for M-x (REVISED)
From: Stavros Macrakis
Date: Fri, 09 Mar 1990 20:12
Date: Fri, 09 Mar 1990 20:12
17 lines
1278 bytes
1278 bytes
GNU Emacs 18.55.1 of Tue Oct 31 1989 on marat (hpux) I tried to create a version of M-x which does a where-is to tell you if the command you just entered had a short form. Using this-command doesn't work when there are nested commands (e.g. M-x replace-string); last-command doesn't help. What you need is the last execute- extended-command's this_command. (defun execute-extended-command* () (interactive) (call-interactively 'execute-extended-command) (where-is this-command)) ; Lose First version of this note forgot to mention the other problem: what to do when the command has echo area output.
Technical Details
Message-ID:
<9003091213.AA08520@mururoa.imag.fr>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!usc!cs.utexas.edu!tut.cis.ohio-state.edu!ri.osf.fr!macrakisShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,960a1c2a87a2c556,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-03-09 12:12:03 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!usc!cs.utexas.edu!tut.cis.ohio-state.edu!ri.osf.fr!macrakis From: macrakis@ri.osf.fr (Stavros Macrakis) Newsgroups: gnu.emacs.bug Subject: auto-whereis for M-x (REVISED) Message-ID: <9003091213.AA08520@mururoa.imag.fr> Date: 9 Mar 90 20:12:03 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 Posted: Fri Mar 9 21:12:03 1990