From unknown Sat Jun 14 05:02:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45063: compilation-bell Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Dec 2020 05:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45063@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16072314085106 (code B ref -1); Sun, 06 Dec 2020 05:11:02 +0000 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?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson 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-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 unknown Sat Jun 14 05:02:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Subject: bug#45063: closed (Re: bug#45063: compilation-bell) Message-ID: References: <83h7ozbhpn.fsf@gnu.org> <871rg3tt98.5.fsf@jidanni.org> X-Gnu-PR-Message: they-closed 45063 X-Gnu-PR-Package: emacs Reply-To: 45063@debbugs.gnu.org Date: Sun, 06 Dec 2020 05:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1607234282-9708-1" This is a multi-part message in MIME format... ------------=_1607234282-9708-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45063: compilation-bell which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45063@debbugs.gnu.org. --=20 45063: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45063 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1607234282-9708-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1607234282-9708-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1607234282-9708-1--