From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SEenD3olCmfSkwAA62LTzQ:P1 (envelope-from ) for ; Sat, 12 Oct 2024 07:30:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SEenD3olCmfSkwAA62LTzQ (envelope-from ) for ; Sat, 12 Oct 2024 09:30:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=quanticle.net header.s=fm2 header.b=qjOJ4VM+; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="X Jn86x8"; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728718202; 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=4xv8xPuElu+pu0+Z1M/DH/lioLZx/G9AJfdadevl7nA=; b=hljeBMHU4BIXPxqvXPfjEvZHuQ08+qgSn7Sm3flOhIMUdHH+UC6tYzzxc+cp12iwsVPJsI dNrKUVZ1y9zsW6Lj6IhaYFMbK+Y43TsbSuo/8drvS+zbCatmX7nMsr9x/nsIUizxTfAYWv 5ZM95o5cEhp+U9pkuSfDDqJgGlEJdwkIToDG31SHB9U8xdVqPF9azGrvkvKZd1pAqiz1N4 +MYfxkPr2c/hWTV707q5cGPLGi2YYuEpkieAX+aOt1WKt8l9rJsvIz3w9gts8xzxyF5SFS mFGNtH++Qszks3QMk3OEymBLh0eif4EyD7bdDwngd4LwF8U/f4CkKWDU6bCcVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=quanticle.net header.s=fm2 header.b=qjOJ4VM+; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="X Jn86x8"; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728718202; a=rsa-sha256; cv=none; b=N6FoSRvCg+KpruaYQLOyGaOYeoK5eGN8IHzKgvP93u1Fnp1CcYPbQMNkV8biuszNooK5HA bVPvZP3Kzs7E9qj3jSPn6V8O6AcxxwipAcuGT8LBwQ/W4V35zncIpn6dQyVx9UG6kEL+T5 ftw3NRtEBuZai/MZEhqjBelQDcckQ2hHfJy12DDTGO2n/CczAum2Pi9bgnYSPa3XbWjk28 MMnsZIz/4oosVVCUdKy1JXzR+imhi7R618EIne/NIAModiyx1PpyHfK3FoJvczVE3Ppcqu slnuDKuN71YeZ0zdQqKW5pSGHYMY3gZSwrO7uU0yVcj7DviYasJhvJD/889sbA== 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 52DB54544B for ; Sat, 12 Oct 2024 09:30:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szWYt-0001k2-5x; Sat, 12 Oct 2024 03:29:15 -0400 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 1szWYp-0001jq-6r for emacs-orgmode@gnu.org; Sat, 12 Oct 2024 03:29:12 -0400 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szWYn-0003Bv-GQ for emacs-orgmode@gnu.org; Sat, 12 Oct 2024 03:29:10 -0400 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.phl.internal (Postfix) with ESMTP id 08DC213801D6; Sat, 12 Oct 2024 03:29:07 -0400 (EDT) Received: from phl-imap-12 ([10.202.2.86]) by phl-compute-08.internal (MEProxy); Sat, 12 Oct 2024 03:29:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanticle.net; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1728718147; x=1728804547; bh=4xv8xPuElu+pu0+Z1M/DH/lioLZx/G9A Jfdadevl7nA=; b=qjOJ4VM+DM4VTGLKgqlHXv4TKVDo/clzyzMvJ4Mjpq55toev oqLSgqLPo5u7Y9xc9SZpfPoJB7KHBA0HAohZaDzgsbkkv7DSSvehRF8ZjCxvITs7 lWZlUBmSDdLU0nE9MV1B/LkR67yYncdsrAAZKsb6VBKvtcPpJsX/oS+vABDbM/eJ Qi4mIu435cIhVm9aOPRi/H5ErS35JyHjOrbVOtqA3l5Gs7dNhA7uNR+NR5W1wvvb iZokvyWgir7BfHVD3qkVDtLH+itQi2Av3vysdfJXw+241INxIvOSWneO4TwMycpV WLgNbzOsh1PCsDwlkumpu4IQESLKHBKjcYzZfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1728718147; x= 1728804547; bh=4xv8xPuElu+pu0+Z1M/DH/lioLZx/G9AJfdadevl7nA=; b=X Jn86x8vHSYOwNdU5TVwXARTkACSFd6ASCrjRX+le/c91bJ2jTy3b/xRtrtKBqK64 TJ4VfveDh9MJjmv2uwOqA3+hw13H9jYTB6mt2fzWa+wlmcNp/Rx39vx7FFQW7LZm gpSMeW3NbaRenm6xLLt15xv5ze0ylPi2ftVccZN2N+vBCp/xR1IItG6jFL5w1CAD 6RbK9ayPMQmaFIC171asG20siocFEgwRJFN/hT3tnGdmhIiC0fzwxmIkZz7x7kOG lswTypC9cGFMDxB2NT8cXJGYrs2jG4Sdirs/nSdJ//9WFzsl6AkzMrTJgb4dkrZU iLMWbgKx8xfAmJSGMEkWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegtddgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedftfhohhhithcurfgrthhnrghikhdfuceoqhhurghnthhitghlvgesqh hurghnthhitghlvgdrnhgvtheqnecuggftrfgrthhtvghrnhepgeetjedvgeegtedtgfel ffetfefgvddugeetvdejhffgtdevjeeukeefjefgueffnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepqhhurghnthhitghlvgesqhhurghnthhi tghlvgdrnhgvthdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopehm sghorhhksehmsghorhhkrdhplh X-ME-Proxy: Feedback-ID: i0db1457f:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 3DD451C20066; Sat, 12 Oct 2024 03:29:06 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Sat, 12 Oct 2024 02:28:46 -0500 From: "Rohit Patnaik" To: mbork@mbork.pl Cc: "Org-Mode mailing list" Message-Id: <87d252e1-5743-4ba3-9c3f-cad6facd35b6@app.fastmail.com> In-Reply-To: <87plo75mi5.fsf@mbork.pl> References: <87plo75mi5.fsf@mbork.pl> Subject: Re: Setting buffer-level properties in code Content-Type: text/plain Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=103.168.172.146; envelope-from=quanticle@quanticle.net; helo=fout-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.72 X-Spam-Score: -1.72 X-Migadu-Queue-Id: 52DB54544B X-TUID: 9bKzbiKBvfCD > However, what I need is to programmatically insert or change that line > to set or update the property. Is there a built-in function for that or > do I have to search and update that line myself? I would look at `org-entry-put`. It seems like it does what you need --- it takes an element, marker or buffer position, and sets a property there, creating the property drawer if necessary. Thanks, Rohit Patnaik