[ESS] Skeleton pair insert not working after upgrade.

Marc Schwartz marc_schwartz at me.com
Thu Sep 10 21:00:22 CEST 2009


Just an FYI, that none of my ESS installation has been byte compiled,  
so there would not be a presumptive conflict between the .el and .elc  
versions of a given emacs lisp file. So modifying the .el file should  
have been sufficient and the lack of a behavior change after doing so,  
gave rise to my thinking that using the fully modified code base might  
be required given dependencies elsewhere.

The historical reason for this, in my case, is that when I was on  
Fedora Linux, I went between Emacs version 22 and 23 until 23 became  
stable enough to use all the time. Since byte compiling was not binary  
compatible between the two versions, I simply did not byte compile. I  
have, for better or worse, continued that habit, even now on OSX as I  
have not found a material performance impact, at least in my typical  



On Sep 10, 2009, at 12:09 PM, Sparapani, Rodney wrote:

> 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