[ESS] Skeleton pair insert not working after upgrade.

Sparapani, Rodney rsparapa at mcw.edu
Thu Sep 10 19:09:05 CEST 2009


It could be that you just needed to M-x byte-compile-file, but glad to hear
( is now working.
________________________________________
From: Marc Schwartz [marc_schwartz at me.com]
Sent: Wednesday, September 09, 2009 10:47 PM
To: S. McKay Curtis
Cc: Sparapani, Rodney; ess-help at stat.math.ethz.ch
Subject: Re: [ESS] Skeleton pair insert not working after upgrade.

Hi all,

Apologies for the delay in my reply here, as I too was on vacation
last week and am getting back up to date on e-mails and tasks.

As with McKay, simply changing the lines in ess-mode.el did not help.

However, I decided to checkout the svn version of ESS tonight, under
the presumption that other code has sufficiently changed as to require
needing the fully updated code base, rather than just changing two
lines.

Upon doing that and making the appropriate adjustments to my ESS path
in .emacs, I can say that the current svn code base of ESS does
properly work (with respect to skeleton-pair parens) in ESS mode. Note
that I make no adjustment to the default value of ess-r-args-electric-
paren, which in my case is nil as per Rodney's earlier reply.

However, as Rodney also noted, brace "{}" skeleton-pair does not work
in ESS mode and that would be desirable.

HTH,

Marc

On Sep 7, 2009, at 4:03 PM, S. McKay Curtis wrote:

> I changed the lines in my ess-mode.el file, but this did not fix the
> problem.  Has anyone else had success?
>
> On Mon, Aug 31, 2009 at 6:35 AM, Rodney Sparapani <rsparapa at mcw.edu>
> wrote:
>
>> S. McKay Curtis wrote:
>>
>>> Marc,
>>>
>>> Misery loves company, so I'm glad you were able to replicate my
>>> troubles!
>>>
>>> I am having the problem on Windows XP.
>>>
>>> I'm not an Emacs guru, but the file ess-mode.el contains this
>>> statement
>>>
>>> (define-key ess-mode-map "("  ;; allow to toggle after
>>> customization:
>>>   (if ess-r-args-electric-paren 'ess-r-args-auto-show
>>> 'self-insert-command))
>>>
>>> which looks like it redefines the parenthesis.  Do the lines of code
>>> above negate what I have in my .emacs file?
>>>
>>> Puzzled,
>>> McKay
>>>
>>
>> Sorry, I was on vacation.  But, you will see that this has been fixed
>> in SVN:
>> ;;this is bass-ackwards
>> ;;  (define-key ess-mode-map "("  ;; allow to toggle after
>> customization:
>> ;;    (if ess-r-args-electric-paren 'ess-r-args-auto-show
>> 'self-insert-command))
>> (if ess-r-args-electric-paren (define-key ess-mode-map "("
>> 'ess-r-args-auto-show))



More information about the ESS-help mailing list