help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing current buffer to compile command


From: duke
Subject: Re: Passing current buffer to compile command
Date: Sun, 16 Jan 2011 17:29:14 -0800 (PST)
User-agent: G2/1.0

On Jan 16, 3:53 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > From: duke <sidney.reilley...@gmail.com>
> > Newsgroups: gnu.emacs.help
> > Date: Sun, 16 Jan 2011 13:54:26 -0800 (PST)
>
> > I do M-x compile  or goto the menu M-` t c
> > then I'm in the mini-buffer.
> > I enter my compiler name; I've always typed-in the filename currently
> > being edited.
> > I'm wondering if there's another to pass that filename to the mini-
> > buffer?
>
> Customize the value of compile-command.  You can put it in the file's
> local variables section for each file that you edit.

This is not Lisp, or even elisp that I'm coding in. Does that matter
with
respect to the "local variables" you mention above? I tried what was
suggested in another post concerning "local variables". Didn't work -
or I'm not doing it correctly. :)

> > I realize that once I have a compiling history for the session, I can
> > navigate using the arrows, but it's that first time that I'm exploring.
>
> Even better: use "M-x recompile" after the first time, it will reissue
> the same command automatically.

Excellent! Thanks ...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]