unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-%
@ 2024-12-05 12:27 Jean Louis
  2024-12-05 12:41 ` Joost Kremers
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jean Louis @ 2024-12-05 12:27 UTC (permalink / raw)
  To: Help GNU Emacs

I am using US keyboard, and I could never invoke C-M-%, it simply
remains without function.

On which keyboard is that supposed to work?

Who actually uses keyboard to invoke replace-regexp?

Jean



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

* Re: Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-%
  2024-12-05 12:27 Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-% Jean Louis
@ 2024-12-05 12:41 ` Joost Kremers
  2024-12-05 13:04   ` Jean Louis
  2024-12-05 12:42 ` Robert Pluim
  2024-12-05 14:52 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2 siblings, 1 reply; 5+ messages in thread
From: Joost Kremers @ 2024-12-05 12:41 UTC (permalink / raw)
  To: Jean Louis; +Cc: Help GNU Emacs

On Thu, Dec 05 2024, Jean Louis wrote:
> I am using US keyboard, and I could never invoke C-M-%, it simply
> remains without function.

For me, it works just fine. Are you sure you're hitting shift together with
control and alt? On a US keyboard, you need shift to get to `%`. (`C-M-5`
gives you the digit argument, which may seem like nothing, depending on
what you type next.)

> Who actually uses keyboard to invoke replace-regexp?

I do, whenever I need it. :-) It's not a very convenient binding, given
that you need to press three modifiers at once, but I don't need it that
often, so it's fine.

-- 
Joost Kremers
Life has its moments



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

* Re: Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-%
  2024-12-05 12:27 Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-% Jean Louis
  2024-12-05 12:41 ` Joost Kremers
@ 2024-12-05 12:42 ` Robert Pluim
  2024-12-05 14:52 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2 siblings, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2024-12-05 12:42 UTC (permalink / raw)
  To: Jean Louis; +Cc: Help GNU Emacs

>>>>> On Thu, 05 Dec 2024 15:27:17 +0300, Jean Louis <bugs@gnu.support> said:

    Jean> I am using US keyboard, and I could never invoke C-M-%, it simply
    Jean> remains without function.

    Jean> On which keyboard is that supposed to work?

It works for me in a GUI frame, but not in a tty frame.

    Jean> Who actually uses keyboard to invoke replace-regexp?

I do, but not with that binding 😀

Robert
-- 



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

* Re: Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-%
  2024-12-05 12:41 ` Joost Kremers
@ 2024-12-05 13:04   ` Jean Louis
  0 siblings, 0 replies; 5+ messages in thread
From: Jean Louis @ 2024-12-05 13:04 UTC (permalink / raw)
  To: Joost Kremers; +Cc: Help GNU Emacs

* Joost Kremers <joostkremers@fastmail.fm> [2024-12-05 15:42]:
> On Thu, Dec 05 2024, Jean Louis wrote:
> > I am using US keyboard, and I could never invoke C-M-%, it simply
> > remains without function.
> 
> For me, it works just fine. Are you sure you're hitting shift together with
> control and alt? On a US keyboard, you need shift to get to `%`. (`C-M-5`
> gives you the digit argument, which may seem like nothing, depending on
> what you type next.)

I am very sure in it.

But I now see what is the problem, there is some contradiction with IceWM Window Manager. Of course that is why it never worked.

So the issue is closed.

> I do, whenever I need it. :-) It's not a very convenient binding, given
> that you need to press three modifiers at once, but I don't need it that
> often, so it's fine.

I need it too often.

-- 
Jean Louis



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

* Re: Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-%
  2024-12-05 12:27 Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-% Jean Louis
  2024-12-05 12:41 ` Joost Kremers
  2024-12-05 12:42 ` Robert Pluim
@ 2024-12-05 14:52 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2024-12-05 14:52 UTC (permalink / raw)
  To: help-gnu-emacs

> I am using US keyboard, and I could never invoke C-M-%, it simply
> remains without function.

I see you've found the origin of your problem, but just for
completeness's sake:

- You can use `ESC C-%`.
- I never use `C-M-%` and instead use `C-u C-s .... M-%`
  (or `C-s ... M-r ... M-%`)

> On which keyboard is that supposed to work?

Virtually all of Emacs's "core" keybindings were introduced for/by
people using US keyboards.

> Who actually uses keyboard to invoke replace-regexp?

What would you use instead?


        Stefan




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

end of thread, other threads:[~2024-12-05 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05 12:27 Menu Edit -> Replace -> Replace Regexp can't be invoked by C-M-% Jean Louis
2024-12-05 12:41 ` Joost Kremers
2024-12-05 13:04   ` Jean Louis
2024-12-05 12:42 ` Robert Pluim
2024-12-05 14:52 ` Stefan Monnier via Users list for the GNU Emacs text editor

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