[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: |
Mon, 06 Aug 2007 16:35:12 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> > As I understand it, part of the idea of this change is that
> > there won't BE a *scratch* buffer if you don't request it
> > in `initial-buffer-contents'.
>
> It is very useful to create a *scratch* buffer at startup, even if it is
> not displayed immediately.
>
> Why do you find it particularly useful? I want to try to gauge
> how many users would find it desirable. Would they be so many
> that it would be unacceptable to recommend they use this recipe
> to set it up?
>
> (with-current-buffer (get-buffer-create "*scratch*")
> (lisp-interaction-mode))
Personally, my workflow happens to make me delete the scratch buffer
occasionally, and revisit it later. So I want to be able to have it,
when it gets recreated, to be in lisp-interaction-mode.
In fact, people thought this so desirable that we have
* Changes in Emacs 21.2
[...]
** When the *scratch* buffer is recreated, its mode is set from
initial-major-mode, which normally is lisp-interaction-mode,
instead of using default-major-mode.
I would like to retain the ability to do this, though I agree that
"initial-major-mode" is a completely misleading name for it under the
new startup design and should become a deprecated alias (do we have
that?) for something more fitting.
--
David Kastrup
- Re: Scratch buffer annoyance, (continued)
- Re: Scratch buffer annoyance, Miles Bader, 2007/08/01
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/02
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/03
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/03
- Re: Scratch buffer annoyance, David Kastrup, 2007/08/04
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/04
- Re: Scratch buffer annoyance, David Kastrup, 2007/08/05
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/05
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/05
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/06
- Re: Scratch buffer annoyance,
David Kastrup <=
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/06
- Re: Scratch buffer annoyance, David Kastrup, 2007/08/07
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/07
- Re: Scratch buffer annoyance, David Kastrup, 2007/08/07
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/08
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/09
- Re: Scratch buffer annoyance, Andreas Schwab, 2007/08/09
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/11
- buffer-auto-mode-alist (was: Scratch buffer annoyance), Juri Linkov, 2007/08/19
- Re: buffer-auto-mode-alist (was: Scratch buffer annoyance), Richard Stallman, 2007/08/20