emacs-devel
[Top][All Lists]
Advanced

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

Re: cc-mode adds newlines


From: Kai Grossjohann
Subject: Re: cc-mode adds newlines
Date: Sun, 21 Nov 2004 16:50:06 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> On Sun, 21 Nov 2004, Andries Brouwer wrote:
>
>> require-final-newline is a beautiful variable. Set it to ask by default
>> and some people will make it always true, some will make it always false.
>> Many will leave it to ask.
>
> And some will want it t in C Mode and nil in Text Mode, and really don't
> want to be bothered answering the question "Add one? (y or n)" twenty
> times a day.

Perhaps it would be useful if there was an easy way to set
require-final-newline buffer-locally.

That would work for other variables as well, and it would work for
other modes.

What do people think about a "mode specific variables" feature where
users can customize that they want the variable foo to have the value
bar in quux-mode?

... after 21.4.

Kai





reply via email to

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