From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kFTiAdtY5mIokgAAbAwnHQ (envelope-from ) for ; Sun, 31 Jul 2022 12:26:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uCTbAdtY5mKeWwAA9RJhRA (envelope-from ) for ; Sun, 31 Jul 2022 12:26:35 +0200 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 A045F1D856 for ; Sun, 31 Jul 2022 12:26:34 +0200 (CEST) Received: from localhost ([::1]:47310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI69Z-0005ek-Ep for larch@yhetil.org; Sun, 31 Jul 2022 06:26:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI67O-0005eX-FZ for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 06:24:18 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:39921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI67M-0006Ct-31 for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 06:24:17 -0400 Received: by mail-pj1-x102b.google.com with SMTP id h21-20020a17090aa89500b001f31a61b91dso9533425pjq.4 for ; Sun, 31 Jul 2022 03:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=PKYcPHgQCed1IgMowGeYZ3E4Zvmdh6dK1apfMU93Xrc=; b=UOgUPv1jxbe+5fBZi6GZcfToUAb57sZSW1c4Ez2RYsFHzaDd7k9A2Cu6RPdd+Op48B zpW+6Gyp++KUNOzo7bx2q7TYznLejvOWAMd3sEQacezaGRDsSrqJ3Bu+rO4RibZf5dms 4y9SfLao3q5p8pDnCP52hB1FMtGpBoWsEh7C4JyrxYSva7RhMaZs49l9kc5RSXFw8WfE h1Iy4HtEPRXjweYBKdCRCEUFQjK4ACHEFV906XaXF5j3vS9h+KX97XW7V4BD3OP8rhDI sVAm7/l4wg8k57TyUadrxnhU58h9ECtIjxOJ3D34Rt+etABYivTr65V2zc7PDNk81/FS Oyyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=PKYcPHgQCed1IgMowGeYZ3E4Zvmdh6dK1apfMU93Xrc=; b=Ifxvz/Sfb8VQE+7kcIb3YEzzfqKe/JWKEStKWNXuiq8tbXQwIErOSmVM+nhvhgs/7a jWdJUtA9fBZZkbkLtZgk1utExTsLITKIHKNgXi0ucgZvvExeAFh5hBi9YbYDvLnGA9T2 3W6nKgBSr5p0PG8nCcG8AYpBeAILQphdLOOfQnU5JwArwyDdGIZKlqYkvkwM6s5JWN/T SsdNngBXKrw8kVbLOTbj5TOobcDL1e7fg2LQGUorPOjBYz4tX+l+XKjqgMn20fiFlPY9 GbrH2sesr6K3D4YDVKMiOQ4JygxOvkLYFcOLkATneYefNsBBk97C2Dk9RMeglHobvamu EjOg== X-Gm-Message-State: ACgBeo1v9PII9GtJKbh2nSJw6aWjPaFHSINUgMH8rK+uC7IVoym0o75t ZjDkvUoL43xKef/fW5iqRR8= X-Google-Smtp-Source: AA6agR6E/uUiNseaUkjHrq0AuwrYuI8blvZZbys0cYGm63ndM7dhCl6aFSvDCbw+V3g0WgZgeEM98w== X-Received: by 2002:a17:902:7c05:b0:16e:e96c:e91e with SMTP id x5-20020a1709027c0500b0016ee96ce91emr628211pll.89.1659263054093; Sun, 31 Jul 2022 03:24:14 -0700 (PDT) Received: from localhost ([1.83.155.1]) by smtp.gmail.com with ESMTPSA id o4-20020a62cd04000000b00528c4c770c5sm6181197pfg.77.2022.07.31.03.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jul 2022 03:24:13 -0700 (PDT) From: Ihor Radchenko To: Alen Alex Ninan Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: Help with assigning org-attach-id-dir using directory local variables In-Reply-To: <87leu3begz.fsf@localhost> References: <587be554-906c-5370-2cf2-f08b14fa58ff@gmail.com> <87leu3begz.fsf@localhost> Date: Sun, 31 Jul 2022 18:25:14 +0800 Message-ID: <87tu6xlgtx.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659263194; 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=PKYcPHgQCed1IgMowGeYZ3E4Zvmdh6dK1apfMU93Xrc=; b=HC5oDT84QdAlqT3o2b6XT2sNJEYJJTTOzpm3DmOTwnwZD9qO4RiFuzq5UteWS1/Ux2vigB x/akpgPnu7f2s0VxB4eQE1QxTCLrwks2vmH1cvtg3c6BYBj43z1lnRFyEkrR/IIc5VFvHY vK5i19Z7tCXop4TOjJ/NUCMzVFAr7bDc7LRpMD9aKFabIbpvBFK7SOj5FqinVSK+Y77Xx4 U25+SPXR60oBqOK4T1mCuhXOS67W9+g2llsl/xPsrwM+mJYb8DYd5cG3CBRiJ8JJh8VGam QLpPPOHn1YfpkXkKZUuJuzWSSBdYUYQl9QxYLqXPtdlSOBb0iH+WxueEctkdJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659263194; a=rsa-sha256; cv=none; b=uiDjU+CCj4BjikholZKJN8Wgokg+NijLJ3yzNC8l4/7Vm4gO7WTYcA0G/YC+SvqfkayWmM AwOT96I2fB5AK9CUVqlFL8eFwuer+vTq62RBc39reADWs869YXrqFTQhQjIPpyAfhcoIRi sQX0YS/LvPzoA2QI2BmXnWCi/6U7638HnwfmgBsf7y56R4ueSw+og2MsaJhnr/1bYJ6P4w 23dcrG7daaNZHTbheI10m1+fgWDxVLuwFTKFQXI+dHPsQaI3fkdZYzG4BjsvBV465zu9yy /WgCESIvC7ihaTf10HX2H9QHit6XlCcOHw9DwRuKVnFc20Jfxmk8ORFBJ3AqQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UOgUPv1j; dmarc=pass (policy=none) header.from=gmail.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" X-Migadu-Spam-Score: -5.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UOgUPv1j; dmarc=pass (policy=none) header.from=gmail.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" X-Migadu-Queue-Id: A045F1D856 X-Spam-Score: -5.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1FrU+BfDhild Ihor Radchenko writes: > I've seen multiple issues coming from the above behavior. > Hence, I'd like to propose Org to call `hack-local-variables' early > during startup. The patch is attached. Applied onto main via e22b4eb7a. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e22b4eb7aab9668826dc8ba76ea1d1d7b144a856 Best, Ihor