From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Interactive hat. Date: Wed, 25 Mar 2009 12:03:08 +0100 Message-ID: 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237979033 6652 80.91.229.12 (25 Mar 2009 11:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2009 11:03:53 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Miles Bader To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 12:05:05 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 1LmQub-0000ZE-Nk for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2009 12:04:46 +0100 Original-Received: from localhost ([127.0.0.1]:53404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmQtE-00065H-Kp for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2009 07:03:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmQt9-00062B-Ou for emacs-devel@gnu.org; Wed, 25 Mar 2009 07:03:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmQt5-00060R-BX for emacs-devel@gnu.org; Wed, 25 Mar 2009 07:03:15 -0400 Original-Received: from [199.232.76.173] (port=39223 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmQt5-00060O-5V for emacs-devel@gnu.org; Wed, 25 Mar 2009 07:03:11 -0400 Original-Received: from mail-fx0-f166.google.com ([209.85.220.166]:47452) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmQt3-0004kC-NY; Wed, 25 Mar 2009 07:03:09 -0400 Original-Received: by fxm10 with SMTP id 10so2506222fxm.42 for ; Wed, 25 Mar 2009 04:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6lARk2UFjtFWuT3BZnhIgnlUxUEYC+ABx1nWPUOn3Zs=; b=QOcaBsAxjO+CsapI2qBGhoppHmV+gTHA/zcSqTAudYcHdyDP4FHpqrNDrG+m7L4ONf GqMzjJlO9KY4Q0nWoOjT/pbrxquDLe0TrJurussBIshSQsfAAezaZ6NVT/AcX4P6CpQD ZOAkcgWB+9eJwUR9Xg8G2IYeaIAwcYGGWn98I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Lsj8MdQRCOzQIr7+hsNrEeq7A65ZDkInyBL2bhQZtR63cjJXWhlZlNt5HqYtcOehLz 1rH0o+kCzIfSm/7DCQMMNBcYB0l3wLTTik6ovR5YfE5SHbuCNkRM4h0/EVkR+GLbz/+o VmtBEgw1DqjrZ2jnuVrLRVY2BubnW/jGlSAY4= Original-Received: by 10.223.122.70 with SMTP id k6mr8050427far.26.1237978988858; Wed, 25 Mar 2009 04:03:08 -0700 (PDT) In-Reply-To: <20090325105316.GB1487@muc.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:109818 Archived-At: 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. =C2=A0M-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.)