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

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

Re: Distinguishing between interactive and asynchronous shell buffers


From: Perry Smith
Subject: Re: Distinguishing between interactive and asynchronous shell buffers
Date: Mon, 21 Feb 2011 18:50:39 -0600

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 via email to

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