From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iM8hGIDWxGXUGQEAe85BDQ:P1 (envelope-from ) for ; Thu, 08 Feb 2024 14:26:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iM8hGIDWxGXUGQEAe85BDQ (envelope-from ) for ; Thu, 08 Feb 2024 14:26:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IOb8L6Fy; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707398784; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5BNFkDSVFcHItqQ9UX3Amumatt01U08Y2KsEesD+zLg=; b=R0bH968MpIjuBBv243+kvLNXV9+//O87LWVppIP4+k5g6sg5aIkV7qE+hgE8g2APuOH8/P 0E71Aai55WALJxkzsaejQ5LIRFl5QHQB8ospdLTwOvq/ftK2jOexzQI5b12llB1CzbnZaT UcU6nwC6VNK2aUyM0UiNayCd188bIRu3iQ5WOWDm/0/eSjRwncS4xCMyq4b6XtF/4IEIUi LVdyDOa8nCK7kj4L5ZXrizmaoilfbWsrIB9I6qClBzBH9pCdyIcrO4QTWWB7EUAZUBVB69 /p+OlhFmbslPix0EgW/yYchO41R8xRex08JdTMRPvGB92nNCeV8aaeuZnQ/NmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IOb8L6Fy; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707398784; a=rsa-sha256; cv=none; b=ghFrAM/SfPphUM02WrR+NfWhiI/TG2p97iNgEMEMIN3kmIdu/Li1B2SIPimtfNnNppbPzq rNvUlYsNVvNbMLY+7k4D1hQqlR+ukXovkk5rSQAMCNa7rvFx6RzG4ESNYygOYjotVGI6dd Nfqs+tLHCXYWcEgZ3M817kWhU69HlhBS+6BFcKH1kAcDBxes64rxO1q5mJ68U/AcRXsyTj 5Mrs1wB4OiZuBmFZfCuWt02t9RezFpwfwf0jlQ45Ab7bga7LtotfiSTK6EQ+cmyk/DYetB vulQdxbUWlqD8fyfpTZScJ0NaLL9sof6mCcaMCOokMxp7MWnFSUaNnBZ/A/IIg== 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 356B53A9A2 for ; Thu, 8 Feb 2024 14:26:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY4PJ-0003Ae-Js; Thu, 08 Feb 2024 08:25:37 -0500 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 1rY4PH-0003AM-PA for emacs-orgmode@gnu.org; Thu, 08 Feb 2024 08:25:36 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY4PF-0001aI-SX for emacs-orgmode@gnu.org; Thu, 08 Feb 2024 08:25:35 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C63FC240101 for ; Thu, 8 Feb 2024 14:25:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707398731; bh=PTAYDf5oJS94kKwsXwDtkAdaVPrATQFi3zcZjnjT27s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=IOb8L6FywItHFOtElwsyAmjCjB+AIuKPDjBTKLHbGIVwhNzWMe42gdEZ3wKig1kqi hihg7Q2z+E7DJWv61ej5py3Lq4usM4P3n3RIZ8BHh1gU0J8Fv7tHhadgldPU+mo8Mr g2DOKunZpAWPGSBTFiZbW4/cdgrjCYcq9EiFLUAl9co6dqy5b8PPOSc42fVm2LNKGL qPkT2IK1f3UAAVpLBTu0o8YnijvlTLH81jY0Eidsekq0X4InPi6OJy2R5dEArmRatG kk98nFQsdRwb4MgugXPwiJ6IYpaIMRMlhbGUSnvm7NFZkw71UdjYcWJIYEhQlaLO08 SQHk04qDaFYDQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TVyQy6Z0tz9rxB; Thu, 8 Feb 2024 14:25:30 +0100 (CET) From: Ihor Radchenko To: Tim Wichmann Cc: emacs-orgmode@gnu.org Subject: Re: Question regarding org-capture-bookmark and org-bookmark-names-plist In-Reply-To: <87le7wkp72.fsf@arcor.de> References: <87le7wkp72.fsf@arcor.de> Date: Thu, 08 Feb 2024 13:29:02 +0000 Message-ID: <87bk8r2ig1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.89 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -6.89 X-Migadu-Queue-Id: 356B53A9A2 X-TUID: bN13r1gVBOpP Tim Wichmann writes: > during last OrgMeetup, I proposed a new user option > `org-refile-bookmark', similar to the already existing option > `org-capture-bookmark'. Setting this new option to nil, `org-refile=E2= =80=99 > would not create a bookmark when refiling. (Use case: I am using > alphapapa's org-bookmark-heading package and want to prevent that each > captured/refiled entry gets an id.) > > I was just about to send the corresponding feature request when I > stumbled across the documentation of `org-bookmark-names-plist'. It > states: =E2=80=9EWhen a key does not show up in the property list, the > corresponding bookmark is not set.=E2=80=9C > > So, there is no need for a new user option: I simply have to remove the > :last-refile key from the plist, and no bookmark will be created on > refiling. You are right. > My question: Is this the intended way to suppress bookmark creation? I think so. > ... If so: Why is there the extra user option `org-capture-bookmark'? > Isn't it superfluous, as the same behavior can be achieved by removing > the :last-capture keyword from the plist? We first introduced `org-capture-bookmark' and only then added `org-bookmark-names-plist'. Maybe we should obsolete `org-capture-bookmark' to avoid confusion. > ...(Note, moreover, that currently > the :last-capture-marker bookmark is created even in case > `org-capture-bookmark' is set to nil, see `org-refile'.) May you elaborate? Are you sure that it is still the case on the latest mai= n? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at