From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: How to suppress/avoid *Async Shell Command* buffer? Date: Sat, 18 May 2013 19:13:12 +0200 Message-ID: <5197B6A8.7070305@easy-emacs.de> References: <5197784A.1020500@easy-emacs.de> <87sj1ktmnq.fsf@math.ethz.ch> <5197913E.1010702@easy-emacs.de> <87mwrstku1.fsf@math.ethz.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1368897066 17546 80.91.229.3 (18 May 2013 17:11:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 May 2013 17:11:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Marius Hofert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 18 19:11:05 2013 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 1Udkeu-00074l-GA for geh-help-gnu-emacs@m.gmane.org; Sat, 18 May 2013 19:11:04 +0200 Original-Received: from localhost ([::1]:50810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Udket-0006HL-Vm for geh-help-gnu-emacs@m.gmane.org; Sat, 18 May 2013 13:11:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdkeX-0006HE-GB for help-gnu-emacs@gnu.org; Sat, 18 May 2013 13:10:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdkeW-0005yg-ME for help-gnu-emacs@gnu.org; Sat, 18 May 2013 13:10:41 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:64600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdkeW-0005yZ-DN for help-gnu-emacs@gnu.org; Sat, 18 May 2013 13:10:40 -0400 Original-Received: from [192.168.178.21] (brln-4db9aa50.pool.mediaWays.net [77.185.170.80]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MJ0Dl-1Ufgai41TV-002hCB; Sat, 18 May 2013 19:10:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: <87mwrstku1.fsf@math.ethz.ch> X-Provags-ID: V02:K0:6QqhS21WSelI0lgJaXu5/TLXj6sK9TgfPotk2zPp+dv sgydb1ECtGsZm9J5WWhmkchwPw41G/6CD/w4BEsyqbtdfkwF3S YJvvoz2ULNiSXe4kudQbKCAcoRz/KD8wsMjD1KhlD3PkdFUL4z qksuJI2XIt/FT9K8vpTkW6pXyluwvkSb1SqsamsBkDLK4Ypwn5 UuktxYa4JadhsmPdMFuoeIYml5kcppbfSflFFqby0UsboUb1G3 Vw4tENJqonsRi/oDiGdoMjYuh/B/S1qlo1+59HYt4yMXHkBA6L eQsLj1jCK4i1PTC7ZSlXnKISNn6E+61wMAy3I/CbWSSzREcT94 elBJh7FomLKRisXo/JYzCwtYi8n8ZLXe7ysT+5Nix X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.10 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:90904 Archived-At: Am 18.05.2013 16:37, schrieb Marius Hofert: > Hi Andreas, > > what do you mean by 'caused'? > > The question mark is a place holder for the file (foo.pdf). Okay, see dired-do-shell-command reads it > What does this have to do with *Async Shell Command* being opened? > Nothing. It's the ampersand following ? which matters. > Note: The behavior of "!" on foo.pdf in dired mode is fine (in the sense > that Okular opens, the pdf is shown, everything asynchronously), I just want > to avoid the buffer *Async Shell Command* being opened. > Which seems the buffer Emacs connects the process to. Deleting it should end the processes, probably not a good idea. So the ampersand seems the culprit - not the question mark. What happens when calling your stuff without it? Andreas > Let me know if anything isn't clear. > > Cheers, > > Marius > > > > Andreas Röhler writes: > >> Am 18.05.2013 15:58, schrieb Marius Hofert: >> >>> >>> >> Looks like caused by the question mark after okular >> >> (("\\.\\(?:pdf\\|djvu\\|jp?g\\)\\'" "okular ? &") > >