From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 00:10:08 2020 Received: (at submit) by debbugs.gnu.org; 6 Dec 2020 05:10:08 +0000 Received: from localhost ([127.0.0.1]:48671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klmJE-0001KG-0X for submit@debbugs.gnu.org; Sun, 06 Dec 2020 00:10:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:42170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klmJD-0001K7-2w for submit@debbugs.gnu.org; Sun, 06 Dec 2020 00:10:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmJB-0005j6-Pn for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 00:10:05 -0500 Received: from aye.elm.relay.mailchannels.net ([23.83.212.6]:57791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmJ9-0001rm-E6 for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 00:10:05 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C1D7B10111B for ; Sun, 6 Dec 2020 05:09:59 +0000 (UTC) Received: from pdx1-sub0-mail-a36.g.dreamhost.com (100-96-22-168.trex.outbound.svc.cluster.local [100.96.22.168]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 69F70101149 for ; Sun, 6 Dec 2020 05:09:59 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a36.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Sun, 06 Dec 2020 05:09:59 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Tank-Illegal: 6294c73e5201265c_1607231399647_2846037179 X-MC-Loop-Signature: 1607231399647:920612767 X-MC-Ingress-Time: 1607231399646 Received: from pdx1-sub0-mail-a36.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTP id 2EB2B8240B for ; Sat, 5 Dec 2020 21:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=2c1gpqyXklSaEnA/Xt7sql2J37Y=; b=jlvRx77Htw3aoBhQ BX4tLcP6fWBpG2yHw1/usW+8lTwJrhVSKifOqhrl7CYeEsdbeB7YhlA9XkAohm+5 VHFpz1a8zVDzt+ZzgXi+dUu6Renx+AL6iu8xL8vh48snSBv1i7t7zEwxBzmMPH5x sBRHQ8EAqDrRxw1Vxu8ip3RYKjo= Received: from jidanni.org (114-26-40-246.dynamic-ip.hinet.net [114.26.40.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTPSA id E761082375 for ; Sat, 5 Dec 2020 21:09:58 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a36 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: compilation-bell Date: Sun, 06 Dec 2020 13:09:55 +0800 Message-ID: <871rg3tt98.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.212.6; envelope-from=jidanni@jidanni.org; helo=aye.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 00:57:04 2020 Received: (at 45063-done) by debbugs.gnu.org; 6 Dec 2020 05:57:04 +0000 Received: from localhost ([127.0.0.1]:48736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kln2e-0002VL-5B for submit@debbugs.gnu.org; Sun, 06 Dec 2020 00:57:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kln2b-0002Uq-Vh for 45063-done@debbugs.gnu.org; Sun, 06 Dec 2020 00:57:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60451) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kln2U-0001Oj-Rr; Sun, 06 Dec 2020 00:56:56 -0500 Received: from [176.228.60.248] (port=3086 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kln2O-00036u-Lh; Sun, 06 Dec 2020 00:56:52 -0500 Date: Sun, 06 Dec 2020 07:56:36 +0200 Message-Id: <83h7ozbhpn.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson In-Reply-To: <871rg3tt98.5.fsf@jidanni.org> Subject: Re: bug#45063: compilation-bell References: <871rg3tt98.5.fsf@jidanni.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45063-done Cc: 45063-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: 積丹尼 Dan Jacobson > > 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. From unknown Sat Jun 14 03:56:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 03 Jan 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator