emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Prevos <peter@prevos.net>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: File variable no longer on first line when running org-id-get-create [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]
Date: Mon, 23 Aug 2021 19:39:45 +1000	[thread overview]
Message-ID: <87czq47b38.fsf@prevos.net> (raw)
In-Reply-To: <87ilzwnbcu.fsf@localhost>

Ihor Radchenko <yantar92@gmail.com> writes:

> Peter Prevos <peter@prevos.net> writes:
>> -*- mode: org; ispell-local-dictionary: "nederlands" -*-
>> It works great, except when I need to add an ID for use in 
>> Org-Roam using the org-id-get-create function.
> To make it work, convert the local-var line into proper 
> comment. Just as
> you would do in any other source code file:
> # -*- mode: org; ispell-local-dictionary: "nederlands" -*-
> :ID:       a60f6a47-9db9-49d6-ac00-307c7a84e43d
> :END:
> When you just have the line below, it is treated as ordinary 
> paragraph
> by Org, thus the property drawer is indeed inserted before:
> :ID:       a60f6a47-9db9-49d6-ac00-307c7a84e43d
> :END:
> -*- mode: org; ispell-local-dictionary: "nederlands" -*-
> Best,
> Ihor

Thanks Ihor, that makes sense.

Dr Peter Prevos

      reply	other threads:[~2021-08-23  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 21:58 Bug: File variable no longer on first line when running org-id-get-create [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)] Peter Prevos
2021-08-22 19:25 ` Tim Cross
2021-08-23  2:28 ` Ihor Radchenko
2021-08-23  9:39   ` Peter Prevos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czq47b38.fsf@prevos.net \
    --to=peter@prevos.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).