GNU bug report logs - #40126
28.0.50; [feature/native-comp] + Org 9.3.6 org-with-wide-buffer macro is wrongly treated as function

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Wed, 18 Mar 2020 20:43:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrea Corallo <akrl <at> sdf.org>
To: Ihor Radchenko <yantar92 <at> gmail.com>
Cc: 40126 <at> debbugs.gnu.org
Subject: bug#40126: Acknowledgement (28.0.50; [feature/native-comp] + Org 9.3.6 org-with-wide-buffer macro is wrongly treated as function)
Date: Tue, 07 Apr 2020 10:18:34 +0000
Ihor Radchenko <yantar92 <at> gmail.com> writes:

> Hi Andrea,
>
> I am not really familiar with compilation in Emacs, so correct me if I
> misunderstand something.
>
> I have looked through org package files and fount the following line in
> org.el:
>
> (eval-and-compile (require 'org-macs))
>
> I suspect that it supposed to be responsible for loading the macro
> definitions (including org-with-wide-buffer) during byte-compilation.

Hi Ihor,

yes but in org-refile.el there are no requires at all :O

org-refile is always required in other files after org but it can't be
compiled alone correctly if it has no appropriate require in its code.
This applies to byte compilation too.

Andrea

-- 
akrl <at> sdf.org




This bug report was last modified 5 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.