[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pcase failure with Emacs 24 (was Emacs version for Org 9.4?)
From: |
Jens Lechtenboerger |
Subject: |
Re: pcase failure with Emacs 24 (was Emacs version for Org 9.4?) |
Date: |
Wed, 16 Sep 2020 07:40:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On 2020-09-15, Kyle Meyer wrote:
> It is pretty tricky to debug, but the failure starts with 4a27b67fd
> (org-element: Fix property drawers parsing, 2020-04-22). As far as I
> can see, the pattern introduced there is perfectly valid and should be
> compatible with Emacs 24. I'd _guess_ this is a pcase bug in Emacs 24,
> particularly the one fixed by 528872c5f8 (bug#18554, 2014-09-27), but I
> didn't make an effort to try to understand that commit.
>
> Interestingly, the error goes away if I just swap the elements in the
> pcase (and ...) pattern added by that commit. Dunno, but if that clears
> up the failure on your end as well, I don't see any reason to not make
> that change.
>
>
> diff --git a/lisp/org-element.el b/lisp/org-element.el
> [...]
Yes, that fixes the problem over here.
Many thanks for debugging this, I’m deeply impressed.
Best wishes
Jens