unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Automatic matching parenthesis
@ 2009-03-15 23:31 christopher.morris.cm
  2009-03-16 10:24 ` Andy Stewart
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: christopher.morris.cm @ 2009-03-15 23:31 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

added these lines to my .emacs-file, so that parenthesis are
automatically matched:
(setq skeleton-pair t)
(global-set-key (kbd "(") 'skeleton-pair-insert-maybe)
(global-set-key (kbd "{") 'skeleton-pair-insert-maybe)

But it does not work in cc-mode. Any idea?

Regards,

Chris


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-18  4:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 23:31 Automatic matching parenthesis christopher.morris.cm
2009-03-16 10:24 ` Andy Stewart
     [not found] ` <mailman.3311.1237199154.31690.help-gnu-emacs@gnu.org>
2009-03-16 11:02   ` christopher.morris.cm
2009-03-16 11:24     ` Alan Mackenzie
2009-03-18  4:05     ` Kevin Rodgers
2009-03-16 11:36 ` Alan Mackenzie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).