From: Bastien <bastienguerry@googlemail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Improve the docstring of case-fold-search
Date: Wed, 22 Jul 2009 10:11:40 +0200 [thread overview]
Message-ID: <87eis9jfwj.fsf@bzg.ath.cx> (raw)
In-Reply-To: <jwvfxcpie61.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 21 Jul 2009 23:38:48 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> As written, the doc is wrong. The magic "pay attention to case if
> there's a capital letter" is not done "within case-fold-search" but
> within isearch (and maybe a few more places) which then bind
> case-fold-search to the appropriate value.
/me trying to figure out what other places...
> The case-fold-search variable is pretty low-level and applies to
> functions like re-search-forward. Maybe it shouldn't be customizable to
> avoid such confusion.
Yes. And add a `case-fold-isearch' option with a docstring reflecting
the behavior described in the Search Case of the manual. Be maybe there
are other functions than isearch that would make use of it.
--
Bastien
next prev parent reply other threads:[~2009-07-22 8:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 2:17 Improve the docstring of case-fold-search Bastien
2009-07-22 3:11 ` Eli Zaretskii
2009-07-22 3:38 ` Stefan Monnier
2009-07-22 8:11 ` Bastien [this message]
2009-07-27 2:42 ` Bastien
2009-07-27 17:27 ` Stefan Monnier
2009-07-27 21:01 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eis9jfwj.fsf@bzg.ath.cx \
--to=bastienguerry@googlemail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.