From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cKVLNRzgS2NTsQAAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 12:42:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CEcmNRzgS2ODFgAAauVa8A (envelope-from ) for ; Sun, 16 Oct 2022 12:42:36 +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 81DDC1EC73 for ; Sun, 16 Oct 2022 12:42:36 +0200 (CEST) Received: from localhost ([::1]:60400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok16J-0000kw-PW for larch@yhetil.org; Sun, 16 Oct 2022 06:42:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok15u-0000jL-Ui for emacs-orgmode@gnu.org; Sun, 16 Oct 2022 06:42:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]:32771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok15s-00009O-Qj for emacs-orgmode@gnu.org; Sun, 16 Oct 2022 06:42:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 28C25240028 for ; Sun, 16 Oct 2022 12:42:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665916927; bh=YBYo56yaCID0X4C9b0+fWDy96B/QLXSMNRZJzwhGiD8=; h=From:To:Cc:Subject:Date:From; b=pKgh8ZUv4XWZtn8g4+KY469k+ZtQ+flCSr5ol+lm1rCNioQbGIM5ivPh9i6wzxAra CBtXn9OK0qBm5wxwsxKR1JGkPnMvmy4VrrUzrtNkcCybQypJl3Sjs2fqACEVYyaLSe AjplNz+lkcTiTW0RprqC+lAjQVKstn9EuF9ZYRFJrP+Mj0X7Sm0xDZN/E7jk6G6ATg KgnIOCDRRt3eJTBEqApoRhNFVf43dnTs/Pd8SOvYffNQ2dRsYY0q1dm1jv+j1PVD8a XVC1P4d6gxtHwQr0YaMSGsDD6eMHbcroTwS/PaG+5FNVSLghREv9Dzhx/e9S6Ag1I+ xvihpFd/j/EVw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MqxWx5lwsz6tmf; Sun, 16 Oct 2022 12:42:05 +0200 (CEST) From: Ihor Radchenko To: Hu Lucius Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] fix `org-agenda-new-marker` In-Reply-To: References: Date: Sun, 16 Oct 2022 10:42:53 +0000 Message-ID: <87v8oknj6a.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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=1665916956; 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=Sc4UKM045OKmgnpGBgK0naNjYjHgrph0ohcncQ57uns=; b=sZdn8pbG+uu7TxHUVi174EjQvHb5uqc6jnrKSrgLMvqpQP0S6QKbXvJ2UYvYBGwUjU86yC EpY/d8uhMjY/f5yBzTD3P7lQW3VH18UKUriG8tTaP3n6/eUJOp0lytteB98Sig7n3K6n5g kM2OCBS8/lH8L10RV4BT0burmoSKBRNio0OASxBzbyGdzWxVwIIXkT7QeDHpJaP056Wfa2 PPRSC4bTtQC3QeyK360P32Vl6We2YXeu8Aa4gEh9OS0SSiUOSsbxx8x55hGJ0lBKnU/eLF DzcebchgqHNNYkfxAALgQ4NLsDlDbOggodeZSSzb+tCOFTASrzYgPJ8zNFIzqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665916956; a=rsa-sha256; cv=none; b=gzE+xMJoQkvDTSMl4ou2bScvC3oT9cRniZgbuS301YkIUX12boYIbwRoJ+LFePTbnKJIXw 63PEmMUTMGx+192974kFPqQEOLXDgCEHBsHh5Kgug9qbpxv59/j9m0DQMxMW8X20BsBtBu Y3If2pJE1eS8S+/ayz4IreEoIIScvGB5QwEbzXPTceccRqsupQA6rQJqrYkkaQGfyGzy2Y X51NrmTbVQluVqxfdtd/cxoU7nmkDj+IdubPStikC1f7dkVXo58Nw/xbsBBRSutx/PGgrh peTGSNjZnjsAtB2LsAVmyKO2DxGA/iu5XsZR7mWBAyZcWetUmqdPf9paAWQddg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pKgh8ZUv; 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: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pKgh8ZUv; 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: 81DDC1EC73 X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: /+9JmicbTsiI 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 calls it would > ends 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. Thanks and sorry for the late reply! I applied equivalent patch with the syntactically correct condition onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=87c294c7b6419e4b262fbcd6ecd1d535a8496af5 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at