[ESS] Different "settings" for emacs dependent on in which directory I start?

Rainer M Krug r.m.krug at gmail.com
Mon Jun 9 19:46:11 CEST 2008

On Mon, Jun 9, 2008 at 3:13 PM, Sebastian P. Luque <spluque at gmail.com> wrote:
> On Mon, 9 Jun 2008 09:46:26 +0200,
> "Rainer M Krug" <r.m.krug at gmail.com> wrote:
>> Hi I know this is not strictly ESS, but I am using ESS and ECB in
>> emacs to program usiong R.
>> I was using SuSE 10.2, and emacs remembered the settings and files
>> open on a per directory basis, i.e. depending on the directory from
>> which I started emacs, it re-opend the files were open when I quit
>> emacs the last time in this directory and started ecb when it was on
>> before.
>> Now I switched to Xubuntu 8.04, and I don't get this to work.
>> Any ideas on how I can make it work again?
> Maybe your previous Emacs installation was relying on the desktop
> library, which does what you're looking for.  See section "Saving Emacs
> Sessions" of the Emacs manual.  That might also set up your ecb.

Thanks a lot.
Adding the option

(desktop-save-mode 1)

to the .emacs file, worked.


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

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

Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
South Africa

More information about the ESS-help mailing list