Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs LISP & macros



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 13 Oct 2003 14:15:27 +0900
Derek Martin <invalid at pizzashack.org> wrote:

> IIRC, "Query replace:" is the prompt for emacs's query-replace
> function, NOT query-replace-regexp, which is NOT the same.  The former
> will query/replace an exact string, while the latter will
> query/replace a regular expression.  I also disagree that C-M means
> meta, as only M (as in M-x) should refer to meta.  I suspect that the
> C-M key binding is one that just doesn't make sense on PC keyboards,
> but I don't know that for a fact.  
> 
> If you don't have query-replace-regex mapped to another key sequence
> that will work for you, you can execute it with emacs's
> "execute-extened-command" function, usually bound to M-x by default:
> 
>   M-x query-replace-regexp
>  
> This will indeed respond with the prompt "Query replace regexp:"
I think that Bill had his sequence wrong. He said C-M-% was the key
binding for query-replace-regexp. However M-C-% is the correct default
keybinding for query-replace-regexp. Which means:
tap the meta (ESC) key, brings up "ESC -" in the minibuffer.
Then type "Ctrl-Shift-%". "Query replace regexp:" will now be displayed
in the minibuffer. (This is assuming out of the box GNU Emacs
keybindings). 
- -- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/ipXh+wA+1cUGHqkRAhN1AJ9LE1o5gbInFYZpF36oTjNX4BaM6ACdGe4+
duK2L9axi/FTzNR3zKGXv1g=
=ahm2
-----END PGP SIGNATURE-----




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org