unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function
@ 2018-08-01 19:02 J. David Boyd
  2018-08-01 20:33 ` Joost Kremers
  2018-08-01 21:44 ` Noam Postavsky
  0 siblings, 2 replies; 4+ messages in thread
From: J. David Boyd @ 2018-08-01 19:02 UTC (permalink / raw)
  To: help-gnu-emacs


Starting yesterday, I see this warning in my Emacs when I start.   I've
started with 'emacs --debug-init', but get no errors.

It looks like it is happening when byte compiling something on the fly.  I
have made no changes to any of my configs, but I have updated from melpa.

How do I track this down and get rid of it?  I don't see any flag for Emacs
like --debug-warning or anything.  Ideas please?

Dave in Hudson, FL




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

* Re: Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function
  2018-08-01 19:02 Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function J. David Boyd
@ 2018-08-01 20:33 ` Joost Kremers
  2018-08-01 21:44 ` Noam Postavsky
  1 sibling, 0 replies; 4+ messages in thread
From: Joost Kremers @ 2018-08-01 20:33 UTC (permalink / raw)
  To: J. David Boyd; +Cc: help-gnu-emacs


On Wed, Aug 01 2018, J. David Boyd wrote:
> Starting yesterday, I see this warning in my Emacs when I start. 
> I've
> started with 'emacs --debug-init', but get no errors.
>
> It looks like it is happening when byte compiling something on 
> the fly.  I
> have made no changes to any of my configs, but I have updated 
> from melpa.
>
> How do I track this down and get rid of it?  I don't see any 
> flag for Emacs
> like --debug-warning or anything.  Ideas please?

Perhaps do a recursive grep (with whatever grepper you prefer) 
through the ELPA directory for "symbol-function"? Not guaranteed 
to work because the code may be generated on the fly, of course, 
but worth a shot.

-- 
Joost Kremers
Life has its moments



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

* Re: Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function
  2018-08-01 19:02 Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function J. David Boyd
  2018-08-01 20:33 ` Joost Kremers
@ 2018-08-01 21:44 ` Noam Postavsky
  2018-08-01 22:16   ` Stefan Monnier
  1 sibling, 1 reply; 4+ messages in thread
From: Noam Postavsky @ 2018-08-01 21:44 UTC (permalink / raw)
  To: J. David Boyd; +Cc: Help Gnu Emacs mailing list

On 1 August 2018 at 15:02, J. David Boyd <dboyd2@mmm.com> wrote:

> It looks like it is happening when byte compiling something on the fly.  I
> have made no changes to any of my configs, but I have updated from melpa.
>
> How do I track this down and get rid of it?  I don't see any flag for Emacs
> like --debug-warning or anything.  Ideas please?

This happens when byte compilation happens during init time (which can
also happen when using defadvice). Putting (setq after-init-time t) at
the top of your init should make the warning come with a filename,
which should hopefully give more of a clue where it's coming from.

Previous occurence:

https://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00290.html
https://lists.gnu.org/archive/html/emacs-devel/2017-02/msg00625.html



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

* Re: Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function
  2018-08-01 21:44 ` Noam Postavsky
@ 2018-08-01 22:16   ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2018-08-01 22:16 UTC (permalink / raw)
  To: help-gnu-emacs

> This happens when byte compilation happens during init time (which can
> also happen when using defadvice). Putting (setq after-init-time t) at
> the top of your init should make the warning come with a filename,
> which should hopefully give more of a clue where it's coming from.

Hmm... could we fix this so that we get a filename even without having
to use a hack like (setq after-init-time t) ?


        Stefan




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

end of thread, other threads:[~2018-08-01 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-01 19:02 Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function J. David Boyd
2018-08-01 20:33 ` Joost Kremers
2018-08-01 21:44 ` Noam Postavsky
2018-08-01 22:16   ` Stefan Monnier

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).