On Thu, May 4, 2017 at 10:25 AM, Lionel Henry <lionel....@gmail.com> wrote: > >> On 4 mai 2017, at 16:22, Paul Johnson <pauljoh...@gmail.com> wrote: >> >> I understand I can fix my init.el go avoid this, but it would be nicer >> for my purpose >> if this were in ESS itself, because I keep telling students to use it >> and they are put off/discouraged >> by this. > > Emacs is for people willing to put the effort into customisation. > Your students are probably better off with RStudio. That said > I agree that good defaults are important.
Yes, IMO Emacs/ESS isn't going to compete with Rstudio on out-of-the-box convenience. But we can compete on features! Put this in your config file (add-hook 'ess-mode-hook (lambda() ;; don't indent comments (setq ess-indent-with-fancy-comments nil) ;; turn on outline mode (setq-local outline-regexp "[# ]+") (outline-minor-mode t))) and not only will single # comments not be aligned at comment-column, but code folder will work too! > > Lionel > > ______________________________________________ > ESSemail@example.com mailing list > https://stat.ethz.ch/mailman/listinfo/ess-help ______________________________________________ ESSfirstname.lastname@example.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help