GNU bug report logs - #8647
since lexical merge, declare-function in subr.el no longer works

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 10 May 2011 22:30:03 UTC

Severity: minor

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#8647: closed (since lexical merge, declare-function in
 subr.el no longer works)
Date: Thu, 12 May 2011 02:37:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 11 May 2011 22:36:43 -0400
with message-id <00y62cprus.fsf <at> fencepost.gnu.org>
and subject line Re: bug#8647: since lexical merge, declare-function in subr.el no longer works
has caused the GNU bug report #8647,
regarding since lexical merge, declare-function in subr.el no longer works
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
8647: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8647
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: since lexical merge, declare-function in subr.el no longer works
Date: Tue, 10 May 2011 18:29:20 -0400
Package: emacs
Version: 24.0.50
Severity: minor

Since the merge of the lexical branch, `declare-function' statements in
subr.el no longer have the desired effect. Eg compiling subr.el warns:

In end of data:
subr.el:4015:1:Warning: the function `w32-shell-dos-semantics' is not
  known to be defined.

despite the presence of

  (declare-function w32-shell-dos-semantics "w32-fns" nil)

in the file.


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 8647-done <at> debbugs.gnu.org
Subject: Re: bug#8647: since lexical merge,
	declare-function in subr.el no longer works
Date: Wed, 11 May 2011 22:36:43 -0400
Stefan Monnier wrote:

> Another way to get that result is to change the place where we add
> elements to byte-compile-macro-environment (so as not to add it if it's
> in byte-compile-initial-macro-environment),

I like that idea better. Done.


This bug report was last modified 14 years and 69 days ago.

Previous Next


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