From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: search-whitespace-regexp Date: Mon, 7 Feb 2005 09:41:50 +0900 Message-ID: References: Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107736997 30801 80.91.229.2 (7 Feb 2005 00:43:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2005 00:43:17 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 07 01:43:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cxwzh-0007U5-IZ for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 01:43:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxxDj-0004lt-6e for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 19:57:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CxxDY-0004kk-M5 for emacs-devel@gnu.org; Sun, 06 Feb 2005 19:57:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CxxDW-0004kI-Sj for emacs-devel@gnu.org; Sun, 06 Feb 2005 19:57:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxxDW-0004k0-OU for emacs-devel@gnu.org; Sun, 06 Feb 2005 19:57:30 -0500 Original-Received: from [64.233.184.206] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxwyP-0007i8-G5 for emacs-devel@gnu.org; Sun, 06 Feb 2005 19:41:53 -0500 Original-Received: by wproxy.gmail.com with SMTP id 36so522406wri for ; Sun, 06 Feb 2005 16:41:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=AQ5t26e8HV5Y6OFVwoTByjGrYoDLZiME4izi0/raa8+ngRqcrbFgAZUiob/2T6WvtJXTZvt/PjPrFSZ9tKfMoeTdc+9kjbUQQgM27y0VsczA5aNc8Q3CoT8cgTsK2/0n3Qb5cDtubLKyUO606ubn76uGrBi4yM+kajLdUkQPR4g= Original-Received: by 10.54.59.37 with SMTP id h37mr38618wra; Sun, 06 Feb 2005 16:41:52 -0800 (PST) Original-Received: by 10.54.19.59 with HTTP; Sun, 6 Feb 2005 16:41:50 -0800 (PST) Original-To: Drew Adams In-Reply-To: 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32978 On Sun, 6 Feb 2005 16:28:33 -0800, Drew Adams wrote: > The question then becomes how to toggle this space-means-whitespace > searching? An obvious candidate is `C-s C-SPC'. (Some will no doubt argue > against this because it means you can't just end a search and set the mark > this way.) Yes, I think it's not good for exactly that reason; I'll bet a fair number searches are precisely for the purpose of getting to the place where you want to set a mark... "M-SPC", on the other hand, is by default bound to "just-one-space", which seems eerily related to this isearch feature; morever, most other "isearch special commands" are bound to meta-keys (M-r, M-e, etc). So how about M-SPC toggling this flag in isearch...? -Miles -- Do not taunt Happy Fun Ball.