From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pete Ley Newsgroups: gmane.emacs.help Subject: Help with async-shell-command Date: Tue, 04 Feb 2014 15:44:27 -0800 Message-ID: <87k3da1m04.fsf@enterprise.sectorq.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1391557545 27493 80.91.229.3 (4 Feb 2014 23:45:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 23:45:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 05 00:45:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WApge-0007BC-13 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 00:45:52 +0100 Original-Received: from localhost ([::1]:56083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WApgd-0004GT-Iy for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 18:45:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WApfd-0003Lx-IR for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 18:44:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WApfV-00042f-5X for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 18:44:49 -0500 Original-Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:33064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WApfU-00042R-Uc for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 18:44:41 -0500 Original-Received: by mail-pd0-f169.google.com with SMTP id v10so8934464pde.0 for ; Tue, 04 Feb 2014 15:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=WxYEZZJbr4re/5eLjFJNGuI73iphsMiwzqxoQI9z6Z8=; b=fkJbNHHDaa1hDGs5EXOPiKhkE96xnqYBdMYPF3CxfArmS9KEydk9y+1rmmmCPv7mPQ N3EGM6/kCQQnZd6oYr5+9J5WRmBOhf2vCJQQ+Sn0nzo5XMdjfOYlbFL6++l4aqH40bmd OF4BKJx7FL4Kwcydket3b/wP2H8SSDh6UigKdgrT1qZJojqS+ASJqCPcbSIWr+yoWUOW Ac2BKmIXd3NVy8B488L9rDT5vWQ/QPbNWnYGYZcI97MpuVt3nmAvfX9Zo8+1fsPL7Da5 tnEf2qttyRJt9M/FD+1yW4CnBiRBJZMQBH8mFcgvsl0G2mpFQnKRHQgDTTO8NUvg4XKp +p5A== X-Received: by 10.68.196.164 with SMTP id in4mr46780519pbc.128.1391557479123; Tue, 04 Feb 2014 15:44:39 -0800 (PST) Original-Received: from enterprise.sectorq.net (75-175-25-218.ptld.qwest.net. [75.175.25.218]) by mx.google.com with ESMTPSA id xn12sm181135600pac.12.2014.02.04.15.44.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Feb 2014 15:44:38 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95913 Archived-At: Hey, Is there a way to call async-shell-command so that it doesn't open an output buffer? I'm trying to write a sync routine that'll get called pretty often and I'd like to use async-shell-command, but it always opens an annoying *Async Shell Command* buffer, even when there is no output. So far, I've sort of solved the problem by writing a wrapper function that calls it and (delete-windows-on "*Async Shell Command*") afterward, but this has the side effect of closing a window I was using if the window wasn't split for the purpose of the buffer. Is there a way I can 1) call a shell command asychronously 2) without showing *Async Shell Command* and 3) without messing up my window setup? Thanks Pete