unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: 10118@debbugs.gnu.org
Subject: bug#10118: C-w folds case too eagerly
Date: Thu, 01 Dec 2011 14:45:17 -0500	[thread overview]
Message-ID: <jwv7h2gaxkw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87zkfmshdk.fsf@mail.jurta.org>

>> % 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





      reply	other threads:[~2011-12-01 19:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 14:29 bug#10118: C-w folds case too eagerly Stefan Monnier
2011-11-23 20:39 ` Juri Linkov
2011-12-01 19:45   ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7h2gaxkw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10118@debbugs.gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).