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 6L8sKxOgCGdYHwAA62LTzQ:P1 (envelope-from ) for ; Fri, 11 Oct 2024 03:48:35 +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 6L8sKxOgCGdYHwAA62LTzQ (envelope-from ) for ; Fri, 11 Oct 2024 05:48:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1728618515; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=W3cTltgvQMRvLI5Git+3Vrp1FYbtixWXJwmxCKpl+x0=; b=rvQfMMh4XNLjCy/EhV2v9PzdjaJrZDIiWafKILVkgfLwLuxVERFOWpesW7DT9vHELwSiks uZyYIby58OBcehpuDqkyUopgqjl5U3ycqbYymcqz7HQeuuxRBKHd4rU4ymmnAN+1oLIWCR 8GJSH1e660EDfMVc7Rhz3pgZr9ooDRtfQ48A9W2VecIONGfw2Rs6S6nmCjVGRaBrPRBLUI LuYu/9y3lzoh26rmUtQ1v+xUJeIgUuOVnv4wRl9KO6cjR8fFjok01L75kuvWOGBdiaOExE S0ZeUIR+0F1ev8DlUFV8t36bTnMTY5ejwI/nd86hPfHp9SajE2e6H6vUcDcXNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1728618515; a=rsa-sha256; cv=none; b=ArCrdW+O4ck4F8EDowQNQcNeayOl/xIb1kRjaAfhVp9ipFVPRn1b63E4Qnq2TT3jigkx+T TCZuLx9QG0+iMFQjeWdyP5lbdmqUFHPIulfnNF/fSRqPMAONNLn9rNMuh5ugoHf/sVhocq ZRKSJwsm7Dh0rYpLTLVbc5ucKXu96rgWRgWlR+z38ak0nPWyD0kctuyw1fJKn6z4TWvUk8 bZs9Jins6xlCJS30B+fg8ax84QyOf5PF/o5RKzwjL+t+m4GsE/fiC+MyunC2KgnT24Lizn VCAUD3KJATVm06BpzfajoXR4C180bUH8QTkO5oaS7TSnU0OJ9uEwSUDv56k4Xg== 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 2BEC97F950 for ; Fri, 11 Oct 2024 05:48:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sz6d0-0001JB-93; Thu, 10 Oct 2024 23:47:46 -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 1sz6cy-0001J3-NG for emacs-orgmode@gnu.org; Thu, 10 Oct 2024 23:47:44 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sz6cw-0005UC-P8 for emacs-orgmode@gnu.org; Thu, 10 Oct 2024 23:47:44 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id DFE33119E9DB for ; Fri, 11 Oct 2024 05:47:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9qwt5wuJEl6P for ; Fri, 11 Oct 2024 05:47:35 +0200 (CEST) Received: from localhost (unknown [89.151.23.235]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 2920919E8797 for ; Fri, 11 Oct 2024 05:47:35 +0200 (CEST) From: mbork@mbork.pl To: Org-Mode mailing list Subject: Setting buffer-level properties in code Date: Fri, 11 Oct 2024 05:47:30 +0200 Message-ID: <87plo75mi5.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 1.96 X-Spam-Score: 1.96 X-Migadu-Queue-Id: 2BEC97F950 X-TUID: Hi7Uj4/U6lAT Hi fellow Orgers, I know that I can say #+PROPERTY: name value somewhere in the buffer to set the property `name' to `value' for every entry (assuming I use inheritance, like in `(org-entry-get (point) "name" t)`). 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? TIA, -- Marcin Borkowski https://mbork.pl https://crimsonelevendelightpetrichor.net/