[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: show-buffer-local-variables
From: |
Stefan Monnier |
Subject: |
Re: show-buffer-local-variables |
Date: |
Mon, 03 Oct 2005 10:42:31 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> 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