[ESS] Skeleton pair insert not working after upgrade.

Vitalie S. vitosmail at rambler.ru
Sat Aug 29 11:31:14 CEST 2009


>
> Rather than using skeleton mode, I located the AutoPairs page at the  
> Emacs Wiki:
>
>    http://www.emacswiki.org/emacs/AutoPairs
>
> and decide to give the textmate.el approach a try since it claims some  
> additional functionality.  textmate.el is available from:
>
>    http://code.google.com/p/emacs-textmate/
>
> Once can download and un-tar the gz file there to someplace convenient  
> on your system.
>
> Once you have done that, add the following to your .emacs file, which  
> will load textmate-mode at Emacs startup, rather than having to use 'M-x  
> textmate-mode' every time:
>
> ;; Modify the path to textmate.el as appropriate!!!
> (load "/Users/marcschwartz/Downloads/Emacs/textmate/textmate")
>
> (mapc (lambda (mode)
> 	(let ((hook (intern (concat (symbol-name mode)
> 				    "-mode-hook"))))
> 	  (add-hook hook (lambda () (textmate-mode +1)))))
>        '(c cperl emacs-lisp inferior-lisp ess inferior-ess lisp noweb  
> perl Rd text tex))
>
>
Did not work for me in the beggining. The code uses internally  
python-backspace
so I placed (require 'python) in my .emacs and apparently it started  
working.

But what is exactly the functionality it brings above skeletion??
I can not see anything fancy when deleting parenthesis.

Vitalie.
> The final line above determines which Emacs modes this will work in  
> automatically, so for other modes not indicated, add them as you  
> require. I located the above code in the textmate issues area:  
> http://code.google.com/p/emacs-textmate/issues/detail?id=5
>
> Be sure to remove or comment the original skeleton mode related code in  
> your .emacs.
>
> Once you have that in place, this all should work, but again, I have not  
> fully tested it for either functionality or conflicts with other ESS  
> functions.
>
> HTH,
>
> Marc Schwartz
>


--



More information about the ESS-help mailing list