|
From: | Stefan Monnier |
Subject: | Re: compile perl file, specify current buffer, using help effectively |
Date: | Wed, 03 May 2006 01:12:38 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |