From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dnquark Newsgroups: gmane.emacs.help Subject: Re: Programatically suppress "Async Shell command" buffer Date: Thu, 9 Jul 2009 19:17:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: <36fa957b-7ba4-4b94-be8c-1ec19822d59c@h31g2000yqd.googlegroups.com> References: <24355670.post@talk.nabble.com> <2702DED8-7711-42E2-949C-440239CAFB09@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247198426 13642 80.91.229.12 (10 Jul 2009 04:00:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jul 2009 04:00:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 06:00:19 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MP7HW-0001Wd-Kp for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jul 2009 06:00:18 +0200 Original-Received: from localhost ([127.0.0.1]:42540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP7HV-0003AX-Tq for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jul 2009 00:00:17 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h31g2000yqd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 98.223.64.197 Original-X-Trace: posting.google.com 1247192274 7682 127.0.0.1 (10 Jul 2009 02:17:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 10 Jul 2009 02:17:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h31g2000yqd.googlegroups.com; posting-host=98.223.64.197; posting-account=nQKzDwoAAADiNnsVsJOw54VLeNKCeQkD User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170716 X-Mailman-Approved-At: Thu, 09 Jul 2009 23:57:54 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65917 Archived-At: 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=A0pm, gearheart wrote: > Peter Dyballa wrote: > > > Am 06.07.2009 um 15:43 schrieb gearheart: > > >> When asyncshell-commandis run, i get empty buffer that takes like =A0 > >> half of > >> the screen. > > > Half of the frame in whichshell-commandwas run is standard =A0 > > behaviour (could be an option exists to set size as for example for =A0 > > the *compilation* buffer, compilation-window-height). If yourshell=A0 > >commanddoes return nothing or white space, then the temporary *Shell=A0 > >CommandOutput* buffer will look empty (in the fringe you can have =A0 > > exact indicators). If yourshellcommand, say, a simple ls, should =A0 > > return readableoutputand you get an empty *ShellCommandOutput* =A0 > > buffer, then something is faulty. Then try the same by launching GNU = =A0 > > 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-suppre= ss-%22Async-Shell-command... > Sent from the Emacs - Help mailing list archive at Nabble.com.