unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: compile perl file, specify current buffer, using help effectively
Date: Wed, 03 May 2006 01:12:38 -0400	[thread overview]
Message-ID: <87mzdzd754.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.1251.1146630892.9609.help-gnu-emacs@gnu.org

> 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.

Try C-h f compile RET (which will give you the online doc about the
`compile' command).  It comes with an example of exactly what you want
to do.


        Stefan

       reply	other threads:[~2006-05-03  5:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1251.1146630892.9609.help-gnu-emacs@gnu.org>
2006-05-03  5:12 ` Stefan Monnier [this message]
2006-05-03  5:26 ` compile perl file, specify current buffer, using help effectively Burton Samograd
2006-05-03 13:54 ` yoorobot
2006-05-03  2:04 David Schneider
2006-05-03  8:40 ` Eli Zaretskii
2006-05-03 10:39 ` David Hansen
2006-05-03 17:04   ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mzdzd754.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).