[OS X TeX] Re: parentheses in pairs in Emacs
Patrick Gundlach
pg at levana.de
Thu Aug 26 18:12:40 EDT 2004
Hi,
Tamas K Papp <tpapp at princeton.edu> writes:
> I am setting up my new Powerbook, and unfortunately don't have my
> previous .emacs file handy.
>
> I had some code that did the following in latex-mode: when I typed (,
> [, {, they came out in pairs, ie (), [], {}. Does anybody have
what about:
(setq skeleton-pair t)
(global-set-key "[" 'skeleton-pair-insert-maybe)
(global-set-key "{" 'skeleton-pair-insert-maybe)
...
or
(add-hook 'TeX-mode-hook
'(lambda ()
(local-set-key .... )
(local-set-key .... )))
Patrick
--
ConTeXt wiki: http://contextgarden.net
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list