From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QM4IIFYvqmabXQAA62LTzQ:P1 (envelope-from ) for ; Wed, 31 Jul 2024 12:34:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QM4IIFYvqmabXQAA62LTzQ (envelope-from ) for ; Wed, 31 Jul 2024 14:34:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector1 header.b=NMtadTk7; dmarc=pass (policy=quarantine) header.from=runbox.com; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722429270; 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=i5XQJ1pO2hmwg4nszQYZR624BQ+kyKKqrMxWHP9sZ44=; b=bfuGJ5lXKYonwJM3zVDp7ww2YgIb8v1KXIsIkfJCXi/sNT1lFzPCKChfW4YHGVxkG2+42W wAOYY13215HBUQ3Qx5j9QsU3Iytz5fJAMTmKwTFFwVpKARofiO/9gB1MeqCRw0aQWR9QJy 4Oh96705xik6/DD0FpFYVsDX6pCFUMAcze+3QdXpGrH72O86hWkO5+WsGJJGtWND/Jisju qRcsxkEsUGNjL45vVzAlMUA1PB7MwYN5wc/H00u4x2khotuSfybbECU5f+uxB0/jTOsBRZ Yh2iAe7uQoNDy4X3fFGaTZcbJefO2M0hwwXGu9hzUG086VLQZZ32qLCLmLIsCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722429270; a=rsa-sha256; cv=none; b=mC3Xrh36+TibYneeQlam3qu4j7zuuE0HLTxYKDMQWsTohbC0BKVEkhdatpEkiLXgbe2BiX bKWAuQGK7dj3YCtIzxrIk9NSAJoi0xNTkpuO41HxpA3eqlq2fz9J6FdKIKVJblfu1TLFGx q80rq/5cwq6vqFdbMzIOjRFixxli3339mCSahns5xMQZS3uJLGDqJi3HZEgbtN6E8H+347 ArXtrJoxedVCO5Klu9ZlmeMSQB92tu/gDyknXzR/tuHGQYkGQmna83FsC17TseWTRt0i/X mnrsrC/wUKZfXV81mm93ubRjSMQMaVxYw+mzLJeX56uWvA2BZMVVNm3lCTMZcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector1 header.b=NMtadTk7; dmarc=pass (policy=quarantine) header.from=runbox.com; 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" 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 154C31C695 for ; Wed, 31 Jul 2024 14:34:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZ8Vt-0004fK-Bm; Wed, 31 Jul 2024 08:33:05 -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 1sYTmR-00060N-Cx for emacs-orgmode@gnu.org; Mon, 29 Jul 2024 13:03:27 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYTmO-0003UR-JU for emacs-orgmode@gnu.org; Mon, 29 Jul 2024 13:03:26 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sYTmD-002coh-Q0; Mon, 29 Jul 2024 19:03:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Message-Id:In-Reply-To:Date:Subject:CC:To:From:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=i5XQJ1pO2hmwg4nszQYZR624BQ+kyKKqrMxWHP9sZ44=; b=NMtadTk7qURhsij9oKFLnn6XYr FMNolO62ySbeX12VvVW6yAxEi2bG8u4hPTAuPkGTizCcEcdOVZy1KZcX/JZy9ke/Y8/BgEK8zuSvO +1V4Ktsxr1Ef2vsoMdr9MTlZJ+J+tJzXvNDkLdz+sJk/MFBDajDrLS7DMLfAdAh4XXTGvo+/vm+lp /dpORrSO3CvxiGu1xJ2xIVkn5/c32XrKgsP79s4DyQpQydOydB+QWCvKyiTbAR4wJX3H28ERgzQwW gAVv5tixHlqIdSv3X+oPLQ2I1jNzafr374TzwViycwa3NzlQx46hF128+jxr2eX7bRimTfje7/+g1 qOqtlE8w==; Received: from [10.9.9.128] (helo=rmmprod06.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sYTmD-0005QB-6K; Mon, 29 Jul 2024 19:03:13 +0200 Received: from mail by rmmprod06.runbox with local (Exim 4.86_2) (envelope-from ) id 1sYTmD-0006Yh-5H; Mon, 29 Jul 2024 19:03:13 +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:03:13 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:03:13 +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::26; envelope-from=meedstrom@runbox.com; helo=mailtransmit05.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-Mailman-Approved-At: Wed, 31 Jul 2024 08:32:55 -0400 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 154C31C695 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.05 X-Spam-Score: -9.05 X-TUID: ASo7o7e/oT83 The property drawer has to come first for technical reasons. Just try manu= ally 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