unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Suvayu Ali'" <fatkasuvayu+linux@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Yanking in isearch mode
Date: Thu, 3 Jun 2010 08:40:14 -0700	[thread overview]
Message-ID: <D7C279AEF6D741648599A5AB1F0C8022@us.oracle.com> (raw)
In-Reply-To: <4C077F3F.4010702@gmail.com>

> Hi Drew,
> 
> For some reason I didn't receive your response. Kevin's 
> response clued me in that you had replied and finally read
> your post in the archives.

I used Reply All, but I believe the mail to you bounced for some reason.

> I haven't changed this variable but I checked, by default it 
> is set to true. I went ahead and changed it to nil and now my
> isearches are case insensitive.
> 
> It seems to me having nil as the default would make more sense. e.g.
> 
> Lets say we have some text `Variable', on copying it to the kill
> ring and doing `C-s M-y' will yank a lower cased `variable' and 
> does a case insensitive search. To go back to case sensitive, as
> per your suggestion, we can use `M-c' but the text is already 
> down-cased! So then we have to edit the text again.
> 
> Whereas with nil as the default, doing `C-s M-y' will 
> preserve case of the yanked string. Now we can switch between
> case sensitive/insensitive with a simple `M-c'. Much more sane,
> Don't you agree?

I don't have much of an opinion about this, and my opinion does not count for
much on such things.  It is easy for a user to customize the default value.

FWIW, my personal default setting is nil (case-sensitive).  Case-sensitivity
makes sense for most of the buffers I use.  And in contexts where
case-insensitivity makes sense as the default (e.g Info), most of the time the
major mode sets the default that way (locally).

I do make use of the case-sensitivity toggle in Isearch.  And I have a similar
toggle (`C-A' aka `C-S-a') for completion (in Icicles), which I also use fairly
often.

Using such a toggle is simple.  So is customizing the default value.




  reply	other threads:[~2010-06-03 15:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01  6:44 Yanking in isearch mode Gary .
2010-06-01  7:11 ` Bastian Beischer
2010-06-01  8:34   ` Gary .
2010-06-01  9:47   ` Stefan Kangas
2010-06-02 19:30     ` Gary
2010-06-03  5:29       ` Ken Hori
     [not found]       ` <mailman.2.1275542972.10094.help-gnu-emacs@gnu.org>
2010-06-04 22:21         ` Joseph Brenner
2010-06-05  2:14           ` Evans Winner
2010-06-05 14:04           ` Stefan Monnier
2010-06-01 10:58 ` Bernardo
2010-06-01 14:38   ` Suvayu Ali
2010-06-01 14:59     ` Drew Adams
2010-06-03  8:41       ` Kevin Rodgers
2010-06-03 10:09         ` Suvayu Ali
2010-06-03 15:40           ` Drew Adams [this message]
2010-06-04 18:51         ` Johan Bockgård
     [not found]   ` <mailman.4.1275403112.9367.help-gnu-emacs@gnu.org>
2010-06-01 15:41     ` Andreas Politz

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=D7C279AEF6D741648599A5AB1F0C8022@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).