comment indenting on enter

David Brahm brahm at
Fri Mar 15 16:30:23 CET 2002

As Martin Maechler said, in ESS, "#" comments are placed halfway across the
page, "##" comments are indented as if they were code, and "###" comments are

On my permanent wishlist is an option or minor mode where "#" comments would be
right-justified, scooting leftward from the right margin (defined as 79 chars)
as you type the comment, e.g.:
  x <- y + z                                            # These are my comments
  w <- rnorm(10)                               # They're always right-justified

Too difficult for me, but any clever emacs-lisp guru who could figure this out
would have my eternal gratitude!
                              -- David Brahm (brahm at
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list