From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Buchs, Kevin" Newsgroups: gmane.emacs.help Subject: RE: Avoiding/removing the Async Shell Command buffer Date: Wed, 28 Sep 2011 10:19:04 -0500 Message-ID: References: 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: dough.gmane.org 1317223174 16435 80.91.229.12 (28 Sep 2011 15:19:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 15:19:34 +0000 (UTC) To: "Ludwig, Mark" , "Buchs, Kevin" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 28 17:19:30 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8vuy-0001Ul-GI for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Sep 2011 17:19:28 +0200 Original-Received: from localhost ([::1]:40899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8vun-0008UE-9m for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Sep 2011 11:19:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8vue-0008Sv-Fs for help-gnu-emacs@gnu.org; Wed, 28 Sep 2011 11:19:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8vud-0003ga-Ah for help-gnu-emacs@gnu.org; Wed, 28 Sep 2011 11:19:08 -0400 Original-Received: from mail10.mayo.edu ([129.176.212.47]:36841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8vud-0003gN-6X for help-gnu-emacs@gnu.org; Wed, 28 Sep 2011 11:19:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAGI6g06BsNQ1/2dsb2JhbAA/Aw6nfHiBUwEBAQEDMFkCAQgiBhgGAUgOAQEEARIItzKJAYN7gjBhBIdCMItjihqGZFU X-IronPort-AV: E=Sophos;i="4.68,456,1312174800"; d="scan'208";a="110237658" Original-Received: from mhro1a.mayo.edu ([129.176.212.53]) by ironport10.mayo.edu with ESMTP; 28 Sep 2011 10:19:06 -0500 Original-Received: from smtprelay.mayo.edu (smtprelay2.mayo.edu [192.168.48.11]) by mhro1a.mayo.edu with ESMTP id BT-MMP-3965500; Wed, 28 Sep 2011 10:19:05 -0500 Original-Received: from MACE.mayo.edu (mace.mayo.edu [129.176.215.134]) by smtprelay.mayo.edu (8.12.11/8.12.11) with ESMTP id p8SFJ5P3027261; Wed, 28 Sep 2011 10:19:05 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Avoiding/removing the Async Shell Command buffer Thread-Index: Acx9MI5a0Ah+DdeJTDq3tTKnvTwwegAmCKyQAAoxb/A= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 129.176.212.47 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:82365 Archived-At: Thanks, Mark. You got me thinking/researching outside of my box and I = realized that using start-process would allow me to control things more = carefully and not starting a shell is faster. I just leave the process = going, but I let the output come to the *Messages* buffer, so no visible = changes occur in emacs. (defun org-doc () "Open PDF for Org Mode. Run process associated to the *Messages* = buffer" (interactive) (start-process "org-doc-process" "*Messages*"=20 "C:/Program Files/Adobe/Acrobat 10.0/Acrobat/Acrobat.exe"=20 (concat custom-dir "/org-7.7/doc/org.pdf"))) Kevin Buchs=A0=A0 |=A0=A0Senior Engineer | Department of Physiology = and Biomedical Engineering - SPPDG 507-538-5459=A0=A0|=A0=A0=A0buchs.kevin@mayo.edu | = =A0http://www.mayo.edu/sppdg Mayo Clinic=A0=A0|=A0=A0200 1st St. SW=A0 |=A0 Rochester, MN 55905=A0=20