From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Schmidt Newsgroups: gmane.emacs.help Subject: Re: Silent (shell-command) Date: Sat, 1 Sep 2012 00:23:57 +0100 (BST) Message-ID: <873932wsqp@ch.ristopher.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346455450 6315 80.91.229.3 (31 Aug 2012 23:24:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2012 23:24:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 01 01:24:10 2012 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 1T7aZN-0006wE-Ih for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 01:24:09 +0200 Original-Received: from localhost ([::1]:43855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7aZK-0008CK-Tx for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Aug 2012 19:24:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7aZF-0008C0-Hj for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 19:24:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7aZE-0004P4-FS for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 19:24:01 -0400 Original-Received: from ristopher.com ([146.185.21.93]:53769 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7aZD-0004On-VG for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 19:24:00 -0400 Original-Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id 909BA20D24; Sat, 1 Sep 2012 00:23:57 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1346455437; bh=SV22V//2mcM1ZpXvEl9rqYpl/k1gKM467xW2fItu0MY=; h=From:To:Subject:In-Reply-To:References:Message-ID:MIME-Version: Content-Type:Date; b=FrLUiwm3zbJhJ+nQ2oIJPHcu4T+Z96gdaZXkA1EDvnXR6yMWyqM0qdM7vaYAtoLCa /DjPz7/PVXQaECHdJoCdw17YaTn6QoPDMWK/vEz2yMt3lcojT27jCyEAZ865T0t5yJ 8kP8OinLAle/l8qQNzAO+pS9BIQIG5LWQaFLVXUM= In-Reply-To: (Marcelo de Moraes Serpa's message of "Fri, 31 Aug 2012 18:10:38 -0500") Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 146.185.21.93 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:86618 Archived-At: Marcelo de Moraes Serpa writes: > Is there a way to run a shell-command without emacs creating any kind > of output buffer when it's completed? I've tried using "&" but the > buffer just changes to "Async Output Buffer". I'd just like emacs to > silently run the command in the background, preferably without > blocking. Any ideas? (global-set-key [remap shell-command] (lambda () (interactive) (let ((display-buffer-overriding-action (cons (lambda (_1 _2) 'rms) nil))) (call-interactively 'shell-command)))) Christopher