all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Script for compiling more quietly
Date: Fri, 11 Dec 2020 19:10:24 +0100	[thread overview]
Message-ID: <87czzg8b8v.fsf@gnus.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

For some time now, I've been using the simple shell script below to do
non-development Emacs compilation.  That is, when I say "git pull" I
always say "emake" afterwards, and I also run it when I apply patches
from people and stuff.  It basically suppresses all the informational
messages from the build process, leaving me with just the bear
necessities, so that you can forget about your worries and your strife,
I mean, the wall of text.

I find it handy, because it really makes things obvious when warnings do
happen -- I don't have to actually pay attention.

(It can obviously not be used when actually developing, because it makes
it impossible to jump to errors from the *Compilation* buffer.)

I wonder whether anybody would find this useful, and if so, whether it
would make sense to stash it in, say, admin/make-silent or something.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

[-- Attachment #2: emake --]
[-- Type: application/octet-stream, Size: 466 bytes --]

#!/bin/bash

make -j`nproc` "$@" 2>&1 | \
    egrep -v "^make|\
^Loading|\
SCRAPE|\
INFO.*Scraping.*[.]\$|\
^Waiting for git|\
^Finding pointers|\
^Using load-path|\
^Adding name|\
^Dump mode|\
^Dumping finger|\
^Byte counts|\
^Reloc counts|\
^Pure-hashed|\
^cp -f temacs|\
^rm -f bootstrap|\
^Dump complete|\
^rm -f emacs|\
mkdir -p ../etc|\
^LC_ALL.*pdump|\
^cp -f emacs.p|\
GEN.*loaddefs|\
^Reloading stale|\
^Source file.*newer than|\
^Directories for loaddefs"

             reply	other threads:[~2020-12-11 18:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 18:10 Lars Ingebrigtsen [this message]
2020-12-14 10:32 ` Script for compiling more quietly Gregory Heytings via Emacs development discussions.
2020-12-14 10:52   ` Gregory Heytings via Emacs development discussions.
2020-12-14 14:35   ` Lars Ingebrigtsen
2020-12-14 15:08     ` Lars Ingebrigtsen
2020-12-14 14:39   ` Lars Ingebrigtsen
2020-12-14 15:09     ` Gregory Heytings via Emacs development discussions.
2020-12-14 15:23       ` Stefan Monnier
2020-12-14 15:28         ` Gregory Heytings via Emacs development discussions.
2020-12-14 15:56         ` Eli Zaretskii
2020-12-14 16:07           ` Gregory Heytings via Emacs development discussions.
2020-12-14 16:49             ` Eli Zaretskii
2020-12-14 16:53               ` Lars Ingebrigtsen
2020-12-14 17:24                 ` Andrea Corallo via Emacs development discussions.
2020-12-14 17:55                   ` Eli Zaretskii
2020-12-14 17:41                 ` Gregory Heytings via Emacs development discussions.
2020-12-14 18:56                   ` Lars Ingebrigtsen
2020-12-14 17:49                 ` Eli Zaretskii
2020-12-14 23:36                   ` Stefan Monnier
2020-12-14 15:00   ` Stefan Monnier
2020-12-14 15:14     ` Gregory Heytings via Emacs development discussions.

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=87czzg8b8v.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@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.