all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compiler-mode should inherit shell-mode
@ 2003-09-19  3:03 Pascal Bourguignon
  2003-09-19 15:06 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal Bourguignon @ 2003-09-19  3:03 UTC (permalink / raw)



Some Makefiles involve interactive input.  Therefore, it would be nice
if the  compilation mode  would inherit from  the shell-mode  and when
there is input expected, it would allow user to enter it...

Notably, some  compilation or installation targets  involve sudo, then
asking for a password...


-- 
__Pascal_Bourguignon__
http://www.informatimago.com/
Do not adjust your mind, there is a fault in reality.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compiler-mode should inherit shell-mode
  2003-09-19  3:03 compiler-mode should inherit shell-mode Pascal Bourguignon
@ 2003-09-19 15:06 ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2003-09-19 15:06 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    Some Makefiles involve interactive input.  Therefore, it would be nice
    if the  compilation mode  would inherit from  the shell-mode  and when
    there is input expected, it would allow user to enter it...

This would be a good thing, but not as easy as it sounds.  One
complication is that some of the commands of Compilation mode would
have to be changed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compiler-mode should inherit shell-mode
       [not found] <mailman.407.1063940645.21628.bug-gnu-emacs@gnu.org>
@ 2003-09-19 15:48 ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2003-09-19 15:48 UTC (permalink / raw)


Pascal Bourguignon wrote:

> Some Makefiles involve interactive input.  Therefore, it would be nice
> if the  compilation mode  would inherit from  the shell-mode  and when
> there is input expected, it would allow user to enter it...


Wouldn't comint-mode be adequate?  Ah, but it's a major mode.  Perhaps
compilation-mode ought to be a derived mode -- is that what you mean
by "inherit from" (define-derived-mode)?


> Notably, some  compilation or installation targets  involve sudo, then
> asking for a password...

(add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt)


should work in *compilation* buffers as well.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-19 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-19  3:03 compiler-mode should inherit shell-mode Pascal Bourguignon
2003-09-19 15:06 ` Richard Stallman
     [not found] <mailman.407.1063940645.21628.bug-gnu-emacs@gnu.org>
2003-09-19 15:48 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.