From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: Run shell command from latex? Date: Fri, 11 Apr 2008 10:41:26 -0400 Message-ID: <87ve2ojvxl.fsf@W0053328.mgh.harvard.edu> References: <47fd14c5$0$90263$14726298@news.sunsite.dk> <47fd2948$0$90264$14726298@news.sunsite.dk> <87ve2q2ok4.fsf@localhorst.mine.nu> <873aptq0i9.fsf@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207925102 27760 80.91.229.12 (11 Apr 2008 14:45:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2008 14:45:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nikolaj Schumacher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 11 16:45:33 2008 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 1JkKVP-0001uf-PM for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Apr 2008 16:45:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkKUl-0007GI-Uh for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Apr 2008 10:44:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JkKRl-0005cD-9J for help-gnu-emacs@gnu.org; Fri, 11 Apr 2008 10:41:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JkKRi-0005ZI-Da for help-gnu-emacs@gnu.org; Fri, 11 Apr 2008 10:41:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkKRi-0005Yv-50 for help-gnu-emacs@gnu.org; Fri, 11 Apr 2008 10:41:42 -0400 Original-Received: from phsmgmx9.partners.org ([155.52.251.100]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JkKRh-0004wt-JW for help-gnu-emacs@gnu.org; Fri, 11 Apr 2008 10:41:41 -0400 X-IronPort-AV: E=Sophos;i="4.25,642,1199682000"; d="scan'208";a="128831107" Original-Received: from phsxcon1.mgh.harvard.edu (HELO PHSXCON1.partners.org) ([132.183.130.40]) by phsmgmx9.partners.org with ESMTP; 11 Apr 2008 10:41:28 -0400 Original-Received: from PHSXMB8.partners.org ([170.223.201.47]) by PHSXCON1.partners.org with Microsoft SMTPSVC(6.0.3790.3959); Fri, 11 Apr 2008 10:41:28 -0400 Original-Received: from W0053328.mgh.harvard.edu ([132.183.29.121]) by PHSXMB8.partners.org with Microsoft SMTPSVC(6.0.3790.3959); Fri, 11 Apr 2008 10:41:27 -0400 In-Reply-To: (Nikolaj Schumacher's message of "Fri, 11 Apr 2008 15:00:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 11 Apr 2008 14:41:27.0758 (UTC) FILETIME=[1FBEEEE0:01C89BE2] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:53247 Archived-At: Nikolaj Schumacher writes: > jadamson@partners.org (Joel J. Adamson) wrote: > >> David Hansen writes: >> >> As for not wanting to type "make" every time, (1) you don't: the default >> compile-command comes up in the minibuffer and you hit RET; and > > Ever better, bind `recompile' to a key, and you won't have to hit RET at > all. > >> (2) get >> real: yes you can skip that extra keystroke but do you want to deal with >> the crap you're going to get from skipping it? What happens if you >> change your mind about which command to run? > > What should happen? Unless you're using `compile' for "rm -rf ~/", it > doesn't strike me as the kind of command that requires you to think > twice about using it. If instead of using a makefile, I've just written one piece of code and I still want to use compilation-mode, I just want to compile it with say gcc -o blah blah.c then I wouldn't use the command "make," obviously. My point was that if OP is in that sort of situation, and he uses "make" then he will be disappointed with the results. I *would* rather think about it. Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109 Public key: http://pgp.mit.edu The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.