all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Compilation in C and ADA
Date: Sat, 23 Jul 2016 17:05:50 +0200	[thread overview]
Message-ID: <86twfgz969.fsf@student.uu.se> (raw)
In-Reply-To: mailman.1922.1469283823.26859.help-gnu-emacs@gnu.org

Francis Belliveau wrote:

> If a menu selection says "compile" then
> "compile" is what it should be trying to do,
> not "make".

If there is a Makefile, I'd say compile and
make are synonymous because why else is there
a Makefile?

But isn't it a DWIM command, i.e., if there is
a Makefile, that is used, if there isn't,
a prompt for the compilation tool/command
appears, or if there is a default command
specified already it is executed? I don't know
because there have been ages since I compiled
anything without a Makefile!

> Put aside the ability to customize things.
> That is necessary due to the diversity of
> development environments, etc.

And the diversity of programmers...

But the make approach isn't the "least bad"
wich is tolerable because of its diversity.
It is the best I've seen to this date. I use it
with programming, but also with LaTeX, and
other types of processing which should happen
upon the update of files.

Why and how would anyone benefit from moving it
into Emacs? There is already a mode to edit the
Makefile itself.

One should not think of the Makefile as
something disassociated from the project. It is
as much part of the project as the source.
First thing when I start a new project is
create a Makefile and an Emacs shortcut to get
me there in a heartbeat.

> If I see a command like "compile" in a menu,
> I expect it to call the compiler for me, not
> attempt to "make" my project.

Write your own function!

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 58 Blogomatic articles -                   


  parent reply	other threads:[~2016-07-23 15:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19 11:11 Compilation in C and ADA Edward Zacharek
2016-07-19 17:36 ` B.V. Raghav
2016-07-20  2:50   ` Francis Belliveau
2016-07-20  4:30     ` B.V. Raghav
2016-07-23 14:22       ` Francis Belliveau
2016-07-23 17:52         ` Dale Snell
     [not found]         ` <mailman.1937.1469296394.26859.help-gnu-emacs@gnu.org>
2016-07-23 20:08           ` Emanuel Berg
     [not found]       ` <mailman.1922.1469283823.26859.help-gnu-emacs@gnu.org>
2016-07-23 15:05         ` Emanuel Berg [this message]
2016-07-24  4:20           ` Francis Belliveau
     [not found]           ` <mailman.1955.1469334108.26859.help-gnu-emacs@gnu.org>
2016-07-24 12:48             ` Emanuel Berg
2016-07-23 16:23 ` Kendall Shaw
     [not found] <mailman.1680.1468936015.26859.help-gnu-emacs@gnu.org>
2016-07-20  3:43 ` Rusi

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

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

  git send-email \
    --in-reply-to=86twfgz969.fsf@student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.