emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: folding problems
Date: Fri, 05 Aug 2022 19:37:10 +0800	[thread overview]
Message-ID: <87k07mora1.fsf@localhost> (raw)
In-Reply-To: <87k07nav92.fsf@ucl.ac.uk>

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> On Friday,  5 Aug 2022 at 09:45, Ihor Radchenko wrote:
>> If you have some time, can you try the attached patch?
>
> I have tried it but it doesn't seem to solve the issue of multiple
> responses required due to "unsafe" dir local variables unfortunately.
>
> I may remove that particular setting and do what I am doing slightly
> differently or maybe just record it as being safe...  But, for the
> record, the dir local setting is:
>
> ((org-mode . ((org-babel-pre-tangle-hook
>     . (esf/update-julia-project-toml-version save-buffer)))))

Thanks for providing an example!
I was able to reproduce, and I have to say that fixing this is getting
into fragile terrain. I'm afraid that early loading of local variables is
too tricky to implement. It should better be done on Emacs side as an
option.

Hence, I have reverted the problematic commit in 1449bb31e.
Thanks for the heads-up and the patience!

Best,
Ihor


  reply	other threads:[~2022-08-05 11:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 13:24 folding problems Fraga, Eric
2022-08-04 14:34 ` Ihor Radchenko
2022-08-04 14:46   ` Fraga, Eric
2022-08-04 15:10   ` Fraga, Eric
2022-08-05  1:45     ` Ihor Radchenko
2022-08-05  9:35       ` Fraga, Eric
2022-08-05 11:37         ` Ihor Radchenko [this message]
2022-08-05 12:16           ` Fraga, Eric
2022-08-05 13:55             ` Fraga, Eric
2022-08-04 16:23   ` Fraga, Eric

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87k07mora1.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).