On Fri, Jan 29, 2010 at 3:37 AM, Tyler Smith <tyler.smith@eku.edu> wrote:

> Rainer M Krug <r.m.krug@gmail.com> writes:
>
> > I am using emacs 23 and ESS under Ubuntu Karmic, both installed from the
> > default repositories.
> >
> > But I don't seem to have any syntax highlighting (see attached
> screenshot).
> > As far as I remember, I had it earlier. I tried to reinstall emacs23 and
> ESS
> > and removed my ~/.emacs file, but sno effec, as you can see in the
> > screenshot.
> >
>
>
> Are you sure your .emacs file is gone? The screen shot shows white text
> on a black background, which is not the default color scheme. Unless you
> opened emacs with emacs -Q, manually changed the color scheme, and then
> opened R, there is a config file being loaded somewhere.
>

I know - that is what irritated me as well.

I figured out what the problem was - it is the package emacs-extra. AS soom
as I install this package, the syntax highlighting is gone.

My procedure to sort it out:

1) I moved all emacs related files in the $HOME folder into a backup folder
2) I purged all emacs related files (ESS is istalled in my $HOME folder)
3) Installed only emacs23
4  Tried an .R file - obviously no syntax highlighting
5) Copied my emacs related config and add-on files back into my $HOME folder
and opened .R file: syntax highlighting is back  JUHU!!!
6) Installed emacs-goodies-el - syntax highlighting is still working
7) Installed emacs-extra - and the syntax highlighting is gone!
8) Purged emacs-extra - and the syntax highlighting is back.

So my diagnose: emacs-extra is doing something, what kills the syntax
highlight. As I am not sure what emacs-extra actually does (and I could not
find any info on this), I will not install it.

If somebody could verify this, it might be useful to put it into the ESS
FAQs

Thanks a lot,

Rainer


> Tyler
>
> ______________________________________________
> ESS-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com

	[[alternative HTML version deleted]]

