[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: |
Tue, 07 Aug 2007 08:13:57 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> 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.
>
> We could have something like auto-mode-alist
> for buffer names.
That was my first thought, too, and I looked for something like that
in vain.
auto-mode-buffer-alist or something.
We could even misuse auto-mode-alist as a last-resort fallback here:
buffer names corresponding to already checked file names won't match,
anyway, and the buffer names not associated with files usually start
with "*" or " *", and it is very unlikely we'll ever need to match a
file name like that.
And, after all, it is called auto-mode-alist and not
auto-filename-mode-alist.
--
David Kastrup
- Re: Scratch buffer annoyance, (continued)
- 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, 2007/08/06
- Re: Scratch buffer annoyance, Richard Stallman, 2007/08/06
- Re: Scratch buffer annoyance,
David Kastrup <=
- 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
- Re: Scratch buffer annoyance, Juri Linkov, 2007/08/08
- Re: Scratch buffer annoyance, David Kastrup, 2007/08/08