emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why aren't paragraph-s\(tart\|eparate\) buffer local by default?


From: Alan Mackenzie
Subject: Why aren't paragraph-s\(tart\|eparate\) buffer local by default?
Date: Sat, 18 Jun 2005 21:17:31 +0000 (GMT)

Hi, Emacs!

Why aren't paragraph-s\(tart\|eparate\) buffer local?  There doesn't seem
to be any call for having global values for them since so many major
modes (amongst them C Mode, Lisp mode, Texinfo mode) give these variables
mode specific values.

The reason I ask is that a CC Mode user erroneously called (c-set-style)
in a buffer that wasn't a CC Mode buffer.  This set these two paragraph
variables to style values.

Unfortunately, the CC Mode initialisation hadn't been done for the
buffer.  In particular, the the two paragraph variables hadn't been made
buffer local.  So the global values got overwritten.

May I suggest that paragraph-s\(tart\|eparate\) be made buffer local by
default?

-- 
Alan Mackenzie (Munich, Germany)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]