emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 31 Jul 2007 16:42:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> 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))
>
> "*scratch*" should be represented differently, since it is used as a
> buffer name instead of a file name.

I found Richard's proposal to use 'lisp-interaction-mode here
appealing.  However, this leaves open what initial-major-mode should
do.

Maybe we should have
initial-visitor just evaluated.  Then one can set it to (find-file
"~/") or (display-splash-screen) or (switch-to-buffer "*scratch*").

-- 
David Kastrup




reply via email to

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