emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#45063: closed (compilation-bell)


From: GNU bug Tracking System
Subject: bug#45063: closed (compilation-bell)
Date: Sun, 06 Dec 2020 05:58:02 +0000

Your message dated Sun, 06 Dec 2020 07:56:36 +0200
with message-id <83h7ozbhpn.fsf@gnu.org>
and subject line Re: bug#45063: compilation-bell
has caused the debbugs.gnu.org bug report #45063,
regarding compilation-bell
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45063: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45063
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: compilation-bell Date: Sun, 06 Dec 2020 13:09:55 +0800
https://www.quora.com/Why-do-typewriters-have-a-bell
Well compilers should too!
Sure, at the end of a Makefile we could just put
      beep
but a new compilation-bell variable,
'always: ring after every compilation finishes
'long: ring only after compilations finish that took a "long time", that
   you probably forgot are still running.

And ring differently for failed compilations.

(setq compilation-bell-command "beep"); i.e.,:
(setq compilation-bell-command "/usr/bin/beep")

> How '1960's!

Correct.



--- End Message ---
--- Begin Message --- Subject: Re: bug#45063: compilation-bell Date: Sun, 06 Dec 2020 07:56:36 +0200
> From: 積丹尼 Dan Jacobson
>  <jidanni@jidanni.org>
> Date: Sun, 06 Dec 2020 13:09:55 +0800
> 
> https://www.quora.com/Why-do-typewriters-have-a-bell
> Well compilers should too!
> Sure, at the end of a Makefile we could just put
>       beep
> but a new compilation-bell variable,
> 'always: ring after every compilation finishes
> 'long: ring only after compilations finish that took a "long time", that
>    you probably forgot are still running.

See compilation-finish-functions hook, you can put there anything you
want.

> And ring differently for failed compilations.

The functions on the above hook are called with the description of how
the compilation ended, so you can vary the result as you see fit.

Closing.


--- End Message ---

reply via email to

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