all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: need for a shell-mode-post-hook ?
Date: 10 Mar 2003 15:21:56 -0500	[thread overview]
Message-ID: <5l65qrnfa3.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 87smu22ncd.fsf@killr.ath.cx

>>>>> "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

  parent reply	other threads:[~2003-03-10 20:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05  9:07 need for a shell-mode-post-hook ? Matthew Kennedy
2003-03-05  9:23 ` Kai Großjohann
2003-03-05 19:38 ` Kevin Rodgers
2003-03-10 20:21 ` Stefan Monnier [this message]
2003-03-11 15:31   ` Kai Großjohann
2003-03-12  7:53     ` Matthew Kennedy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5l65qrnfa3.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.