From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Shift selection using interactive spec Date: Fri, 14 Mar 2008 11:54:34 -0400 Message-ID: References: <87k5k69p92.fsf@stupidchicken.com> <200803140408.m2E47hPU014494@sallyv1.ics.uci.edu> <87prtxpekk.fsf@kfs-lx.rd.rdm> <87abl11ilo.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205510106 3956 80.91.229.12 (14 Mar 2008 15:55:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 15:55:06 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org, "Kim F. Storm" To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 16:55:31 2008 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 1JaCFZ-00056W-TX for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 16:55:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaCF0-0001JK-QU for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 11:54:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaCEw-0001IT-KR for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:54:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaCEu-0001Gt-7n for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:54:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaCEu-0001Gq-1m for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:54:36 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JaCEt-0003uy-Pw for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:54:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEADw82kdMCrZy/2dsb2JhbACpXoEI X-IronPort-AV: E=Sophos;i="4.25,501,1199682000"; d="scan'208";a="16058971" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 14 Mar 2008 11:54:35 -0400 Original-Received: from pastel.home ([76.10.182.114]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id USQ09135; Fri, 14 Mar 2008 11:54:35 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C9B8B7FDA; Fri, 14 Mar 2008 11:54:34 -0400 (EDT) In-Reply-To: <87abl11ilo.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 14 Mar 2008 10:32:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:92579 Archived-At: >> What if a movement command uses a lisp form rather than a string as >> interactive spec? >> >> Then, how do you do the equivalent of '^' in that case? > Is there any movement command that uses a lisp form spec? If these > are sufficiently rare, the command itself could simply be modified > directly. > Not that the @ and * interactive specs would also have problems with > interactive specs that are lisp forms. *Any* letter in `interactive' should have a simple Elisp equivalent. I suggest you write the code directly in an elisp function to start with, and then call that function from callint.c. Stefan