unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Can one use `occur' (M-s o) with case-fold-search disabled, somehow?
@ 2022-01-02 12:26 Alan Mackenzie
  2022-01-02 12:57 ` LdBeth
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Mackenzie @ 2022-01-02 12:26 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

It seems that increasingly I want to do M-s o on a buffer for some
regexp such as "\\_<eq\\_>", looking for occurrences of "eq", but my
results are swamped by unwanted occurrences of "EQ".  This is not good.

I've looked at the Emacs manual (but not the Lisp code), and there
doesn't seem to be a way to get case sensitive matches.  Is this in fact
the case?

If so, this is also not good.  Why don't we use the key sequence M-s O
for this?  The command could be called `occur-with-case', or something
like that.

Comments?

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-03  3:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-02 12:26 Can one use `occur' (M-s o) with case-fold-search disabled, somehow? Alan Mackenzie
2022-01-02 12:57 ` LdBeth
2022-01-02 14:24   ` xenodasein--- via Emacs development discussions.
2022-01-02 14:54     ` Eli Zaretskii
2022-01-03  3:12       ` LdBeth

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).