[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: Wed, 26 Oct 2011 09:18:50 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

>> But in read-only buffers, self-inserting characters are useless, they
>> can't do what they are intended for.  So why not allow them to do
>> more useful things, e.g. `q' to run `quit-window'?
> If by read-only buffers, you mean something like *info* or *Buffer
> List*, then I agree with you.  But if we're talking about file buffers
> which happen to be RO at the moment, then no - self-inserting
> characters have the important function of beeping.

FWIW, I agree.  For example, one might imagine visiting a file without
realizing the file is read-only, and typing `q' to insert, which ends up
quitting the window.  That would be annoying.

reply via email to

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