From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: shell-command: how to limit output buffer's height?
Date: Wed, 08 Oct 2008 20:42:21 -0600 [thread overview]
Message-ID: <gcjr1h$e9j$1@ger.gmane.org> (raw)
In-Reply-To: <E9EB7A7A-4DF0-4B0F-AF1D-559C90A37995@nf.mpg.de>
Stefan Vollmar wrote:
> I am using shell-command to run an external program. The output is
> display in a buffer "*Async Shell Command*" and I would like to limit
> that buffer's window height to just a few lines. Is there something
> similar to compilation-window-height for the shell-command?
I use separate frames for that purpose, which may or may not meet your
needs:
(setq special-display-buffer-names
(cons "*Async Shell Command*" special-display-buffer-names))
The default height for such frames is 14 lines, but you can change it:
(setq special-display-frame-alist
(cons '(height . 5) special-display-frame-alist))
--
Kevin Rodgers
Denver, Colorado, USA
prev parent reply other threads:[~2008-10-09 2:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 7:10 shell-command: how to limit output buffer's height? Stefan Vollmar
2008-10-09 2:42 ` Kevin Rodgers [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gcjr1h$e9j$1@ger.gmane.org' \
--to=kevin.d.rodgers@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).