From: Davin Pearson <davin.pearson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Invalid face reference: quote
Date: Tue, 7 Jun 2016 01:01:58 -0700 (PDT) [thread overview]
Message-ID: <d8e622af-8a60-4460-859f-91f114c7f738@googlegroups.com> (raw)
In-Reply-To: <barmar-881532.19485806062016@88-209-239-213.giganet.hu>
Removing all of the quote characters from my ~/dlisp/d-flock.el file and other files still brings up the following warnings in the *Messages* buffer.
Invalid face reference: quote [76 times]
Invalid face reference: quote [20 times]
Entering debugger...
Invalid face reference: quote [6 times]
Back to top level.
Invalid face reference: quote [36 times]
Copied buffer to clipboard
Invalid face reference: quote [6 times]
(No files need saving)
Invalid face reference: quote [14 times]
On Tuesday, June 7, 2016 at 11:51:45 AM UTC+12, Barry Margolin wrote:
> In article <592a4a24-7483-4718-8c61-adbb5d76ff70@googlegroups.com>,
> Davin Pearson <davin dot pearson at gmail.com> wrote:
>
> > When I am using GNU Emacs version 23.1.1 I frequently get the
> > following error in the *Messages* buffer:
> >
> > Invalid face reference: quote [21 times] or more times
> >
> > What am I doing wrong with font lock mode to get these error messages?
> >
> > I have the following code set up for my fontification:
>
> The list is quoted, you don't need quotes inside it -- that causes it to
> try to use the literal symbol "quote". So change things like
> 'font-lock-type-face and 'bold to font-lock-type-face and bold.
>
> > (d-font-lock-add-end
> > '(
> > ;; FOO-SAD-FSDF: sadfadf
> > ;; NOTE: adfasdfosdf
> > ;;("\\([ ]\\|^\\)\\(\\([A-z'-]+[ ]\\)*[A-Z][A-Z0-9.'-]+:\\)
> > \\(.*$\\)"
> > ;; (2 d-face-special-reference t) (4 d-face-cc-debugging t)) ;; was
> > fg:white
> >
> > ("\\([A-Z][a-zA-Z0-9_]*\\)::" 1 'font-lock-type-face nil)
> > ("\\([A-Z]*\\):" (1 fg:white nil))
> >
> > ;; QUESTION: hello (not smegged)
> > ;;("DUCK" 1 d-face-property t)
> > ("\\(\\<BACK ADDED:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<LIMITATION[-A-Z +]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<CODE:\\)\\([A-Z +]*\\)\\(.*$\\)" (1 bg:lightgreen
> > t) (2 fg:lightgreen t) (3 'default t))
> > ("\\(\\<NOT FOUND:\\)\\(.*$\\)" (1 bg:lightgreen
> > t) (2 fg:lightgreen t))
> > ("\\(\\<DELETE ?ME:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<FIXED:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<BURNED:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<SOLUTION:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<SEE:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<NEW[A-Z ]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<COPY:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<RENAME:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<PUT:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<URL:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<COOL:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<TOMORROW:\\)\\(.*$\\)" (1
> > d-face-cc-debugging t) (2 fg:lightgreen t))
> > ("\\(\\<FAILED[A-Z +]*\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<MISSING[A-Z +]*\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<REMOVE ?ME:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<PUT BACK:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<NOT DO:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<TEMP:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<SEARCH FOR:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<COMPILE:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ;;("\\(\\<ADD[A-Z ]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<FIXME[?:!]+\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<BROKEN[-A-Z0-9 .+&/]*[:?]\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<TODO[-A-Z0-9 .+&/]*[:?]\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<TEST[-A-Z0-9 .+]*[:?]\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<PULL ?OUT:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<LATER:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<PROBLEM:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<CLASH:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ;;("\\(\\<REVERTED[A-Z0-9 .]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<REVERTED[-A-Z0-9 .+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> >
> > ("\\(\\<PULLED BACK[-A-Z0-9 .+]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<DEBUG[-A-Z0-9 .+]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<DEBUGGED[-A-Z0-9 .+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<OKAY[-A-Za-z0-9 +]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<HOWTO[-A-Za-z0-9 +]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<DOING:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<ISIN:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<RESOLVE CLASH:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<INSTALLED:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<PATCH[-A-Z0-9 +]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<BUG[-A-Z0-9 +]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<WHY[-A-Z0-9 +]*[?:]+\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<WHEREIS[-A-Z0-9 +]*[?:]+\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<PENDING[-A-Z0-9 +]*[?:]+\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<WTF[-A-Z0-9 +]*[?:]+\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<WARNING[-A-Z0-9 +]*[?:]+\\)\\(.*$\\)" (1
> > d-face-red-and-yellow t) (2 fg:red t))
> > ("\\(\\<ERROR:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<NOT[-a-zA-Z0-9'. +]*:\\)\\(.*$\\)"
> > (1 bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<URGENT:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<REDO:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<REMOVE:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<RESOLVE[-A-Z' +]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<BUGGER[-A-Z' +]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<TIME[-A-Z +]*[:!?]\\)[ \t]+\\([^\r\n]*\\)" (1
> > bg:lightgreen t) (2 fg:lightgreen t))
> > ("\\(\\<MILESTONE[:!?]\\)[ \t]+\\([^\r\n]*\\)" (1 bg:lightgreen
> > t) (2 fg:lightgreen t))
> > ("\\(\\<QUERY[:!?]\\)[ \t]+\\([^\r\n]*\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ("\\(\\<BUGFIXED:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<NOTE[-A-Z0-9 _.+/]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<TOTAL[-A-Z0-9 +]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<SPLATTED[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<SEMI[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<DONE[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<GOT[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<ADDED[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<CHANGED[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<REMOVED[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<DOWNLOADED[-A-Z0-9 .&/+]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<NOT DONE[-A-Z0-9,. _+]*:\\)\\(.*$\\)" (1
> > bg:lightmagenta t) (2 fg:lightmagenta t))
> > ;;("\\(\\<SEMI[A-Z0-9 .&/]*:\\)\\(.*$\\)" (1
> > d-face-property-inverse t) (2 d-face-property t))
> > ("\\(\\<class:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-type-face t))
> > ("\\(\\<constructor:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-function-name-face t))
> > ("\\(\\<method:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-function-name-face t))
> > ("\\(\\<methods:\\) \\(\\([-a-zA-Z0-9_.+]* *\\)*\\)" (1 'bold t) (2
> > 'font-lock-function-name-face t))
> > ("\\(\\<function:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-function-name-face t))
> > ("\\(\\<variable:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-variable-name-face t))
> > ("\\(\\<classVar:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-variable-name-face t))
> > ("\\(\\<defun:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-function-name-face t))
> > ("\\(\\<defmacro:\\) \\([-a-zA-Z0-9_.+]*\\)" (1 'bold t) (2
> > 'font-lock-function-name-face t))
> > ("\\(\\<file:\\) \\([a-zA-Z0-9_.+]*\\)" (1 'bold t))
> > ("\\(\\<line:\\) \\([0-9]+\\)" (1 'bold t) (2
> > fg:lightmagenta t))
> > ("#[-a-zA-Z0-9'.:+]+" 0
> > 'font-lock-function-name-face t)
> > ;; \f end of smegs
> > ("^[ \t]*\f[^\n\r]*[\r\n]" 0
> > d-face-red-and-white t)
> > ;;("\\<message-and-sit\\>" 0 d-debug-face
> > t)
> > ;; IMPORTANT NOTES! sdfsdf
> > ;; IMPORTANT NOTES? sdfsdff
> > ("\\(\\<[A-Z]+[^a-z\r\n!:;()]*[A-Z0-9][!?]+\\)\\(.*$\\)"
> > (1 d-face-green-and-yellow t)
> > (2 bg:yellow t))
> > ))
> > ))
> >
> > )
next prev parent reply other threads:[~2016-06-07 8:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 23:46 Invalid face reference: quote Davin Pearson
2016-06-06 23:48 ` Barry Margolin
2016-06-07 8:01 ` Davin Pearson [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-19 0:19 Davin Pearson
2016-06-19 14:10 ` Emanuel Berg
2016-06-19 17:11 ` Pascal J. Bourguignon
2016-06-20 4:20 ` Davin Pearson
2016-06-20 4:41 ` Davin Pearson
2016-06-20 3:27 ` Stefan Monnier
[not found] ` <mailman.1844.1466393286.1216.help-gnu-emacs@gnu.org>
2016-06-20 4:17 ` Davin Pearson
2016-06-20 4:41 ` Emanuel Berg
2016-06-20 21:51 ` Davin Pearson
2016-06-20 22:14 ` Emanuel Berg
2016-06-20 23:50 ` Barry Margolin
[not found] ` <mailman.1799.1466345449.1216.help-gnu-emacs@gnu.org>
2016-06-20 4:30 ` Davin Pearson
2016-06-20 4:47 ` Emanuel Berg
2016-06-20 4:58 ` Davin Pearson
2016-06-20 5:07 ` Davin Pearson
2016-06-20 9:51 ` Emanuel Berg
2016-06-20 13:28 ` Loris Bennett
2016-06-20 14:24 ` Emanuel Berg
2016-06-20 14:53 ` Loris Bennett
2016-06-20 14:01 ` Dan Espen
2016-06-20 10:10 ` Emanuel Berg
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8e622af-8a60-4460-859f-91f114c7f738@googlegroups.com \
--to=davin.pearson@gmail.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.