From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#22494: still can't search for two spaces Date: Wed, 3 Feb 2016 11:08:08 -0800 (PST) Message-ID: <74c1c1b9-8bce-4cc9-8319-c1b9fce1fb1d@default> References: <87h9hvshi3.fsf@jidanni.org>> > <54a07b7d-1fbd-4ed1-a8a0-e22eb5787c97@default>> <871t8yit11.fsf@mbork.pl>> <77b5b6df-4889-4142-a04d-526dd94c3a48@default>> > <6281db1e-d974-4cdc-b111-3e9097ae89db@default> <450ada88-ae30-4cde-8db0-cc8e625eebf9@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1454526662 11097 80.91.229.3 (3 Feb 2016 19:11:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2016 19:11:02 +0000 (UTC) Cc: 22494@debbugs.gnu.org, mbork@mbork.pl, rms@gnu.org, jidanni@jidanni.org To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 03 20:10:47 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aR2p6-0007SS-KQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 20:10:40 +0100 Original-Received: from localhost ([::1]:37202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR2p5-00069m-Rp for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 14:10:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR2nb-0003rD-KM for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 14:09:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR2nW-0003AL-Kg for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 14:09:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR2nW-0003AB-Hu for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 14:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aR2nW-0002hx-BG for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 14:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Feb 2016 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 22494-submit@debbugs.gnu.org id=B22494.145452650110359 (code B ref 22494); Wed, 03 Feb 2016 19:09:02 +0000 Original-Received: (at 22494) by debbugs.gnu.org; 3 Feb 2016 19:08:21 +0000 Original-Received: from localhost ([127.0.0.1]:58392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR2mr-0002h1-6s for submit@debbugs.gnu.org; Wed, 03 Feb 2016 14:08:21 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:22761) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR2mp-0002go-Ft for 22494@debbugs.gnu.org; Wed, 03 Feb 2016 14:08:19 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u13J8DLr004169 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Feb 2016 19:08:13 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u13J8Bpm011258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 3 Feb 2016 19:08:12 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u13J89q0028289; Wed, 3 Feb 2016 19:08:10 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112354 Archived-At: > > 4. I raised a question about whether lax w-s matching should > > be automatically turned OFF if you _paste_ (not type) text > > that contains multiple, contiguous w-s chars. >=20 > I think it should be, as with typing them. Maybe. But it's easy to copy some text (e.g. non-code) from some external source (not Emacs), and search for it (by yanking). You might not even know whether it contains more than one whitespace char in a row. And if it does, I'm guessing that some users might be surprised to see lax whitespace matching turned off after the yank. Not a big deal, as long as they are clearly notified, in a way that they understand _why_ the search mode has changed (e.g. the search string now contains more than one w-s char in a row). But I still have the question of what the right approach is. There are different possibilities, when someone yanks some text to add to the search string, regarding the intention wrt searching for whitespace. My guess is that whatever behavior we choose some users will be confused. This just underlines the importance of letting the user know (a) that a change in behavior has taken place and (b) why it has.