From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David Schneider" Newsgroups: gmane.emacs.help Subject: compile perl file, specify current buffer, using help effectively Date: Tue, 2 May 2006 22:04:56 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146630908 25855 80.91.229.2 (3 May 2006 04:35:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 04:35:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 03 06:35:07 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 1Fb94n-0003RO-Aw for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 06:35:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb94m-0000VZ-Rk for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 00:35:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fb6ja-0007eW-Ds for help-gnu-emacs@gnu.org; Tue, 02 May 2006 22:04:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fb6jZ-0007eK-AA for help-gnu-emacs@gnu.org; Tue, 02 May 2006 22:04:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb6jZ-0007eH-6d for help-gnu-emacs@gnu.org; Tue, 02 May 2006 22:04:57 -0400 Original-Received: from [64.233.184.230] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fb6jq-00069R-FA for help-gnu-emacs@gnu.org; Tue, 02 May 2006 22:05:14 -0400 Original-Received: by wr-out-0506.google.com with SMTP id i12so53800wra for ; Tue, 02 May 2006 19:04:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rX3+o1SWVDMklxmziTEdgc8FJFgG+2r5/1VrHmft7aPoIipBeRfB9ByHccvAYZXx3jk3FXMSwR3r7iUHaIpjmnhWHEuRs42hABivp0x8lgLqkhwMz6+vpecgH6m5vQs1TaTiGdmxOvryNmTvu3aXklhQXLQruXzdfgi8gjOBWk8= Original-Received: by 10.65.188.1 with SMTP id q1mr36995qbp; Tue, 02 May 2006 19:04:56 -0700 (PDT) Original-Received: by 10.65.230.7 with HTTP; Tue, 2 May 2006 19:04:56 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline X-Mailman-Approved-At: Wed, 03 May 2006 00:34:50 -0400 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:34756 Archived-At: I am trying to use emacs as an IDE for perl development. I think it would be useful to have a compile command that runs perl on the current buffer I am editing. The compile command defaults to make -k. I want to change it to perl xx where xx is the name of the current buffer - is there some variable or special syntax I can use to get the current filename? More important then the answer, is how do I figure this out from the help. I have been using C-h a to try to search the help. This gives me lists of commands or variables which may be related - but I frequently find my questions are still unanswered.