From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Laurence Warne Newsgroups: gmane.emacs.bugs Subject: bug#59307: [PATCH] Cancel proced auto update timer if no proced buffers are open Date: Wed, 16 Nov 2022 11:57:09 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000c0e4a305ed952ca9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10830"; mail-complaints-to="usenet@ciao.gmane.io" To: 59307@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 16 12:58:17 2022 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 1ovH3Y-0002dz-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Nov 2022 12:58:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovH3P-0002Wj-0F; Wed, 16 Nov 2022 06:58:07 -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 1ovH3M-0002TL-Ua for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:58:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovH3K-0000hj-5L for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovH3J-0004AY-Tf for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Laurence Warne Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Nov 2022 11:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59307 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166859985015983 (code B ref -1); Wed, 16 Nov 2022 11:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2022 11:57:30 +0000 Original-Received: from localhost ([127.0.0.1]:56249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovH2n-00049j-RO for submit@debbugs.gnu.org; Wed, 16 Nov 2022 06:57:30 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:33818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovH2l-00049b-Je for submit@debbugs.gnu.org; Wed, 16 Nov 2022 06:57:28 -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 1ovH2k-0002Aq-Lf for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:57:26 -0500 Original-Received: from mail-ua1-x932.google.com ([2607:f8b0:4864:20::932]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovH2f-0000bM-Ru for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:57:23 -0500 Original-Received: by mail-ua1-x932.google.com with SMTP id y15so3389634uan.6 for ; Wed, 16 Nov 2022 03:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=nnr7C+y2j92eW2DbxSbLRGcYb6U+7lxy0EfRcpHuUrM=; b=ofoHfUH6EU7UcRW2kkAWEeIiAxGC0iWi7ru9lyRLxjYrkVOIHxvHfmfCIwZqCDO53p AukOGL3lV8BFAVAIOfCqk03xI1q+cnjqlP/zmnOhJ+gxYrkMe2BEKURbTYAOGwTfM3Oe HlQcagg8wlLsdO6XQ7cjgrg19/0jUfJ8caB4bw0fj6xRy70N51AiRriTN9p/Cah1eEtT kReX5wfXyUr4Ts+c5hS2VI+isD1l3jasBFifPVcH/V5gzJ3YYnceJ/0ajZWqszJ4RyzF TzqH9k++trCjkO3SvguI1LLwElrqBD6gZ4uaNKIuQBN+Hft+iOPkFAY8gGnhOt2BlmLb B4Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nnr7C+y2j92eW2DbxSbLRGcYb6U+7lxy0EfRcpHuUrM=; b=ajh2ukzhO21I7nfR/qFbpodF6ZZTb0dlU+sr65SztwIE8EI1ZFx7V4SXnLDGY+92BM snP0iPg+Q4QiFP9ICvFqszO08+plO9xlsjHwmWigNsprrcXe3LYge7kTJw4jGZ93sxFD 8X65f3B3FRaNZSfiqH8EpbQnVD1ixq510CVuMnpjpFILod1lZNGDCDdRM4VzjEM+jUqJ fsR3p/orotGS45zB7dYq7bCDCv5+r0IhP276VQevfI2M609wyhJkGwujqQE/XPmDt23i v/onCrV+Y0fbMzOV3D6zHfWxUthkeIs91e2jwvQxLldc7sIGfsc0IxZyp42t4txaec/h +qtw== X-Gm-Message-State: ANoB5pmKv8wZL5jSX57XU64E6wMncHwglDF45bDIbx1V7w5ZhwsBpUZ3 NizNpKoxm2S4R5RTIe0dTNRwlXAbBpYGC3m63BDGqeMC X-Google-Smtp-Source: AA0mqf7q+weWTXMWa4YHx3ls2DhQaHQPb3iS3CTCSKC1CmFgcDtJdiSv6rzG8DzBxS7OCYneaTfc8h0pH+d9g/B7LJc= X-Received: by 2002:a05:6130:1096:b0:3d6:45ee:7efc with SMTP id cd22-20020a056130109600b003d645ee7efcmr12939735uab.86.1668599840295; Wed, 16 Nov 2022 03:57:20 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::932; envelope-from=laurencewarne@gmail.com; helo=mail-ua1-x932.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, HTML_MESSAGE=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: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248002 Archived-At: --000000000000c0e4a305ed952ca9 Content-Type: multipart/alternative; boundary="000000000000c0e4a005ed952ca7" --000000000000c0e4a005ed952ca7 Content-Type: text/plain; charset="UTF-8" Hi, this patch cancels the proced auto update timer if it's detected that no proced buffers are open. Thanks, Laurence --000000000000c0e4a005ed952ca7 Content-Type: text/html; charset="UTF-8"
Hi, this patch cancels the proced auto update timer if it's detected that no proced buffers are open.

Thanks, Laurence
--000000000000c0e4a005ed952ca7-- --000000000000c0e4a305ed952ca9 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Cancel-proced-auto-update-timer-if-no-proced-buffers.patch" Content-Disposition: attachment; filename="0001-Cancel-proced-auto-update-timer-if-no-proced-buffers.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lajl7dz00 RnJvbSBkNzMyZDQ3YTkxN2I2NmVlZDZhNWFhYWE3N2FjN2MyZjI4YjA4NjBkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMYXVyZW5jZSBXYXJuZSA8bGF1cmVuY2V3YXJuZUBnbWFpbC5j b20+CkRhdGU6IFR1ZSwgMTUgTm92IDIwMjIgMTg6NDg6NDAgKzAwMDAKU3ViamVjdDogW1BBVENI XSBDYW5jZWwgcHJvY2VkIGF1dG8gdXBkYXRlIHRpbWVyIGlmIG5vIHByb2NlZCBidWZmZXJzIGFy ZSBvcGVuCgoqIGxpc3AvcHJvY2VkLmVsIChwcm9jZWQtYXV0by11cGRhdGUtdGltZXIpOiBjYW5j ZWwgdGltZXIgaWYgbm8gcHJvY2VkCmJ1ZmZlcnMgYXJlIG9wZW4KLS0tCiBsaXNwL3Byb2NlZC5l bCB8IDE3ICsrKysrKysrKysrLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMTEgaW5zZXJ0aW9ucygr KSwgNiBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9saXNwL3Byb2NlZC5lbCBiL2xpc3AvcHJv Y2VkLmVsCmluZGV4IGE3NzRmMmRkMWUuLmQwZTU1Yzk0MDIgMTAwNjQ0Ci0tLSBhL2xpc3AvcHJv Y2VkLmVsCisrKyBiL2xpc3AvcHJvY2VkLmVsCkBAIC03NDAsMTIgKzc0MCwxNyBAQCBwcm9jZWQK ICAgICAgICAgIlR5cGUgXFw8cHJvY2VkLW1vZGUtbWFwPlxcW3F1aXQtd2luZG93XSB0byBxdWl0 LCBcXFtwcm9jZWQtaGVscF0gZm9yIGh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CiAgICJDaGFuZ2Ugd2hldGhlciB0aGlzIFByb2NlZCBidWZmZXIgaXMgdXBkYXRlZCBhdXRvbWF0 aWNhbGx5LgotLSAKMi4zMC4yCgo= --000000000000c0e4a305ed952ca9--