Emacs LISP & macros
Jerry Feldman
gaf at blu.org
Mon Oct 13 13:02:16 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 13 Oct 2003 21:19:37 +0900
Derek Martin <invalid at pizzashack.org> wrote:
> On Mon, Oct 13, 2003 at 08:09:05AM -0400, Jerry Feldman wrote:
> > I think that Bill had his sequence wrong.
>
> This may well be true; however regardless of what the actual key
> binding is, I have also had this problem with Xemacs on Red Hat
> systems. I don't remember what key sequence it was bound to by
> default, and I don't have time right now to investigate, so I'll
> assume you are correct. I also haven't used (x)emacs in months,
> having found that vim does everything that I wanted Xemacs to do for
> me with a lot less fuss and much quicker load times. But I do
> remember that Xemacs will tell you what key sequence a function is
> bound to, and that no combination of the named keys would activate
> that function... I was only ever able to activate the function using
> the M-x trick.
On further investigation:
M-C-% is bound to Query-replace-regexp,
BUT... on 2 Red Hat systems I have tried, you cannot type M-C-% (ESC,
control-shift-%). This does not seem to be a hardware system since I was
using the same keyboard. It may be a function of the terminal driver on
Red Hat. (My system is SuSE 8.2).
I was able to log onto a Red Hat system and bind 'query-replace-regex'
to the M-% but not M-C-%. I did this both interactively and in the
.emacs file. This may be a restriction of ssh. I started an ssh to my
laptop, and tested M-C-%, and only got M-%, but when I ran emacs from my
laptop directly M-C-% worked as advertised.
- --
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/itqY+wA+1cUGHqkRAqk3AJ9CCdx4Zb5Xq30wPtrkmHq69+Do8wCeK4gl
NNmKa4pIBa6V8X+vZHVnKvc=
=ytWt
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list