From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0IZpJujz22PULQEAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 18:33:28 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oNZdJujz22O4NQAAauVa8A (envelope-from ) for ; Thu, 02 Feb 2023 18:33:28 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 83D4A3FFB1 for ; Thu, 2 Feb 2023 18:33:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNdHX-0002Ki-OY; Thu, 02 Feb 2023 12:21:55 -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 1pNdHV-0002Dr-Rk for emacs-orgmode@gnu.org; Thu, 02 Feb 2023 12:21:53 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNdHT-0001qE-JO for emacs-orgmode@gnu.org; Thu, 02 Feb 2023 12:21:53 -0500 Date: Thu, 02 Feb 2023 17:21:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1675358509; x=1675617709; bh=6WsQdpOmQVbAg9OdMfTuyJR9gB1RJrVJL2lHQhV4y8I=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=h9amRPj7O8BWWt6Ruuzo8vTJa4VJR7yWGA0yEj4VOZcwsGZSq2o5+JBJtn34dhe23 BES1+TF0Jnp7UgRkHHVdLoSRHipmqus6a39NPLcaXkvv3jrYaXsfdBKVwaRZPBJg/x 6D2qWJZsf+VFRz6vUarRvGIQ0fHx7h9hFCyBDv98j9osrniNE2Lq0aSENNxgS+rwOa WkU/JGSy0jts524TqCzhHhJkg1SC7hKDVNqYZQNC6DGZLjDBiNw7DBoRKq/VmJolOs kiKQqDH9jo5gS5gFS4zsZsNYdrvjPk+yCjUFJsmrwJKKNiQ/fwEE0Y1Tok8lUTSczd 4XM/MnMy1EWBQ== To: Ihor Radchenko From: Janek F Cc: Ihor Radchenko , "emacs-orgmode@gnu.org" Subject: Re: Properly handle defaults in org-set-property Message-ID: In-Reply-To: <87edr8pbdi.fsf@localhost> References: <871qs6sbxe.fsf@localhost> <5NC3yaCBwyYNnDeMmgLeBKjDoFEghs94aVR0RBOpgsYuezZ8_cMwTqKjNmgWBS22U8DWK2fa_kPie6If3wXgrFuleg02IeSEVzvmNC8xg4Y=@pm.me> <87edr8pbdi.fsf@localhost> Feedback-ID: 17130000:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=xerusx@pm.me; helo=mail-4322.protonmail.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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-TUID: SrY0yScLOyX0 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 ~ Janek ------- Original Message ------- Ihor Radchenko schrieb am Donnerstag, 2. Februar 2023= um 12:14: > Janek F xerusx@pm.me writes: >=20 > > That is exactly what I use, as you can see in my dotfiles: > > https://code.ftt.gmbh/janek/dotfiles/src/branch/main/.config/doom/confi= g.el#L293 > >=20 > > But it leads to the exact aforementioned problem... >=20 >=20 > May you please elaborate? What exactly did you do? What did you expect > to happen? What actually happened? (See > https://orgmode.org/manual/Feedback.html#Feedback) >=20 >=20 > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at https://orgmode.org/. >=20 > Support Org development at https://liberapay.com/org-mode, >=20 > or support my work at https://liberapay.com/yantar92