[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Feelings": Me and emacs 21 for the 21st century

From: Kevin Rodgers
Subject: Re: "Feelings": Me and emacs 21 for the 21st century
Date: Wed, 19 Dec 2001 12:27:02 -0700

Dan Jacobson wrote:
> you know what's really funny, the *compilation* buffer, where SPC will
> scroll down, but abc... are self-insert.  the compilation buffer i set
> to be read only, as often i find myself editing it [looks like src,
> mom].  how odd of emacs -q to set it so one can insert a b c... but
> not SPC.  So: don't allow inserting abc either... I ask, what good
> would it do to allow one to insert things in the *compilation* buffer?

My guess is that it's because the conventional compile command is make, and
Makefiles can run arbitrary shell commands, including commands that read from
standard input.  I even came up with a hack (M-x compile-enable-input) that
uses comint.el to implement that, and it unbinds SPC and DEL (scroll-up and
scroll-down) so their global bindings are restored.

> Oh, and do (compile "date" ), notice now in this small buffer
> type a b c SPC, gee "End of buffer".... guaranteed to make one think
> the designer isn't so swift after all.  yes, end of buffer due to
> wanting to scroll, but you already let me type a b c... so: looks
> broken, therefore: make *compilation* read-only.  and make q quit out
> of it.

Does (add-hook 'compilaton-mode-hook 'view-mode-enter) do what you want?

Kevin Rodgers <address@hidden>

reply via email to

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