[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fundamental mode vs. special mode
From: |
Chong Yidong |
Subject: |
Re: Fundamental mode vs. special mode |
Date: |
Sun, 23 Oct 2011 03:21:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Christoph Scholtes <address@hidden> writes:
> I come across a few instances where buffers are created in Fundamental
> mode, for example *Shell Mode Output*. It would be convenient if those
> were created in special mode, since then `q' (or `C-u q') would invoke
> quit-window and bury (or kill) the buffer.
>
> Or could we add a Fundamental mode map with a few basic commands, like
> `q' (quit-window)? Special-mode could inherit from it.
It's not a good idea to add anything to Fundamental mode. The point of
it is to be fundamental.
Anyway, binding "q" to `quit-window' is no good; I imagine some users
expect want to be able to edit the buffer. Same with other cases like
the *Messages* buffer.