From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Emacs and Perl syntax compile
Date: Fri, 01 Aug 2003 22:42:26 +0200 [thread overview]
Message-ID: <84y8ydkt3h.fsf@slowfox.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: mailman.837.1059744293.8231.help-gnu-emacs@gnu.org
"Harter, Douglas" <dharter@state.pa.us> writes:
> Can someone tell me what I need in my .emacs to do Perl syntax compiles from
> emacs and allow compilation mode to handle the errors?
Perl syntax compiles?
Do you mean perl -c? It ought to be sufficient to set the variable
compile-command, perhaps from a mode hook:
(defun douglas-perl-setup ()
(setq compile-command (format "perl -c %s" (buffer-file-name))))
(add-hook 'perl-mode-hook 'douglas-perl-setup)
If you use cperl mode instead of perl mode, replace perl-mode-hook
with cperl-mode-hook.
--
~/.signature
next parent reply other threads:[~2003-08-01 20:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.837.1059744293.8231.help-gnu-emacs@gnu.org>
2003-08-01 20:42 ` Kai Großjohann [this message]
2003-08-21 12:57 ` Emacs and Perl syntax compile Janusz S. Bień
[not found] <mailman.186.1060263856.29551.help-gnu-emacs@gnu.org>
2003-08-12 16:37 ` Kevin Rodgers
2003-08-12 16:58 ` Stefan Monnier
2003-08-07 13:42 andrew.maguire
-- strict thread matches above, loose matches on Subject: below --
2003-08-01 12:17 Harter, Douglas
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=84y8ydkt3h.fsf@slowfox.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/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).