[ESS] skeleton-pair and {}

Gregor Gorjanc gregor.gorjanc at bfro.uni-lj.si
Thu May 17 13:00:24 CEST 2007


Hi!

I use skeleton-pair (see bellow for lines in my .emacs) and it works OK,
except for {} pair in mode for editing R files i.e. in ESS[S] mode. Does
anyone have the same issue?

;; enable skeleton-pair insert globally
(setq skeleton-pair t)
; (setq skeleton-pair-on-word t) ; apply skeleton trick even in front of
a word.
(global-set-key "("  'skeleton-pair-insert-maybe)
(global-set-key "["  'skeleton-pair-insert-maybe)
(global-set-key "{"  'skeleton-pair-insert-maybe)
(global-set-key "\"" 'skeleton-pair-insert-maybe)
(global-set-key "'"  'skeleton-pair-insert-maybe)

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty        www: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     blog: http://ggorjan.blogspot.com
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe            tel: +386 (0)1 72 17 861




More information about the ESS-help mailing list