From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Shift selection using interactive spec Date: Fri, 14 Mar 2008 15:26:03 +0100 Message-ID: <87prtxpekk.fsf@kfs-lx.rd.rdm> References: <87k5k69p92.fsf@stupidchicken.com> <200803140408.m2E47hPU014494@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205504925 16207 80.91.229.12 (14 Mar 2008 14:28:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 14:28:45 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 15:29:10 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 1JaAu6-0004ua-Oc for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 15:29:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaAtX-0003iP-IZ for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 10:28:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaArJ-0001tV-RK for emacs-devel@gnu.org; Fri, 14 Mar 2008 10:26:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaArI-0001sZ-TL for emacs-devel@gnu.org; Fri, 14 Mar 2008 10:26:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaArI-0001sI-OB for emacs-devel@gnu.org; Fri, 14 Mar 2008 10:26:08 -0400 Original-Received: from mail-relay.sonofon.dk ([212.88.64.25]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JaArI-0001PH-7n for emacs-devel@gnu.org; Fri, 14 Mar 2008 10:26:08 -0400 Original-Received: (qmail 93286 invoked from network); 14 Mar 2008 14:26:03 -0000 Original-Received: from unknown (HELO kfs-lx.rd.rdm.cua.dk) (213.83.150.21) by 0 with SMTP; 14 Mar 2008 14:26:04 -0000 In-Reply-To: <200803140408.m2E47hPU014494@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Thu\, 13 Mar 2008 21\:06\:51 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux) X-detected-kernel: 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:92557 Archived-At: Dan Nicolaescu writes: > Chong Yidong writes: > > > Comments are welcome. > > Seems to work fine. Adding ^ to move-beginning/end-of-line made S-home > and S-end work too. > > The expected behavior for S-prior/next is to move the point to the > beginning/end of the buffer when the distance is less than a page. > How is that going to be handled? > > How about mark-whole-buffer? > > Thanks for taking care of this! I haven't had time to look at your patch, but it seems ok. But let me repeat my question: 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? -- Kim F. Storm http://www.cua.dk