From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: recurring mesages - Invalid face reference: nil [nnn times] [8.2.7b (8.2.7b-1-ga5beff-elpa @ c:/home/george/.emacs.d/elpa
Date: Mon, 30 Jun 2014 13:08:31 -0400 [thread overview]
Message-ID: <87bntacokw.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 53B193E2.28862.61A7D9CA@george.canals.com
"George Pearson" <george@canals.com> writes:
> The message:
>
> Invalid face reference: nil [nnn times]
>
> where, nnn is replaced by a number, appears frequently in the
> *Messages* buffer.
>
> How I reproduce it: 1. start emacs 2. open any file 3. open a 2nd
> window or frame for the *Messages* buffer 4. type ctrl-g in the open
> file's buffer - notice only Quit messages in the *Messages* buffer
> i.e. the normal effect 5. open master.org 6. create an agenda with
> ctrl-a a 7. type "G" into the agenda window (This is just one of
> several ways to produce the problem.) 8. now type ctrl-g in ANY of
> the open file's buffers or the agenda window itself and observe the
> "QuitInvalid face reference ..." message.
>
> What I've tried:
>
> - debug-on-error t - nothing happened - debug-on-entry to message
> function - nothing happened - attached advice to message function, as
> described at
> http://www.emacswiki.org/emacs/DebugMessages. That also did nothing
> - perhaps because the message occurs in a "repaint"?
>
> Observations: - it's interesting that once the effect is triggered in
> org, then it occurs everywhere - this problem does NOT happen if I
> switch back to org 7.9.3f. - if I don't use org from ELPA and instead
> use org 8.2.6 in a site-lisp directory, the problem still happens
>
> Any ideas?
>
I can't reproduce it in my setup, but I found this note in the gnus
changelog which might (or might not) be illuminating:
,----
| 2012-12-27 Wolfgang Jenkner <wjenkner@inode.at>
|
| * gnus-spec.el (gnus-face-face-function): Don't use nil as no-op face
| place holder since this gives `Invalid face reference: nil'
| messages. Use the `default' face instead. It has the same
| effect here, even though it is not no-op.
`----
The message is produced by merge_face_ref() in xfaces.c however, so
elisp debugging is probably not applicable: you have to run emacs under
gdb to catch it. But maybe somebody will have a better idea.
Nick
prev parent reply other threads:[~2014-06-30 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-30 16:44 Bug: recurring mesages - Invalid face reference: nil [nnn times] [8.2.7b (8.2.7b-1-ga5beff-elpa @ c:/home/george/.emacs.d/elpa George Pearson
2014-06-30 17:08 ` Nick Dokos [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bntacokw.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).