From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10118: C-w folds case too eagerly Date: Thu, 01 Dec 2011 14:45:17 -0500 Message-ID: References: <87zkfmshdk.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1322768765 26955 80.91.229.12 (1 Dec 2011 19:46:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2011 19:46:05 +0000 (UTC) Cc: 10118@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 20:45:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWCZx-0007h6-UF for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2011 20:45:58 +0100 Original-Received: from localhost ([::1]:60953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWCZx-0004NP-HW for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2011 14:45:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWCZu-0004NG-Lt for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 14:45:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWCZs-00055t-9O for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 14:45:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWCZs-00055m-7u for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 14:45:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RWCa2-0002S5-4p for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 14:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2011 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10118-submit@debbugs.gnu.org id=B10118.13227687369391 (code B ref 10118); Thu, 01 Dec 2011 19:46:02 +0000 Original-Received: (at 10118) by debbugs.gnu.org; 1 Dec 2011 19:45:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWCZc-0002RP-L4 for submit@debbugs.gnu.org; Thu, 01 Dec 2011 14:45:36 -0500 Original-Received: from relais.videotron.ca ([24.201.245.36]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWCZa-0002RJ-Vy for 10118@debbugs.gnu.org; Thu, 01 Dec 2011 14:45:35 -0500 Original-Received: from ceviche.home ([173.176.12.77]) by VL-VM-MR004.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0LVJ00M89IPK5630@VL-VM-MR004.ip.videotron.ca> for 10118@debbugs.gnu.org; Thu, 01 Dec 2011 14:41:47 -0500 (EST) Original-Received: by ceviche.home (Postfix, from userid 20848) id 7F55F660D4; Thu, 01 Dec 2011 14:45:17 -0500 (EST) In-reply-to: <87zkfmshdk.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 01 Dec 2011 14:46:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:54571 Archived-At: >> % emacs -Q >> TOTORO TOTO M-b >> C-r C-w RO >> >> this fails to find "TOTORO" because we end up looking for "totoRO" >> (without ignoring case) rather than "TOTORO". > Sorry, I don't know how to solve this puzzle. The value `not-yanks' > of `search-upper-case' explicitly tells Isearch to downcase the word > pulled from the buffer. I know, but I think it's wrong. I think that rather than downcase it, it should only cause the case to stay ignored. The behavior I'd expect is something like: - C-r C-w leads to "I-search: toto", which hides the uppercase nature of the yanked string, but doesn't actually throw it away. - then typing "RO" leads to "I-search: TOTORO", where TOTO's uppercase nature is made explicit. Stefan