From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yMWEGrwHI2GWbAEAgWs5BA (envelope-from ) for ; Mon, 23 Aug 2021 04:28:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uNkqFrwHI2EcZwAAB5/wlQ (envelope-from ) for ; Mon, 23 Aug 2021 02:28:12 +0000 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 6F47E259D for ; Mon, 23 Aug 2021 04:28:07 +0200 (CEST) Received: from localhost ([::1]:41988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHzh0-0005G2-DS for larch@yhetil.org; Sun, 22 Aug 2021 22:28:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHzga-0005Ft-VH for emacs-orgmode@gnu.org; Sun, 22 Aug 2021 22:27:40 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:41507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHzgY-0001hK-Jc for emacs-orgmode@gnu.org; Sun, 22 Aug 2021 22:27:40 -0400 Received: by mail-lj1-x229.google.com with SMTP id h9so28676684ljq.8 for ; Sun, 22 Aug 2021 19:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=ZxWmhc7/QEsncErAdw+IhBVgzJwPY84mExxNiVSgN5Q=; b=d8+i38ciAlyMiKhvy5MNGgT6x0yL0K0H1g63xh3xoNLB8GnV4ZgueVWT921A+Re6h6 XFFLvk2Nxkt4f83sZPeNzw+PbmaMiHqJd8Jsw/sLTTV1GhBJ4p2wpL/XiGdDMM3ktnKs QleWD08SiwRdxetLDx4JF/voK+S1GfQuSr7MUSlE/CGJPSr7sCf95olYf72EjjOYEd0P 3iTcBoUScqoL1iUVJcW+FgyE1qIfjXlBIpNkcK30a70rcFz7d1lTaGlUY7gPEuGTvCB+ gt0nHjmtmZtM8W24PXLO7Jws1UD6jzWrKMuttNj2izUofREzU3V3UL9WcmZSMC4XxPBP SLcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=ZxWmhc7/QEsncErAdw+IhBVgzJwPY84mExxNiVSgN5Q=; b=Dwr2BoNtcQXhZhbb5Av6tXvUp4d1lmPwfU0kE96OdLe5wVqu/kEL6mVWmFzk234v0W qEcUStb/s1rUPyK1oRw1g7Pyod7eqAPt/phzi11yxgbmHA/mJQohaFr6hGZckjKuqe9U OySqfUMVOlRVhW+QDgMsXHKZ7C3UZcMejCYMQVmJUjugV6rhbtD/BEGgHUpWtpaLqs2n OuZWjdWQFqTvRjcoHKA5edQvod5UrhR8jkzA7bLJScaO5RNAvqRuNRa5/of8msug4KDx VZjdNQSPGuv76LGDvC7pUl+dUWBtExwtCWUJ20TzaLf5RQ0XMXW42c1nrh1OFQwaQBJR 6QSg== X-Gm-Message-State: AOAM532+cuu3rfz9rwR9PPBOpgXTgZ8Ce+CIvoMDctp0VvynVF1rIGuj jzjjvAZfnEp3p8ap8/utDQI= X-Google-Smtp-Source: ABdhPJxlHkmkQwjrCRR7LUaaG0jbuXXvj/1FFEFDPGRnvqea+sl6mDktOmWNr3ZRiSCMvhZ+xC39sw== X-Received: by 2002:a05:651c:1683:: with SMTP id bd3mr22801068ljb.323.1629685655277; Sun, 22 Aug 2021 19:27:35 -0700 (PDT) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id c23sm1322790lff.194.2021.08.22.19.27.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 19:27:34 -0700 (PDT) From: Ihor Radchenko To: Peter Prevos 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/)] In-Reply-To: <8735r2xx5l.fsf@prevos.net> References: <8735r2xx5l.fsf@prevos.net> Date: Mon, 23 Aug 2021 10:28:17 +0800 Message-ID: <87ilzwnbcu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=yantar92@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629685687; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZxWmhc7/QEsncErAdw+IhBVgzJwPY84mExxNiVSgN5Q=; b=UY8Y06TB99Ftim1S6FL/sa3wb6pSWmA8IADNe+XZKTiJOOToL+3WGocjCNZxgUqvdmGljo G/t5hi/ZwX/ceyNvZWHkhKuFc8jRHKEMGmvy9fJOEjS1zoLy1xqY5bRyqrM5Gpsoobv5eB A9kh9g6JsJUGDUpOOJ1hxsjWUt+7UfBOSiVRBY5dBmiEHFNk9GEGHDsmXwbhayWR8YxrJT HLbOmNVeviMhfeD1xus4loro6WTsWNKfyQCmlM9aHN4bRW3HLypRrtxDVXYc+TBai8JYae HEd1+OsoQyZIUEj9UE/ajk6/EnUNMavWQ5F/cc8E+UhQsx3VYq5uU6hQKIhvbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629685687; a=rsa-sha256; cv=none; b=B+9NYtNoh/bN52FTbZM1D4Sk27GxqOUd/vmUCu6oEavIng0agM0QeRcAzRlSiZzdVqQHCM hhZVlyE72IMP2JqR8H3kat2cRUUAIf5jamc2eWGFz7znmEJ6DSUqiGCQvOm69+5Byyhpc1 aQZBHYs3hoq8Mhrmo9hPZl3i6cB+0l3BgoKuA+4zDNNBeowH6JwKw3CA2GYTJRUVfUjnHR n/18azRtZwj5OeFX1Z5jAtrPZQ+0U1njfIlfS8c13cuxADgEcx5mIvRN/sOvb8/GG1ng9Q y/bk68/5XEh8Bkweg0GjOMvKy84WKCOPsRk837g5btjhaNC05RabU8XgJY1Cbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=d8+i38ci; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=d8+i38ci; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6F47E259D X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: XRQOX7WLoLLl Peter Prevos 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" -*- :PROPERTIES: :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: :PROPERTIES: :ID: a60f6a47-9db9-49d6-ac00-307c7a84e43d :END: -*- mode: org; ispell-local-dictionary: "nederlands" -*- Best, Ihor