bug-gnu-emacs
[Top][All Lists]
Advanced

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

breakthrough: I was asked something in a *compilation* window


From: Dan Jacobson
Subject: breakthrough: I was asked something in a *compilation* window
Date: 22 Jun 2002 08:14:53 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Amazing breakthrough in the realm of commands to provide the user: a
way for him to talk back when a *compilation* comes to a screeching
halt an asks the user a question thru the impenetrable one way glass...

Sure you lisp programmers do this all the time but us "M-x blabla"
users haven't had a tool...

>>>>> "T" == Thien-Thi Nguyen <ttn@glug.org> writes:

T> i bind ":" to the following:

T> (defun compilation-send-line (line)
T>   (interactive "sLine: ")
T>   (process-send-string (buffer-name) (concat line "\n")))

T> when prompted, i type something like `: y RET'.

This seems to be an amazing breakthrough.   With a little polish this
should be an immediate candidate for  inclusion into the next emacs
[and M-x compile documentation.]

notes on usage: one should do
(setq compilation-scroll-output t)

By the way, emacs bug: in a *compilation* window do C-h m, gee, sure
looks puny these days.  Where's all the special bindings?
Also the user will never learn about e.g. compilation-scroll-output
from there or C-h f compile.
-- 
http://jidanni.org/ Taiwan(04)25854780



reply via email to

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