From xemacs-m  Mon Jun 23 04:59:14 1997
Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA28204
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 04:59:14 -0500 (CDT)
Received: from oink.mcom.com (oink.mcom.com [205.217.241.62])
	by netscape.com (8.8.5/8.8.5) with ESMTP id CAA04330;
	Mon, 23 Jun 1997 02:58:45 -0700 (PDT)
Received: (from friedman@localhost)
	by oink.mcom.com (8.8.5/8.8.5) id CAA07348;
	Mon, 23 Jun 1997 02:51:28 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Noah Friedman <friedman@splode.com>
To: hniksic@srce.hr
Cc: xemacs-beta@xemacs.org
Subject: [PATCH] teach-extended-commands-p change
Reply-To: friedman@splode.com
In-Reply-To: <hniksic@srce.hr> , 23 Jun 1997 11:40:06 +0200
References: <kiglo41mzd5.fsf@jagor.srce.hr>
Date: Mon, 23 Jun 1997 02:51:27 -0700 (PDT)
Message-Id: <19970623025127.793039.FMU8689@oink.mcom.com>

>** The feature to suggest key bindings when you use M-x now operates
>after the command finishes.  The message suggesting key bindings
>appears temporarily in the echo area.  The previous echo area contents
>come back after a few seconds, in case they contain useful information.
>
>Here is the patch that implements the same change in XEmacs.  I must
>say I like this feature a *lot*.  It makes command-teaching really
>useful, for the first time.

I heartily agree.  It's MUCH less annoying.  I've been using an
after-command suggestions implementation since 1991 or so.  Recently I
tried to track down the history of this feature, and here's what I know
about it (excerpted from http://www.splode.com/~friedman/software/emacs-lisp):

     I'm not 100% sure where the idea for this feature originated. For
     years I had a function called insert-hooks (now totally obsolesced
     by advice.el) which I used to modify the execute-extended-command
     command to display key bindings in Emacs 18. It's entirely possible
     that I stole the idea from Roland McGrath and that he stole the idea
     in turn from Kyle Jones, who wrote a program called [[execcmd.el]]
     in 1989 (which I did not discover until I did some research for this
     document in 1997). Kyle, in turn, claims to have gotten the idea
     from Evan Bigall. Anyway, at some point I ripped the hooks out of my
     .emacs and made my own standalone package.

