[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 http://davin.50webs.com/emacs-screen-shot.png 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)
- Re: Invalid face reference: quote, (continued)
Message not available
- Re: Invalid face reference: quote, Davin Pearson, 2016/06/20
- Re: Invalid face reference: quote, Emanuel Berg, 2016/06/20
- Re: Invalid face reference: quote, Davin Pearson, 2016/06/20
- Re: Invalid face reference: quote, Davin Pearson, 2016/06/20
- Re: Invalid face reference: quote, Emanuel Berg, 2016/06/20
- Re: Invalid face reference: quote, Loris Bennett, 2016/06/20
- Re: Invalid face reference: quote, Emanuel Berg, 2016/06/20
- Re: Invalid face reference: quote, Loris Bennett, 2016/06/20