unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [native-comp] Small, new bug with macros?
@ 2020-04-05 14:01 Adam Porter
  2020-04-05 14:12 ` Andrea Corallo
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Porter @ 2020-04-05 14:01 UTC (permalink / raw)
  To: emacs-devel

Hi Andrea,

I've been testing the latest Docker image with the deferred
compilation.  I noticed what may be a small, new bug.  To reproduce,
you could use this code:

  (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
                           ("melpa" . "https://melpa.org/packages/")))

  (package-initialize)

  (package-install 'quelpa-use-package)

  (use-package bufler
    :quelpa
    (bufler :fetcher github :repo "alphapapa/bufler.el"
            :files (:defaults (:exclude "helm-bufler.el"))))

In the *Async-native-compile-log* buffer, I see:

  Compiling /home/me/tmp/src/emacs/native-comp/.emacs.d/elpa/bufler-20200405.1230/bufler.el...
  Symbol's function definition is void: bufler-defauto-group

bufler-defauto-group is a macro, not a function, and it is defined
before it is called, so I don't understand why the error is happening.
The package loads and works fine in its byte-compiled form, and the
error didn't happen when I was using an earlier Docker image from a
few weeks ago.

Thanks,
Adam



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-07 15:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05 14:01 [native-comp] Small, new bug with macros? Adam Porter
2020-04-05 14:12 ` Andrea Corallo
2020-04-05 14:41   ` Adam Porter
2020-04-06 20:45     ` Andrea Corallo
2020-04-07 14:30       ` Expansion of macros at compile time in eval-and-compile bodies (was: Re: [native-comp] Small, new bug with macros?) Adam Porter
2020-04-07 15:26         ` Expansion of macros at compile time in eval-and-compile bodies Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).