* Is comment-column more buffer local than comment-start?
@ 2008-12-26 18:06 Lennart Borgman
2008-12-30 20:05 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman @ 2008-12-26 18:06 UTC (permalink / raw)
To: Emacs Devel
Looking in newcomments.el I see
(make-variable-buffer-local 'comment-column)
but nothing like that for comment-start etc. I beats my why it is this
way. (Or is it perhaps because major mode authors should know what to
do with comment-start?)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is comment-column more buffer local than comment-start?
2008-12-26 18:06 Is comment-column more buffer local than comment-start? Lennart Borgman
@ 2008-12-30 20:05 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-12-30 20:05 UTC (permalink / raw)
To: Lennart Borgman; +Cc: Emacs Devel
> Looking in newcomments.el I see
> (make-variable-buffer-local 'comment-column)
> but nothing like that for comment-start etc. I beats my why it is this
> way. (Or is it perhaps because major mode authors should know what to
> do with comment-start?)
IIRC it's for hysterical raisins.
If you ask me, it should be the other way around: comment-column should
not be "make-variable-buffer-local" whereas comment-start should.
But it doesn't matter that much. Just always use either `setq-default'
or (set (make-loval-variable 'foo) bar) on those vars to be clear.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-30 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 18:06 Is comment-column more buffer local than comment-start? Lennart Borgman
2008-12-30 20:05 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.