[ESS] A problem on nuke-trailing-whitespace (migration from Ubuntu 10.04 to Wheezy)
ottorino
ottorino-luca.pantani at unifi.it
Mon Feb 11 20:23:07 CET 2013
Hi all,
the problem I'm facing today is most probably due to my recent migration
to a new OS.
I installed wheezy from netinst: I wanted to see which were the packages
necessary for me.
The installation went through many (recorded !)
apt-get install packagename
I'm not sure I installed all I need for the system to work properly as I
was used to.
I suppose the problem is in my .emacs, which I copied from the old
computer, commenting some offending lines.
I can work with R and ESS, but on quitting emacs I receive the following
message
Cannot open load file: nuke-trailing-whitespace
Then I cannot save my modified scripts.
And to quit emacs I'm forced to use an xkill command from the terminal.
The relevant lines (I hope ..) in my .emacs are:
(defun my-ess-options ()
(ess-set-style 'C++)
(column-number-mode t)
(add-hook 'local-write-file-hooks
(lambda ()
(nuke-trailing-whitespace)))
(define-key ess-mode-map [(meta backspace)] 'backward-kill-word)
(define-key ess-mode-map [(control ?c) (?;)] 'comment-region)
(define-key ess-mode-map [(control ?c) (?:)] 'uncomment-region)
;; line added by 8rino on 16 Mar 2011
;; (define-key ess-mode-map (kbd "<C-tab>") 'ess-complete-object-name)
)
Any suggestion ??
Old system
Ubuntu 10.04 -- GNOME 2.30.2
GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version
2.18.0)
ESS version 5.13 -- R 2.12.2
New system
Debian 7.0 wheezy -- GNOME 3.4.2
GNU Emacs 23.4.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)
ESS version 12.04-4 -- R 2.15.1
Ottorino
More information about the ESS-help
mailing list