From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#13480: 24.3.50; `C-w' from Isearch should translate newlines to spaces Date: Sun, 20 Jan 2013 13:27:34 +0100 Message-ID: References: <87r4ljh54a.fsf@mail.jurta.org> <87wqva2lvg.fsf@mail.jurta.org> <87obgl5vuz.fsf@mail.jurta.org> <8738xx30eo.fsf@mail.jurta.org> <753FBC5FA6504FE187B65C5B59C262D1@us.oracle.com> <878v7okavd.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1358684992 30190 80.91.229.3 (20 Jan 2013 12:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2013 12:29:52 +0000 (UTC) Cc: 13480@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 20 13:30:11 2013 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 1Twu2M-0000kK-NA for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Jan 2013 13:30:10 +0100 Original-Received: from localhost ([::1]:45978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twu25-0000qM-P9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Jan 2013 07:29:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twu22-0000p5-Oa for bug-gnu-emacs@gnu.org; Sun, 20 Jan 2013 07:29:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Twu0L-0006cc-2Q for bug-gnu-emacs@gnu.org; Sun, 20 Jan 2013 07:28:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twu0K-0006cU-Uq for bug-gnu-emacs@gnu.org; Sun, 20 Jan 2013 07:28:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Twu1G-0006pO-0i for bug-gnu-emacs@gnu.org; Sun, 20 Jan 2013 07:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Jan 2013 12:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13480 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13480-submit@debbugs.gnu.org id=B13480.135868491726213 (code B ref 13480); Sun, 20 Jan 2013 12:29:01 +0000 Original-Received: (at 13480) by debbugs.gnu.org; 20 Jan 2013 12:28:37 +0000 Original-Received: from localhost ([127.0.0.1]:41160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Twu0q-0006ok-RG for submit@debbugs.gnu.org; Sun, 20 Jan 2013 07:28:37 -0500 Original-Received: from mail-la0-f43.google.com ([209.85.215.43]:59771) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Twu0n-0006ob-AP for 13480@debbugs.gnu.org; Sun, 20 Jan 2013 07:28:35 -0500 Original-Received: by mail-la0-f43.google.com with SMTP id ed20so701438lab.2 for <13480@debbugs.gnu.org>; Sun, 20 Jan 2013 04:27:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bGN+emjGBNnx70JQVDRHuw21tvS4v96TitbROIVOnkA=; b=CotN7CQBpE1H+AtBqGPIQ7bBeIxd3rvtnzI/bcnVHB7+cTX46brulr1UNx5Z/iMyOf /STFsNuJWXqvhlhWxyPbtHYC+X4uQFl1jf1ZNst92zSKaGyarxPkgSW5+pWbjQeYA6pK ex6U8gV4nk2KjSYshZc+gwFob2KHgv+2Gi1pcvurdNT6DtLv/kNpDPWYW//iIRgZ0fwt GXvRvbq80ricbRWsbSd6EhOISDMhctE9dbmGxe/E2xiM7stfbfLK7QU+Hj/PJP4tN1bc 0oexhooTyuyrUHUkD3IkMud9D/NG/RxBCsw3Hr8uICQ1UR4RqJcbUI8y+1D0hFowd/rb xdKQ== X-Received: by 10.152.145.37 with SMTP id sr5mr14294668lab.33.1358684854424; Sun, 20 Jan 2013 04:27:34 -0800 (PST) Original-Received: by 10.114.92.68 with HTTP; Sun, 20 Jan 2013 04:27:34 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:70089 Archived-At: >> So maybe a better default value for `search-upper-case' >> would be `nil' instead of the current default `not-yanks'. > > I've just read the docstring of that variable, and I think its design > is clearly misguided. The text in the search string that came from a > yank should not be treated differently from the rest. I see no point > in that approach. Well, I see the point of making that distinction: If the user is Isearching and _types_ an uppercase character, then it is quite reasonable to assume that she wants the _current_ Isearch session to be case-sensitive. But that assumption is not reasonable when the user takes text from somewhere (kill ring or buffer) and adds it to the search string. But downcasing the text in the second case is clearly a wrong approach, because we are losing information that can be necessary during the Isearch session for doing the right thing. Instead, store the text in the search string as supplied, without altering it in any way, and do the search based on it and the current search "conditions", which can vary during the Isearch session. -- Dani Moncayo