emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: File variable no longer on first line when running org-id-get-c


From: Tim Cross
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
User-agent: mu4e 1.6.4; emacs 27.2.50

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 <peter@prevos.net> 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: 
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html)
>
> There is an ugly workaround by placing file variables at the end of the file, 
> as
> documented in the linked page.
>
> Regards
>
> P:)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]