From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Barbier Newsgroups: gmane.emacs.help Subject: Re: Waiting for 'compile' to finish Date: Thu, 09 Jan 2025 21:18:02 +0100 Message-ID: <67802efc.df0a0220.135ebe.4c33@mx.google.com> References: <87o70fn4v6.fsf@neko.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40611"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Marco Antoniotti , Tomas Hlavaty Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 21:18:45 2025 Return-path: Envelope-to: geh-help-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 1tVyzM-000ATt-GR for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 21:18:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVyyo-00084Q-09; Thu, 09 Jan 2025 15:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVyym-00084A-Kr for help-gnu-emacs@gnu.org; Thu, 09 Jan 2025 15:18:08 -0500 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVyyl-0002gu-9M for help-gnu-emacs@gnu.org; Thu, 09 Jan 2025 15:18:08 -0500 Original-Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3862d16b4f5so853370f8f.0 for ; Thu, 09 Jan 2025 12:18:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736453885; x=1737058685; darn=gnu.org; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=BnF76JuuNSCXy1Y0wOtr0ciT9vlyaD0ZaPlYWJE+VC0=; b=mhWrAQ9g1Qf9nGG4Fs7vpxcCVi6ky1PEMvVzTw2aBESSXB0W17gaI3pHHuPd6tsDqG UsZDXjsFSmnJtz5dg4micEHzgx7QdHzsroV3iXiA2I9ADdbvggNljPHqVgskxYLHoxuO y3YoP8Eix/Ti1Yik1c7ZhYwRisURRXpUUAW8GtSVxPJKqi2wtg/wfJ63NAGao9vpDvMB u0T4s9ec5YuY4aCnqhQaM8pChwDQoDlNUOQkZT8xGf+tVEjkuMSRNzsYRfcsxfnKHYl0 xe/w5pyrJXiFma0kmnR0MDmapmnfPvzeymcApTgphBRkqbi9cOdeYKcWHZPQGzGmZ9Nj shrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736453885; x=1737058685; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BnF76JuuNSCXy1Y0wOtr0ciT9vlyaD0ZaPlYWJE+VC0=; b=awEonU17M7EF+7UCoSspqoB4/DbrOnQ1w7XEFCsZbpca7Q+PdPzZPTl/rH4D7Ze0Ta R4bAYtoQBs6RIDpvz+QfLb60xmJJvcPzBkhlxwLQvCFrkBwAorOthsbRkgEiiQAMxlNr qmwKlYHSeU81xJcvuTByYeA6G+UjdKRGKSSnQHfAqecInqCw7QMlGhpiINBePerbCEE0 VGd8g3LwZotKQogDw6T7u/33jz0mHv6189bnjVObOjpj++aDDpuDwv23qCfYwnYJxCOi rSHfOsR89ZywPzljTfD2J0bCrAH9fXxqneZzrcs9IF0D20caXmF+r62+C7j4YuJAd4mU B3gw== X-Gm-Message-State: AOJu0Yy4O0bjZqYxuxr+C1BWyT8AUADs8ri8rBv9RBnzxn12PQ89tuTi C584zlT5Ckvy0Yok2oX7pAfyPOieOuoTRmFiMrW2bmEDKNW9o8og X-Gm-Gg: ASbGnctxwgh4eRTpJgX7ej9Lav7EU52MThz6VcFIkttRaLBxdUU7AohbNd/i702YJL+ WliyD8aqDiuGb47MDvCzRwtMuQBgmAmdNekozwjb+6UO0qg1rxiztOzZblsBsS8hj5jDTrA1aU7 Pl8V+o3XCSMMqfzozaPOtNXBV6sNErw4KT9CCA1/JiMKQeqApGJWze4CrjtrlIW+yovyv4/YTUk vYp0iTAankDgmfnaTCsdC0BVzXTj27tKg+q0dOr8oJD7fSFwgtua1g= X-Google-Smtp-Source: AGHT+IG58P9qUjldcHzFLemicIOsRQqMT6sJ2ALOv9mZu8UG+Xg3YA9QW6LvSc5gqr5CWsffyux10g== X-Received: by 2002:a5d:59a9:0:b0:386:3958:2ec5 with SMTP id ffacd0b85a97d-38a8b0faaccmr3342128f8f.28.1736453884842; Thu, 09 Jan 2025 12:18:04 -0800 (PST) Original-Received: from localhost ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a9407fd62sm833777f8f.92.2025.01.09.12.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 12:18:04 -0800 (PST) Original-Received: by localhost (sSMTP sendmail emulation); Thu, 09 Jan 2025 21:18:02 +0100 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x42f.google.com 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149185 Archived-At: Marco Antoniotti writes: > That is obvious. > > I meant "programmatically", as in: checking if the process/thread is alive > or not. You could add an advice around the function defined by the variable `compilation-exit-message-function'. Bruno