help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] skeleton-pair-insert-maybe on emacs 22 for win32


From: Jason Rumney
Subject: Re: [h-e-w] skeleton-pair-insert-maybe on emacs 22 for win32
Date: Mon, 26 Mar 2007 21:13:25 +0100
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)


Dustin Lee wrote:
I have the following section in my .emacs
...
(global-set-key (kbd "M-(") 'skeleton-pair-insert-maybe)
(setq skeleton-pair 1)

This works fine for emacs 21. I'm trying out emacs 22 and when I press M-( instead of the expected "()" I get "\250\250".
Any ideas?

As far as I can see, skelton-pair-insert-maybe expects to be bound to the first character in the pair.

The code above works if you use "ESC (", since skeleton-pair-insert sees the ( as the last key pressed, but if you use Alt-(, then you need to hold Alt down while you press the (, so the last keypress is different.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]