unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Invalid face reference: quote
Date: Tue, 21 Jun 2016 00:14:28 +0200	[thread overview]
Message-ID: <86ziqftsmz.fsf@student.uu.se> (raw)
In-Reply-To: 046c9b6d-8417-46b6-b446-892fd453d557@googlegroups.com

Davin Pearson <davin.pearson@gmail.com> writes:

>> Bingo. You see the face turns up as one of
>> the properties of that piece of text.
>
> Thank you for your help with debugging my
> code. I tried executing (thing-at-point
> 'word) many times until I found the bug.

Cool, no problem :)

> (put-text-property (point-at-bol)
> (point-at-eol) 'face' 'default)
>
> which should read as this:
>
> (put-text-property (point-at-bol)
> (point-at-eol) 'face 'default)

Wow, that bug was sure difficult to spot! I had
to stare at the code for some 30 seconds before
I saw it!


-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 55 Blogomatic articles -                   


  reply	other threads:[~2016-06-20 22:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-19  0:19 Invalid face reference: quote 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 [this message]
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 21:24                   ` my experience with eye problems (was: Re: Invalid face reference: quote) Emanuel Berg
2016-06-20 21:39                     ` Emanuel Berg
2016-06-20 14:01           ` Invalid face reference: quote Dan Espen
2016-06-20 10:10         ` Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2016-06-06 23:46 Davin Pearson
2016-06-06 23:48 ` Barry Margolin
2016-06-07  8:01   ` Davin Pearson

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ziqftsmz.fsf@student.uu.se \
    --to=embe8573@student.uu.se \
    --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.
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).