emacs-devel
[Top][All Lists]
Advanced

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

Re: Builder, a build system integration for Emacs


From: Po Lu
Subject: Re: Builder, a build system integration for Emacs
Date: Tue, 23 May 2023 20:13:10 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: BTuin <btuin@mailo.com>,  emacs-devel@gnu.org
>> Date: Tue, 23 May 2023 08:36:13 +0000
>> 
>> Richard Stallman <rms@gnu.org> writes:
>> 
>> > Isn't "use build systems" what M-x compile does?
>> > Assuming that each bui;d system provides a shell command to invoke it,
>> > M-x compile can run that command and build the package.
>> 
>> The issue is not what M-x compile, but that with a lot of modern
>> programming languages the build systems are complex but automatable, to
>> a point that it would be nice if Emacs could detect the necessary
>> information to invoke the right command or sequence of commands.
>
> You mean, to guess a good value for compile-command?

Perhaps we could do so based on the major mode and the current
directory.

For instance, if a Makefile is present within the current directory,
defaulting to `make -k' should work.

Similarly, C programs can make do with just `make foo', where foo is the
base name of the file being visited.


reply via email to

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