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

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

Re: left brackets insert both


From: David Hansen
Subject: Re: left brackets insert both
Date: Sat, 26 Mar 2005 13:48:27 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

On 25 Mar 2005 08:45:27 -0800 Shug Boabby wrote:

> excellent! i had found the exact setup once rgb had pointed me to the
> function call, but cheers david!
>
> however, it is sometimes annoying that a single type of a bracket does
> this... any chance i could set it only to work on double taps? 

Well, seems you already found a solution.  What i do when i want
a single paren is C-q (.

> i get nothing when i try something like: (global-set-key [?\<
> ?\<] 'skeleton-pair-insert-maybe)

You can define new skeletons via

(add-to-list 'skeleton-pair-alist '(?< _ ?>))
(global-set-key "<" 'skeleton-pair-insert-maybe)


David


reply via email to

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