From: Tim Cross <email@example.com>
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 05:25:33 +1000 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
I would argue this is an org-roam bug rather than an org bug and so
needs to be reported to the org-roam maintainers.
org-roam is not part of org mode.
Peter Prevos <email@example.com> writes:
> Hi, I use file variables on the first line of some Org mode files to indicate
> the local Flyspell dictionary, e.g.:
> -*- mode: org; ispell-local-dictionary: "nederlands" -*-
> This line sets the dictionary to Dutch for this file only.
> This is useful functionality that allows me to indicate the language of files
> other than my default language.
> It works great, except when I need to add an ID for use in Org-Roam using the
> org-id-get-create function.
> The new drawer is placed on the first line of the buffer, so the local variable
> declaration moves down and is as such no longer recognised as it is expected on
> line 1. (File variable documentation:
> There is an ugly workaround by placing file variables at the end of the file, as
> documented in the linked page.
next prev parent reply other threads:[~2021-08-22 19:27 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 [this message]
2021-08-23 2:28 ` Ihor Radchenko
2021-08-23 9:39 ` Peter Prevos
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 \
* 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).