From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Interpretation of a space in regexp isearch? Date: Wed, 15 Aug 2012 11:11:47 +0200 Message-ID: References: <502B2845.9070200@yandex.ru> <878vdgiv2d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1345021917 25560 80.91.229.3 (15 Aug 2012 09:11:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 09:11:57 +0000 (UTC) Cc: cyd@gnu.org, emacs-devel@gnu.org, Dmitry Gutov To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 11:11:57 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1Zdr-0000Pr-FB for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2012 11:11:55 +0200 Original-Received: from localhost ([::1]:39825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Zdq-0007fZ-6A for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2012 05:11:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Zdn-0007f7-RB for emacs-devel@gnu.org; Wed, 15 Aug 2012 05:11:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1Zdm-0007uR-UD for emacs-devel@gnu.org; Wed, 15 Aug 2012 05:11:51 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:33038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Zdk-0007tg-0N; Wed, 15 Aug 2012 05:11:48 -0400 Original-Received: by obhx4 with SMTP id x4so2175934obh.0 for ; Wed, 15 Aug 2012 02:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OlXdCncDFtauSpOYghIJ1PrvdJnOQP62uGJDvLx8kkU=; b=eJW/aV1wYRl/af4bz/CVgQDBzvcO45rl0WgSCgKVYoKVC8tw+br2yNBggkpVNmTTr6 0dG+I+AbDOKIaoF5itmEkmuZ5QxpSKiAxDo/cduVQqFvXD6ySKVoXMIjB4U2xh3LnMu6 vV2N1fvthuhSnKcHt/3lF7jJ4R5sZORGMRuf9Une7NZlUKUpt+1IzBpTx8IIdvTrdQuO +osvjNkkEv+HeUr/acQy7LReMEmSIMt8yeofvYXpnUl0qpkZgjNM4MG/m1Z+3SllvT95 Y0ib/pKaGCem+b7P+SHn943YUpIqNTH+HudHjF3LZ7Tfv9i9XXH4Ff/I0+aSu/eEuJ4n rcXA== Original-Received: by 10.60.172.202 with SMTP id be10mr794147oec.53.1345021907162; Wed, 15 Aug 2012 02:11:47 -0700 (PDT) Original-Received: by 10.60.79.226 with HTTP; Wed, 15 Aug 2012 02:11:47 -0700 (PDT) In-Reply-To: <878vdgiv2d.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152540 Archived-At: >>> FWIW, I've long been of the opinion that this feature is exactly >>> backward. The `search-whitespace-regexp' whitespace matching feature >>> should apply to ordinary incremental search, and it should *not* apply >>> to regexp incremental search. >> >> I think that would make more sense, too. > > My opinion too. +1 IMO, that feature is what the user usually wants in an ordinary search (regardless it's incremental or not; even if that search is part of a ordinary replace command). On the other and, in a rexexp search (or regexp search&replace) I think that the common case is the opposite: the user normally doesn't want that feature. So, what about making that feature optional for these two scenarios? ("on" by default in the regexp case and "off" by default in the normal case). -- Dani Moncayo