From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Interactive hat. Date: Wed, 25 Mar 2009 14:24:04 +0000 Message-ID: <20090325142404.GD1487@muc.de> References: <20090323223703.GA5650@muc.de> <20090324135210.GA4657@muc.de> <20090325101650.GA1487@muc.de> <20090325105316.GB1487@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1237991122 17481 80.91.229.12 (25 Mar 2009 14:25:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2009 14:25:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 15:26:39 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmU3k-0005fi-Ri for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2009 15:26:25 +0100 Original-Received: from localhost ([127.0.0.1]:58604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmU2N-0007wd-W2 for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2009 10:25:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmU2J-0007wO-Ay for emacs-devel@gnu.org; Wed, 25 Mar 2009 10:24:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmU2G-0007tC-12 for emacs-devel@gnu.org; Wed, 25 Mar 2009 10:24:55 -0400 Original-Received: from [199.232.76.173] (port=39475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmU2F-0007t0-Ne for emacs-devel@gnu.org; Wed, 25 Mar 2009 10:24:51 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:3029 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmU2F-0004K7-69 for emacs-devel@gnu.org; Wed, 25 Mar 2009 10:24:51 -0400 Original-Received: (qmail 94041 invoked by uid 3782); 25 Mar 2009 14:24:49 -0000 Original-Received: from acm.muc.de (pD9E50975.dip.t-dialin.net [217.229.9.117]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 25 Mar 2009 15:24:42 +0100 Original-Received: (qmail 4944 invoked by uid 1000); 25 Mar 2009 14:24:04 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109826 Archived-At: Hi, Lennart! On Wed, Mar 25, 2009 at 12:03:08PM +0100, Lennart Borgman wrote: > Hi Alan, > On Wed, Mar 25, 2009 at 11:53 AM, Alan Mackenzie wrote: > > Agreed, except I wouldn't put it in the command loop - I'd put it in a > > hook (pre-command-hook), for the same reason font-locking is in a hook > > rather than directly in the command loop.  M-x shift-select would > > install/remove this function onto/from the hook. > We discussed this before and my conclusion was that this would not > work well enough because of the order of things in the hook would be > crucial. I suggested adding a new hook to run before pre-command-hook. > (And something similar for pos-command-hook.) Yes, I remember that discussion. ;-) It was about a year ago. I'll go and look it up, and see what you said. Thanks for the pointer! -- Alan Mackenzie (Nuremberg, Germany).