[ESS] Only interested in fontification

Kasper Daniel Hansen khansen at stat.berkeley.edu
Sat Jun 6 05:57:13 CEST 2009

This will not answer you question, but you could install a local  
version of ESS, and then byte compile it. It is pretty easy
1) Download ess-5.3.11.tgz from the ESS website
2) Unpack the tarball somewhere, a "standard" place would be
so that you will have a directory called
3) Add the following to your .emacs file

(load "~/.emacs.d/ess-5.3.11/lisp/ess-site")

(note, no .el ending).

4) Start Emacs and test that it works: open a file called test.R and  
see that you are in R mode. Also do
C-h v ess-version
to check that the version is indeed 5.3.11
5) Finally, byte-compile ESS by entering the directory
and execute the command I gave in an earlier email.


On Jun 5, 2009, at 11:51 , Daniel Muenz wrote:

> Hi guys, thanks for your suggestions.  I should have given more  
> details:
> -  I'm running GNU Emacs 21.3.1 on Unix (SunOS, version 5.8 or 5.10,
> depending on what server I log on to).  I don't have Unix or Emacs  
> or ESS
> installed on my computer; instead I use xterm to log on to a server  
> that
> does have them.
> - The ESS version is 5.1.24.  Byte-compiling the ESS files would  
> only work
> if I wanted to copy all of them over to my own Unix directory.  I  
> don't
> have write-permission to the public directory in which the files  
> currently
> reside.
> -  Increasing the start-up speed of Emacs is not really my goal  
> (although I
> mentioned it as a nice potential consequence).  At my institute, we're
> encouraged to exclusively batch submit our programs (we use SAS and S 
> +)
> from the Unix command line, and essentially to avoid the (admittedly  
> cool)
> use of ESS to submit the programs from within Emacs.
> Really all we use ESS for is the fontifying of SAS and S+ code, and  
> I'd
> like, if possible, to remove the excess weight.
> Thanks again,
> Daniel
>  From:       Kasper Daniel Hansen <khansen at stat.berkeley.edu>
>  To:         Marc Schwartz <marc_schwartz at me.com>
>  Cc:         Daniel Muenz <dmuenz at sdac.harvard.edu>, ess-help at stat.math.ethz.ch
>  Date:       06/05/2009 01:48 PM
>  Subject:    Re: [ESS] Only interested in fontification
> Byte-compile all your files, including for example the ess files. I
> don't know how you have installed stuff, but you can do something like
> this (from the command line), to do it for all elisp files in a
> directory:
> # emacs -batch -f batch-byte-compile *.el
> There is also code on the web for doing this automatically, as in
> (pseudo-code)
>   if if *.el is newer than *.elc do
>     byte-compile *.el
> If you are using Emacs 23 you could also look into running a daemon,
> but I have no experience doing that.
> Kasper
> On Jun 5, 2009, at 10:30 , Marc Schwartz wrote:
>> On Jun 5, 2009, at 11:57 AM, Daniel Muenz wrote:
>>> Hi, I'm wondering if there's a way to only use the syntax
>>> highlighting
>>> aspects of ESS, and not load in any other features?  I want Emacs to
>>> highlight/fontify/colorize keywords and the like, but I don't want
>>> to be
>>> able to submit the code through Emacs.
>>> I'm hoping that by not loading all the extra features, I can get
>>> Emacs to
>>> load a bit quicker.
>>> Thanks for any help,
>>> Daniel
>> You must have other stuff getting loaded in your .emacs file
>> resulting in the delay.
>> On OSX using Emacs 23, from the time that I click the icon on the
>> dock until the scratch buffer is open and ready for editing, it
>> takes about 3 seconds and I have a fair amount of stuff besides ESS
>> being loaded. It's about the same amount of time if I click on a .R
>> file in Finder to open it for editing.
>> I would look to see what else is getting loaded at startup. You
>> could also put your .emacs files someplace where folks can perhaps
>> look at it to provide some additional insight. Also, let us know
>> what OS and what version of Emacs.
>> HTH,
>> Marc Schwartz
>> ______________________________________________
>> ESS-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help

More information about the ESS-help mailing list