From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: compile perl file, specify current buffer, using help effectively Date: Wed, 03 May 2006 11:40:54 +0300 Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146645792 32584 80.91.229.2 (3 May 2006 08:43:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 08:43:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 03 10:43:10 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbCwm-0004Yo-Io for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 10:43:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbCwl-0004kf-S9 for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 04:42:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbCuk-0003BG-FP for help-gnu-emacs@gnu.org; Wed, 03 May 2006 04:40:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbCuj-0003AK-Jx for help-gnu-emacs@gnu.org; Wed, 03 May 2006 04:40:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbCuj-0003A1-7J for help-gnu-emacs@gnu.org; Wed, 03 May 2006 04:40:53 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FbCv4-0002Xm-8N for help-gnu-emacs@gnu.org; Wed, 03 May 2006 04:41:14 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-248-70.inter.net.il [80.230.248.70]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id ECJ24973 (AUTH halo1); Wed, 3 May 2006 11:40:51 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: (goedelsch@gmail.com) 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:34764 Archived-At: > Date: Tue, 2 May 2006 22:04:56 -0400 > From: "David Schneider" > > More important then the answer, is how do I figure this out from the > help. Using the index search of the Emacs manual is one of the most efficient and powerful ways. Get to the Emacs manual (by typing "C-h i" then "m Emacs RET", or select the Emacs manual from the menu-bar's "Help" menu), then type "i TOPIC RET", where TOPIC is any word or phrase that seems to be related to what you are looking for, and Emacs will land you on the place in the manual where that topic is discussed. In this case, "i compile RET" lands me in a section where I find this paragraph: The default for the compilation command is normally `make -k', which is correct most of the time for nontrivial programs. (*Note Make: (make)Top.) If you have done `M-x compile' before, the default each time is the command you used the previous time. `compile' stores this command in the variable `compile-command', so setting that variable specifies the default for the next use of `M-x compile'. If a file specifies a file local value for `compile-command', that provides the default when you type `M-x compile' in that file's buffer. *Note File Variables::. Would this paragraph tell you what you wanted to know?