From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eLevNIMjTmNpeQAAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 05:54:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mLzQNIMjTmPP9gAA9RJhRA (envelope-from ) for ; Tue, 18 Oct 2022 05:54:43 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3DA039A56 for ; Tue, 18 Oct 2022 05:54:43 +0200 (CEST) Received: from localhost ([::1]:59684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okdgg-0003u7-1F for larch@yhetil.org; Mon, 17 Oct 2022 23:54:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okdg8-0003sb-3l for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 23:54:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okdfx-0003YE-EV for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 23:54:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 25B8B240101 for ; Tue, 18 Oct 2022 05:53:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666065230; bh=2bLfDVOZT1fv9f8PiiTgGEzYCMBt9drXCOrlGQv5+8Q=; h=From:To:Cc:Subject:Date:From; b=NC7MElPOiHItHJJ5IQqoFVlRwLFItm2VCdq84S2DeWYEv9qpJ4Q3v+0ki19HFCOXm nSYtoQU7SoRe/dmlgA8KtAINm0cEhVBY8RAgTm7JaqIZ4ca12uIVx57ALesU0qpQCR iBC9wdtfwAKQBHdnYXacmk1mGp4fweXgxdn6XJj0XWX0W5r04QZGXaxIm4nxMsCXyH hYD8LK5OrqHt9V0ykZN53Z7uGCsUdL1LmmFHMSTP8wTyZT1yFg2e4nxmU1XcsD7I30 9xcua3+0ZGJUgCyw52RUZXos0MwyMm0YzffrK+YPQrrOlD0Apuk30E1hjI6VDahTUh cI1SVVI1Z363g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ms0Mw41lwz6tqp; Tue, 18 Oct 2022 05:53:48 +0200 (CEST) From: Ihor Radchenko To: Hu Lucius Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org-agenda: fix `org-agenda-new-marker` In-Reply-To: References: Date: Tue, 18 Oct 2022 03:54:35 +0000 Message-ID: <87sfjlhjlw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666065283; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FcVXQ+402udfzUh0Bi6HrPzwCXzmtQ7HmP3wdPtTNho=; b=AuSL/iJwP89V+ZEA6K/rrH3sOiR5y4VfPCPayp8rQzaFXH9+Z+UgWdzlxbi4xO+zRtGPa9 xHOiXFqFDWfEJL28GMxJD7JjSh0r+jPzKTEtbiCYHQ8zFjeLcEK6WVfOjBclJIG7mUtOrW kQlWcFO9tu2W1tN4Vn3YT7+kV/9FFP/AmRaL51KaBMki5RfGVTGMiBi0ku7RkvgG9gD+mz dvlR7zGE3pduXrZSC1l7xLRm1/4CD7MBLdMgi+43VnU+ThjDsZ8yPX0q4jtx2smQZ1C3yS ar+kNUuxLYyLcqHM8Pd6ysMc5+lWWRmBNCYpJ1pzl5jqmaSxCgt7MuXe3nB2dQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666065283; a=rsa-sha256; cv=none; b=gon1wftQTng202oDLZB4sYtTSeM0DfLsMCpATk3gWY7FevE/97lowfLvETchuX5tgz/Ez4 LctBG4TIDQSZZ0+uZmboG1a5uxeI2gUqyxWn4FldIeVF9kjjnbk+tJLOIh975e90A0oQQy trq0KWqV9UuZ/Qhdbc2fMCh3xL4oFHqFLCbJa6NyNix++rjjdWnppuu/gXXmkakNhNA2N/ JcLDtZ7csOt5RRic24pJWScKeeXYHY9fRqRP8n7UnIl/wCFWUdDl8ibZGlUgrDM1P+rXRJ S7/HcA95FFM97sx/QrPdUShIDwmqpTrDOA0jYz3/6+bo16ZHccZwfuq/Tbkv9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NC7MElPO; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NC7MElPO; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3DA039A56 X-Spam-Score: -4.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: OI14yYvzodtV Hu Lucius writes: > In some cases, `org-agenda-buffer` is killed while the symbol itself > is still non-nil. `org-agena-new-marker` and anything that calls it would > end in a message of "Selecting deleted buffer". > > This commit simply added an additional test that > > (buffer-live-p org-agenda-buffer) > > should also be true. > > P.S. I've sent another patch with the same subject a few days earlier. > But that contains an error. Please dismiss that one. For record, an alternative patch has been applied in the other thread. See https://orgmode.org/list/CACDPnMHOfUmO4sjer_pcox5Z5sodkVN-UW29AAYdL8V-iOiGoA@mail.gmail.com -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at