[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid face reference: quote

From: Davin Pearson
Subject: Re: Invalid face reference: quote
Date: Mon, 20 Jun 2016 14:51:57 -0700 (PDT)
User-agent: G2/1.0

On Monday, June 20, 2016 at 4:41:54 PM UTC+12, Emanuel Berg wrote:
> Davin Pearson writes:
> > What is a property?
> You can put point at a word which has a color
> other than the default. Then eval
>     (thing-at-point 'word)
> 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.  It turns out that the 
bug was not in d-flock.el at all, but rather in another file called d-speedbar, 
which is my improvement over the built in speedbar feature.

See for a picture of my 
d-speedbar in action.  It uses windows rather than frames because windows are 
easier to manipulate using the keyboard than than frames.

The offending line was this:

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]