all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Juri Linkov <juri@linkov.net>
Cc: 16913@debbugs.gnu.org, Reuben Thomas <rrt@sc3d.org>
Subject: bug#16913: Please extend case-fold-search on-the-fly toggling
Date: Mon, 13 Jun 2022 15:34:11 +0200	[thread overview]
Message-ID: <87r13ssn58.fsf@gnus.org> (raw)
In-Reply-To: <878rr51gjn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 13 May 2022 19:35:56 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Juri Linkov <juri@linkov.net> writes:
>
>> Maybe `read-regexp' could modify some global variable?
>
> Like read-regexp-last-case-fold-setting or something?  I guess that's
> possible, but it feels rather hacky...
>
> We could add an extra parameter that would make read-regexp alter
> `case-fold-search', and then callers (that used that parameter) would
> have to bind case-fold-search around the call, but that feels like it
> could be very error-prone.

I forgot the classic Emacs Lisp way of returning several values: Using
text properties.  >"?

So I've now added an `M-c' command to `read-regexp' and made `rgrep'
heed that in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-13 13:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-01 11:48 bug#16913: Please extend case-fold-search on-the-fly toggling Reuben Thomas
2022-05-11 13:11 ` Lars Ingebrigtsen
2022-05-11 14:10   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-11 17:12   ` Juri Linkov
2022-05-11 18:42     ` Lars Ingebrigtsen
2022-05-12 16:46       ` Juri Linkov
2022-05-12 17:42         ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-13 12:36           ` Lars Ingebrigtsen
2022-05-13 17:00             ` Juri Linkov
2022-05-13 17:35               ` Lars Ingebrigtsen
2022-06-13 13:34                 ` Lars Ingebrigtsen [this message]
2022-06-13 15:42                   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-13 17:10                   ` Juri Linkov
2022-06-13 17:23                     ` Lars Ingebrigtsen
2022-06-13 17:55                       ` Drew Adams
2022-06-13 18:11                       ` Juri Linkov
2022-06-14 12:03                         ` Lars Ingebrigtsen
2022-06-13 17:53                     ` Drew Adams

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=87r13ssn58.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16913@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=rrt@sc3d.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 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.