From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#51132: Make sure user is doubly aware of finished complilations Date: Mon, 11 Oct 2021 11:21:04 +0200 Message-ID: <87o87vudbz.fsf@gmail.com> References: <87zgrg9hs0.5.fsf@jidanni.org> <87czocj6d9.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="343"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51132@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 11 11:22:28 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZrVr-000APB-6Q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 11:22:27 +0200 Original-Received: from localhost ([::1]:47172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZrVp-0005co-RP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 05:22:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZrVS-0005az-VV for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 05:22:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZrVS-00067K-Hc for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 05:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZrVS-0003C3-EY for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 05:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2021 09:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 51132-submit@debbugs.gnu.org id=B51132.163394407312194 (code B ref 51132); Mon, 11 Oct 2021 09:22:02 +0000 Original-Received: (at 51132) by debbugs.gnu.org; 11 Oct 2021 09:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:56593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrUf-0003Ac-Bl for submit@debbugs.gnu.org; Mon, 11 Oct 2021 05:21:13 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:34647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrUd-0003AO-4Q for 51132@debbugs.gnu.org; Mon, 11 Oct 2021 05:21:12 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id y3so20846868wrl.1 for <51132@debbugs.gnu.org>; Mon, 11 Oct 2021 02:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=MEPpf1oTIeau1QbJH/C4OraWuzXsCJHSjQJwVZ6rxl8=; b=ISSxTUwlu/a9J0RVTpeFaPf7C2GswtQTR8cqz+J/D39/PnIXMyVXVvwdXpgeIR2w78 XENnOAMjHhKXaL1D1aFdfy24fYOxYySZdTaWKdIK1pGKsvaLpjKi/LAp+PrV6/enT0da eg0U6nhaF/BqvjanFwtq5GlFyuwjHvJ88qvMveiOgZ50I9esCYcZZUhGR3pkaM5fA4UJ urN8TbwhwOPhf6ZxlHBI/lqqyUDmHaDbfRPwIb9ThzPuOVy0dTD+cafl8/KK6l/uHW/X 2vw5QsF858j+boe/rGOt08TS7IigLfCLceP7+8Q+H/62kFAR8fjNcZJRQEh1VKUgrhiu L8HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=MEPpf1oTIeau1QbJH/C4OraWuzXsCJHSjQJwVZ6rxl8=; b=zL7PeaeZgCBa8yiM62RFX2Go3XCA2ZU40skNskvi9p2ds0himp0PyA/2L2BsbcamQm FveLtzZEQ+UtxZn0j4TuK2W9HVomAHmQXc6ZrKw1IkUZAHzGxNHEqJ+Nqb2LrJbrv8lr pQqd2i/0b6/F4HzcUHbLs5IBzwkVbC5UwHarcHmMAdHEUCuG5VlOlesZ+6hbAm2MwIBK vDQ1F45BDROTLatg3YkMqTqfPxWf5TAyal7ZiAsP9u4AN2n+Cmg1wBiw21mFQpULb6RL KglnLN4sEgMi9RCFKrWtN2UCWiZdiDtRSiBTU2lJJWP+aimzPayyLswVzxrLAtL4PKRW 0W9g== X-Gm-Message-State: AOAM531XbNgpIazN+KjU4oWX1i9ws74gYuxdNuRRINr9eCrOVa1Wc/Cj cAQNeiDW79yeIeWI/GDw24ndk6+tig0= X-Google-Smtp-Source: ABdhPJy3mfNMqYNHzVBXZ1zYwqAhl9S6GNVKdISgKymqdvRmeCRuITRX9viGz3rLeiYxg/2eP9K4HQ== X-Received: by 2002:a1c:f00a:: with SMTP id a10mr19532028wmb.112.1633944065035; Mon, 11 Oct 2021 02:21:05 -0700 (PDT) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id c7sm9548847wmq.13.2021.10.11.02.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 02:21:04 -0700 (PDT) In-Reply-To: <87czocj6d9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 11 Oct 2021 10:46:58 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216868 Archived-At: Lars Ingebrigtsen writes: > =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > >> That's good. Because "Nobody is going to sit in the Laundromat watching >> the dryer spin." They'll be somewhere else doing something else. (I.e., >> they won't be staring at the *compilation* buffer.) >> >> OK, but then it disappears when the compilation is over. > > A message is issued, and I think that's sufficient. Closing. Note that you can customize compilation-finish-functions to do all sorts of things; you can e.g. send a desktop notification: #+begin_src elisp (defun my/compilation-notify (buffer results) (require 'notifications) (notifications-notify :title (buffer-name buffer) :body results :timeout = 0)) (add-to-list 'compilation-finish-functions 'my/compilation-notify) #+end_src ':timeout 0' should ensure that the notification popup remains until you dimiss it manually. Writing a function that adds =C2=AB "Compilation Finished" and red, and flashing, etc. =C2=BB to the mode-line is left as an exercise to the reader :)