all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Perry Smith <pedzsan@gmail.com>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: Distinguishing between interactive and asynchronous shell buffers
Date: Mon, 21 Feb 2011 18:50:39 -0600	[thread overview]
Message-ID: <0FA9C982-49A2-4486-8721-5669F32ADBD7@gmail.com> (raw)
In-Reply-To: <m2tyfwkjby.fsf@gmail.com>


On Feb 21, 2011, at 6:24 PM, Sean McAfee wrote:

> Barry Margolin <barmar@alum.mit.edu> writes:
>> In article <m2y65ajluo.fsf@gmail.com>, Sean McAfee <eefacm@gmail.com> 
>> wrote:
>>> What's the best way to distinguish asynchronous shell command buffers
>>> from interactive shell buffers?
> 
>> Why not just look for the buffer named "*shell*"?
> 
> Because I often have multiple shell buffers open--none of which are
> necessarily named "*shell*"--and I only want to target the
> most-recently-accessed one.

mode-name ?

It would be "Shell" for things started with "shell" and "Fundamental" for things done with shell-command





  reply	other threads:[~2011-02-22  0:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21  0:02 Distinguishing between interactive and asynchronous shell buffers Sean McAfee
2011-02-21  2:43 ` Barry Margolin
2011-02-22  0:24   ` Sean McAfee
2011-02-22  0:50     ` Perry Smith [this message]
     [not found]     ` <mailman.7.1298335846.7153.help-gnu-emacs@gnu.org>
2011-02-22 18:48       ` Sean McAfee
2011-02-22 19:59         ` Perry Smith
2011-02-22 21:18 ` Sean McAfee
2011-02-23 16:03   ` Stefan Monnier
2011-02-23 18:28     ` Deniz Dogan

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=0FA9C982-49A2-4486-8721-5669F32ADBD7@gmail.com \
    --to=pedzsan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.