all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dnquark <dnquark@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Programatically suppress "Async Shell command" buffer
Date: Thu, 9 Jul 2009 19:17:53 -0700 (PDT)	[thread overview]
Message-ID: <36fa957b-7ba4-4b94-be8c-1ec19822d59c@h31g2000yqd.googlegroups.com> (raw)
In-Reply-To: mailman.2021.1247001256.2239.help-gnu-emacs@gnu.org

I was just trying to figure out how to get this to work; this helped
but there still is a problem: once the async shell command terminates,
whatever output it produces (I think it's on stderr) which would
normally go to the dedicated output buffer gets inserted into my
current buffer.  How do I suppress all output from the command?..

On Jul 7, 2:00 pm, gearheart <yoyav...@gmail.com> wrote:
> Peter Dyballa wrote:
>
> > Am 06.07.2009 um 15:43 schrieb gearheart:
>
> >> When asyncshell-commandis run, i get empty buffer that takes like  
> >> half of
> >> the screen.
>
> > Half of the frame in whichshell-commandwas run is standard  
> > behaviour (could be an option exists to set size as for example for  
> > the *compilation* buffer, compilation-window-height). If yourshell 
> >commanddoes return nothing or white space, then the temporary *Shell 
> >CommandOutput* buffer will look empty (in the fringe you can have  
> > exact indicators). If yourshellcommand, say, a simple ls, should  
> > return readableoutputand you get an empty *ShellCommandOutput*  
> > buffer, then something is faulty. Then try the same by launching GNU  
> > Emacs as 'emacs -Q' without any customisation.
>
> oops, my bad.
> to call asyncshellcommandwithout a buffer you need to run:
> (shell-command"something&" (universal-argument))
> --
> View this message in context:http://www.nabble.com/Programatically-suppress-%22Async-Shell-command...
> Sent from the Emacs - Help mailing list archive at Nabble.com.



  parent reply	other threads:[~2009-07-10  2:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 13:43 Programatically suppress "Async Shell command" buffer gearheart
2009-07-07  9:32 ` Peter Dyballa
2009-07-07 18:00   ` gearheart
     [not found]   ` <mailman.2021.1247001256.2239.help-gnu-emacs@gnu.org>
2009-07-10  2:17     ` dnquark [this message]
2009-07-10  3:30       ` dnquark
2009-07-10 10:48         ` Peter Dyballa
2009-07-10 11:01           ` Leo Alekseyev
2009-07-10 10:43       ` Peter Dyballa
2009-07-10 11:02 ` Johan Bockgård

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=36fa957b-7ba4-4b94-be8c-1ec19822d59c@h31g2000yqd.googlegroups.com \
    --to=dnquark@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.