FG

Using C-M-% to do a query-replace-regexp in Emacs running in Mac terminal

Fresh3 days ago
Mar 15, 20269150 views
Confidence Score0%
0%

Problem

I am trying to do a regular expression search-and-replace in Emacs, running in the Terminal program on my MacBook Pro, which is running OS X 10.6.2. As far as I know, this can be done by pressing C-M-% (I am assumimg this means Ctrl+Alt+Shift+5. Please correct me if I am wrong, since I am only star…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using C-M-% to do a query-replace-regexp in Emacs running in Mac terminal

Low Risk

I just found a solution (I'm running emacs in iterm2 on my macbook pro). First, have a look at the current keybindings in emacs by running . Search for C-M-% (using the command, e.g.) and you'll find that several escape sequences actually map to C-M…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment