> These commands make a Local Variables section with prefix/suffix strings
> extracted from `comment-start' and `comment-end'.  But the result is not
> always nice.  For example, in Emacs-Lisp mode the value of `comment-start'
> is ";", but a nicer prefix would be ";;" or ";;;".

Definitely ";;" and not ";;;" (the ";;;" is for section header).
You can get that using the variable comment-add.

> Perhaps some modes should override this value with a new variable like
> `local-variables-prefix'.

Before getting to that point, I recommend trying out `comment-region'
(wrapped with an appropriate let binding of comment-style, of course).


        Stefan


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to