[Top][All Lists]

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

Re: Scratch buffer annoyance

From: David Kastrup
Subject: Re: Scratch buffer annoyance
Date: Sun, 29 Jul 2007 11:46:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

>>     > ! (defcustom initial-buffer nil
>>     > !   "Buffer to show after starting Emacs."
>>     > !   :type '(choice
>>     > !           (directory :tag "Directory"        :value "~/")
>>     > !           (file      :tag "File"             :value "~/new.txt")
>>     > !           (const     :tag "*scratch* buffer" :value "*scratch*")
>>     > !           (const     :tag "Splash screen"    nil))
>> That variable name is misleading because the value is not a buffer.
>> Please change the variable name to one that fits the meaning.
> The name `initial-buffer' means what the current buffer the user gets
> after startup: a buffer with the home directory, a buffer with some
> specified file, the *scratch* buffer, or the buffer with startup screen.
> I don't see a better name.  Maybe, `initial-display-buffer' or
> `initial-current-buffer'?

initial-visit maybe?  Actually, "*scratch*" is a value with a
different logic, so one should perhaps explain what makes it special.
I could not guess, for example, what "*Messages*" would do here.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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