Greetings.

I think protecting CUA mode C-Ret is important, and have been using S-Ret
instead. For a long time, I had a big-ish function in the init file to do
that.

A few months ago, Vitali gave me these lines that work on Linux with ESS
13.05

;; Change shortcut to use Shift-Return
;; Suggested by Vitalie Spinu ESS-help email 2013-05-15
(define-key ess-mode-map [(control return)] nil)
(define-key ess-mode-map [(shift return)] 'ess-eval-region-or-line-and-step)

It works in Linux. I gave my init file to some students.

A Windows user just wrote me and said it doesn't work there with Prof
Goulet's Emacs and ESS 13.05. The shortcut is not established, the

Warning(initialization): An error occurred while loading
'd:/Users/crmda/.emacs.d/init.el'

Symbol's value as variable is void: ess-mode-map

To ensure normal operation, you should investigate and remove the cause of
the error...

Ideas? If there is a workaround for ESS 13.05, I'd really appreciate it
because re-installing Emacs on all those student computers will cause a
collective heart attack at this early point in the semester.

pj
-- 
Paul E. Johnson
Professor, Political Science      Assoc. Director
1541 Lilac Lane, Room 504      Center for Research Methods
University of Kansas                 University of Kansas
http://pj.freefaculty.org               http://quant.ku.edu

	[[alternative HTML version deleted]]

