[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-agenda-overriding-columns-format destroyed on revert [9
From: |
Allen Li |
Subject: |
Re: [O] Bug: org-agenda-overriding-columns-format destroyed on revert [9.2.1 (9.2.1-2-gc6d37c-elpaplus)] |
Date: |
Wed, 13 Feb 2019 09:25:20 +0000 |
Apologies for the spam.
On Wed, Feb 13, 2019 at 9:11 AM Allen Li <address@hidden> wrote:
> I don't see an easy good fix due to how Emacs's dynamic variable
> binding works with respect to buffer local variables.
>
> One way to fix is redefine:
>
> (defun org-let (list &rest body)
> (eval `(with-temp-buffer ,(cons 'let (cons list body)))))
This does not work for obvious reasons, please don't use it. I'll
shut up now since I clearly need sleep.
>
> That way, the let doesn't use the buffer local value for ocf, so the
> kill-all-local-variables doesn't wipe it.
>
> I can confirm that this fixes this bug. However, I have no idea what
> effect this may have on all of Org mode.