Thanks, everybody.  I confirm this works.

I am especially delighted to see my former undergraduate student Pavel
crop up to help the old guy get the job done!

PJ

On Thu, Oct 25, 2018 at 3:00 AM Vitalie Spinu <spinu...@gmail.com> wrote:
>
>
> Hi Paul,
>
> Ess-mode.el changed to ess.el but we are still discussing the change. For now
> just replace "ess-mode" with "ess" and it should be fine. The change to
> *-visibility-* is needed.
>
> In the future release both ess-mode and ess will work.
>
>
>   Vitalie
>
> >> On Wed, Oct 24 2018 14:58, Paul Johnson via ESS-help wrote:
>
> > I'm running Ubuntu-18.10 and the new packaging for elpa-ess provides
> > ESS 18.10.  I still like CUA mode rectangles and so I want to remap
> > C-RET to S-RET.
>
> > 5 years ago Vitalie S told me how to do that. The stanza in init.el was:
>
> > ;; Change shortcut "run this line" to use Shift-Return
> > ;; Suggested by Vitalie Spinu 2013-09-30 to co-exist with Windows Emacs
> > (eval-after-load "ess-mode"
> >  '(progn
> >    (define-key ess-mode-map [(control return)] nil)
> >    (define-key ess-mode-map [(shift return)] 
> > 'ess-eval-region-or-line-and-step))
> > )
>
> > In Ess 18.10-1 this no longer works, I thought I'd fix by revising:
>
> > (eval-after-load "ess-mode"
> >  '(progn
> >    (define-key ess-mode-map [(control return)] nil)
> >    (define-key ess-mode-map [(shift return)]
> > 'ess-eval-region-or-line-visibly-and-step))
> > )
>
> > But it does not help.
>
> > Can you advise me?



-- 
Paul E. Johnson   http://pj.freefaculty.org
Director, Center for Research Methods and Data Analysis http://crmda.ku.edu

To write to me directly, please address me at pauljohn at ku.edu.

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Reply via email to