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 _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs