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 ms13.migadu.com with LMTPS id WJepEUzNp2bLKgAAe85BDQ:P1 (envelope-from ) for ; Mon, 29 Jul 2024 17:11:40 +0000 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 WJepEUzNp2bLKgAAe85BDQ (envelope-from ) for ; Mon, 29 Jul 2024 19:11:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.eu header.s=selector1 header.b=dgTaJLlR; 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=runbox.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722273099; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RiOk38T1scGYq0q0rU4HqtaaRGcD+Bswoys4nJpt3Nc=; b=K2LV5B/IwvBXCgGjuWGxLR7hrU/DzPWVqfD3SjgPbWnAVZ3pyxBUWk+W7BsSepz6UupJml iWGnAXy426trymDoiINUZ1y35mBINPVyHwXWuMfGeMllBxzZc/wxBi2rlvwpmspXbDkSSQ apYjVF+MsgkUQ+MTOK5epQJjPkdfIBnEYQ5p1NKY5+OtN8dsQBMxR15Vb2RQR6YtzI3ZrD xXImJhr7+zNj5ItXVbsTsgdCNlW2z7lITIbN3JayOUTzW6Kw4HMD2KwIFDV6QxC7rIrxhg 3bCNFp4HF74NG5VysGL1g9ncu0cTz1yFkDwYEZ3j0VSj0ZflS6UwxrdcTcXkkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.eu header.s=selector1 header.b=dgTaJLlR; 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=runbox.eu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722273099; a=rsa-sha256; cv=none; b=rSvHEwfO7mwIadPrl+glWxjDyE43mR6LXQS52F83DKQeyiDBQF7UFJ5DU88AwEhQM7iaa/ jH5Ae0SQOV9+f6Gy3z7AMG/ObMPJUEGT8t8zngge0MC6MQOjoFSi2ffZdOnmz4X5dmQ2ta q2sVigsvl/BlsKUkhvq30X54ALVZHsLCgNfsOSKVMPnUzlubDZsBNmQov/yz9duaTIa8Dz tcU2hqie0fFC7ZbjfxS3+R/rViVMag8TnWQPhiBh9COHt53cDCclrHbuYkGKok9KWz8f5m 91pOtUAiNYcsykm4b1gX0GPFC+iFwbaW7HYttzw7RAdXIxbt4sU+2OQVGRHTOw== 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 5E5F413331 for ; Mon, 29 Jul 2024 19:11:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYTsn-000096-6C; Mon, 29 Jul 2024 13:10:01 -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 1sYTsl-00008d-LE for emacs-orgmode@gnu.org; Mon, 29 Jul 2024 13:09:59 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYTsh-00054F-N7 for emacs-orgmode@gnu.org; Mon, 29 Jul 2024 13:09:59 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sYTsd-004gxg-G0 for emacs-orgmode@gnu.org; Mon, 29 Jul 2024 19:09:51 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.eu; s=selector1; h=Message-Id:In-Reply-To:Date:Subject:CC:To:From:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=RiOk38T1scGYq0q0rU4HqtaaRGcD+Bswoys4nJpt3Nc=; b=dgTaJLlRrFaiSDR5pF+oHIAcUG zUngveUt+UwelJQ+ZoVNdi/QiFEZH29MyAHQpRLVbXiuZKPm3O8cDEfrQBNg1KcGMNxb4VbZOa+gL 4QNPS/XQ5sobqmDP2IlmT56SKVtb/jRHkUzDDjEcBC9oiy5utXdFLvFdBV3Hp+ge+Odss+a0cMYRl 3Bez91lRmnMyOoIlMByRpSsYA4qBhdf6LZFaLxfNpcZP8Gu2v4tInt57IX4Y0d7eJknkVeA+Bj3f3 GSb1pmcn3D7DlONEw3SUseK09VXERsW8eKnKnnblqLCE4lnCqOOBAtFDzS9wSmOcks2zopuBp/I9g VRoBR25Q==; Received: from [10.9.9.128] (helo=rmmprod06.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sYTsc-0005zM-J0; Mon, 29 Jul 2024 19:09:50 +0200 Received: from mail by rmmprod06.runbox with local (Exim 4.86_2) (envelope-from ) id 1sYTsc-0007Iw-HT; Mon, 29 Jul 2024 19:09:50 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (1196375)] by runbox.com with http (RMM6); Mon, 29 Jul 2024 17:09:50 GMT From: "=?UTF-8?Q?Martin=20Edstr=C3=B6m?=" To: "Sébastien Gendre" CC: "emacs-orgmode" Subject: Re: Properties drawer at buffer/file level Date: Mon, 29 Jul 2024 19:09:50 +0200 (CEST) X-RMM-Aliasid: 1196375 X-Mailer: RMM6 In-Reply-To: <87msm0xk2s.fsf@k-7.ch> Message-Id: Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=meedstrom@runbox.eu; helo=mailtransmit04.runbox.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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-Queue-Id: 5E5F413331 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-TUID: /USRncdSBAn6 The property drawer has to come first for technical reasons. Just try manua= lly moving the property drawer beneath the title, then do M-: (org-entry-get nil "ID") and what do you get? Nil. Martin On Mon, 29 Jul 2024 18:02:35 +0200, S=C3=A9bastien Gendre wrot= e: > Hello, >=20 >=20 > If I set a property with `(org-set-property)' when the point is at the > top of a buffer, before any heading, I got a property drawer inserted at > in the first line of the buffer. >=20 > But if I already have buffer settings, like "#+TITLE:", the property > drawer is put before these settings. >=20 > Is it possible to tell Org-mode to put the buffer properties drawer after > the buffer settings=C2=A0? >=20 >=20 > More context: >=20 > I try to use Org-roam to take notes about books I read. With this, I got > 1 file per book, with the title of the book set as buffer setting > "#+TITLE:". >=20 > But when I add other information (like author, editor, etc) > into a property drawer of my note, these additional info are inserted > before the title. >=20 > On a new note, I got this: >=20 > :PROPERTIES: > :ID: A-unique-ID > :Author: Author Name > :Editor: Editor Name > :END: > #+Title: Book title >=20 >=20 > Instead of this: >=20 > #+Title: Book title > :PROPERTIES: > :ID: A-unique-ID > :Author: Author Name > :Editor: Editor Name > :END: >=20 > Which is visually very different from what I got when the property > drawer is set for a heading. And the actual result feel less intuitive > than what I got with heading. >=20 >=20 > Best regards >=20 > ------- > Gendre S=C3=A9bastien