From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AO17Gdzz3GM6ewEAbAwnHQ (envelope-from ) for ; Fri, 03 Feb 2023 12:45:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iAx6Gdzz3GOEXwAA9RJhRA (envelope-from ) for ; Fri, 03 Feb 2023 12:45:32 +0100 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 0BEEE3F3BE for ; Fri, 3 Feb 2023 12:45:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNuUb-0008Rc-6e; Fri, 03 Feb 2023 06:44:33 -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 1pNuUZ-0008RF-F0 for emacs-orgmode@gnu.org; Fri, 03 Feb 2023 06:44:31 -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 1pNuUX-0002at-CO for emacs-orgmode@gnu.org; Fri, 03 Feb 2023 06:44:31 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D89E02401DD for ; Fri, 3 Feb 2023 12:44:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675424666; bh=AAxeB3hOOTlMBnP4MgXYx0iNnqvYvgPz3IbGe8wXjfs=; h=From:To:Cc:Subject:Date:From; b=AWKMG54sLpxCiHgpHGjh1MbF7DmEO0vb7dWmlzp3tWdpob2FJ/XU8sVGdD9r1Rr4S gJxKgCiQtvpwi8imfPywmJ7Piii9UwXgWJ6ugVSfkNhEC11uoBznaR6JYrxmuHdxE6 kxsCf1bmTcNttFoEg4Sm85jk7t0ZpuX3YuojvtBfqZVgYIPRqkDxcrJiiEL32knVdO YFSW8a5kUd9VvfOZW59pScnSGSugvbUrcc4dpL1sMzbj8hYy1UuDbiUpc/yf3xTuPZ /tXCoAjW84kNJWa5felvMyteAN+CTYYn/d30ZklV41wLFCDU/wijDSQRhkgB4n5RKN 8tIhEsqj0Y0FA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P7Yj54yd2z9rxS; Fri, 3 Feb 2023 12:44:25 +0100 (CET) From: Ihor Radchenko To: Janek F Cc: Ihor Radchenko , "emacs-orgmode@gnu.org" Subject: Re: Properly handle defaults in org-set-property In-Reply-To: References: <871qs6sbxe.fsf@localhost> <5NC3yaCBwyYNnDeMmgLeBKjDoFEghs94aVR0RBOpgsYuezZ8_cMwTqKjNmgWBS22U8DWK2fa_kPie6If3wXgrFuleg02IeSEVzvmNC8xg4Y=@pm.me> <87edr8pbdi.fsf@localhost> Date: Fri, 03 Feb 2023 11:45:01 +0000 Message-ID: <87cz6rnfb6.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: -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_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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675424732; 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=cMoCAvN12Glc9SmZwmERoTYIpreSVNVov5bJ4T9E8nY=; b=XQbTDyET4T/54bJ9Cmho9HUNBd1gwY3pYwkEab/KKS/kkoFILavDN1nnG88PCuJuvDLbHj D8Fo6sjWfJu2VOGP6MuhHleKNRRnpNU0hECYS56cv/HPFsDdm+EFSN2llYDyr4Y8pAfizK +D6SbZi+7gh9Mr8UGeMBVXTZ8kqdejgGUzj7M53fc+p/+nT5MXpUfBZbEYXf30M1hLaNR3 ZfcGyAiOlWMTGBggIprBkL7kgygmZ0xR/N40Uo7wco/in4gs/5bFRkjKlc2/er1u02oarA FPbHeOmZrATcSAN7TGyK7ow6JIsonaUT3J9ouLlAmSX7Fev+u8UGvxcQoMasKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AWKMG54s; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675424732; a=rsa-sha256; cv=none; b=ebKOuJ9pej3LfRsY4h5mchUk6ZS0Z+TpEtzJFrqovzTaDYbcelJXXJOW5XHcRhvJv8b5yI f5VHnqLwT/JVjlaZyN4vMriDkXsKZlOcsbQtCdEyxN3OAvXkQL0UbTlthqZR57z8cPMpKs Ak1FLMpfWfLytNVSpSr1SuvUVK5JR1Buedb+Plov2R2llG+pF3Wjr1kgTyldVZB3l25Fte mHdqM8Y0a0BeK5bF9cDS/ch0dqLOEDv+wZQuCErMx+tTrrTko2trbGdTlQp9kro+SMk3Us rofNLiiinJjpuZ3j17VKpPRh5ciJck+hSzqF1LVYNiHBYjQdE0b2Woi0NNbzDw== X-Migadu-Queue-Id: 0BEEE3F3BE X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AWKMG54s; 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: -11.34 X-Spam-Score: -11.34 X-TUID: qbRDXZeqjais Janek F writes: > 1. Put the cursor on a heading that does not have an id > 2. Invoke (org-set-property "ID" (org-read-property-value "ID" nil "default-value")) via keybind or Alt-: > 3. default-value is not within the list of suggestions Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0522c1850 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at