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

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

Re: need for a shell-mode-post-hook ?


From: Stefan Monnier
Subject: Re: need for a shell-mode-post-hook ?
Date: 10 Mar 2003 15:21:56 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Matthew" == Matthew Kennedy <mbkennedy@austin.rr.com> writes:
>         (add-hook 'shell-mode-post-hook '(erase-buffer))

That's difficult because the shell buffer is asynchronous, so
Emacs doesn't know when the shell's initialization is done.

Tramp has to deal with the problem and it's pretty ugly, but maybe
you can convince Kai to tell you how to reuse that ugly code for
this other case ?


        Stefan


reply via email to

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