[ESS] ESS[SAS]: Submit region starting new SAS session?

Erin Jonaitis jon@|t|@ @end|ng |rom |@tr|-w|@org
Fri Feb 13 16:45:46 CET 2015


Hi Rodney,

> Sounds like a lot of work for very little benefit.  Why don't just
> define the key presses yourself?  Something like...
> (require 'ess-site)
> (require 'ess-inf)
> (global-set-key (kbd "C-c C-p") 'ess-eval-paragraph-and-step)
> (global-set-key [(control return)] 'ess-eval-region-or-line-and-step)

Hey, this worked! What a Friday morning treat!
(Well -- the paragraph one worked, at least. The other is telling me "Symbol's function definition is void." Was eval-region-or-line-and-step not defined in 2010 or prior?)

Playing around with this it seems like a "paragraph," in this context, is a set of text not containing an empty line. Is that right? That's been my impression when editing LaTeX docs in emacs, but I wasn't sure whether that was a property of the editor or the language.

Hooray!
Erin




More information about the ESS-help mailing list