[ESS] Skeleton pair insert not working after upgrade.

Vinh Nguyen vqnguyen at uci.edu
Fri Aug 28 21:06:00 CEST 2009

This e-mail/fax message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail/fax and destroy all copies
of the original message.

On Fri, Aug 28, 2009 at 7:00 AM, Marc Schwartz<marc_schwartz at me.com> wrote:
> 1. Why does Vinh not have this same problem on OSX with emacs 23? What is
> different on his system?

I apologize, i just ran emacs with the -q option and ran the require
ess-site and the skeleton stuff to investigate, and I DID REPLICATE
the mentioned issue.  of the following list,
(defvar skeletons-alist
  '((?\( . ?\))
    (?\' . ?\')
    (?\" . ?\")
    (?[  . ?])
    (?{  . ?})
    (?<  . ?>)
    (?$  . ?$)))

"(" and "{" does not work for me.

the reason my parentheses worked before was i had the following in my
.emacs as well:
(defun my-ess-comma-hook ()
 (local-set-key "," (lambda () (interactive) (insert ", "))))
(add-hook 'ess-mode-hook 'my-ess-comma-hook)
(add-hook 'inferior-ess-mode-hook 'my-ess-comma-hook)

(defun my-ess-parens-hook ()
   (local-set-key "(" (lambda () (interactive)
                    (insert "(  )")
                    (forward-char -2))))

(add-hook 'ess-mode-hook 'my-ess-parens-hook)
(add-hook 'inferior-ess-mode-hook 'my-ess-parens-hook)

i apologize for the confusion.


More information about the ESS-help mailing list