[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE: Highlight tabulated and trailing whitespace
From: |
steve-humphreys |
Subject: |
Re: RE: Highlight tabulated and trailing whitespace |
Date: |
Mon, 28 Dec 2020 18:06:39 +0100 |
I thought that if it was not defined, it would go to the any expval match _
when the variable is then set up as buffer-local.
When I use
(defvar display-cycle-state 0) things do work.
> Sent: Monday, December 28, 2020 at 10:25 PM
> From: "Drew Adams" <drew.adams@oracle.com>
> To: steve-humphreys@gmx.com
> Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu
> Subject: RE: Highlight tabulated and trailing whitespace
>
> Where is that variable supposed to come from?
> I don't see it with vanilla Emacs 26 (`emacs -Q').
>
> Perhaps you need to load some library first, so
> it becomes defined.
>
> And perhaps it's actually a function? If not,
> why do you bother to bind it to `n', which isn't
> modified anywhere? Is it only to have a shorter
> variable name when you refer to the value (i.e.,
> instead of referring to `display-cycle-stae')?
> Not clear to me what you're trying to do.
>
> > Debugger entered--Lisp error: (void-variable display-cycle-state)
> > (let ((n display-cycle-state))
> >
> > > (let ((n display-cycle-state))
> > > (pcase n ...
>
- Re: Highlight tabulated and trailing whitespace, (continued)
- Re: Highlight tabulated and trailing whitespace, steve-humphreys, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, steve-humphreys, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, Emanuel Berg, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, steve-humphreys, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, Michael Heerdegen, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, Óscar Fuentes, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, steve-humphreys, 2020/12/28
- Re: Highlight tabulated and trailing whitespace, steve-humphreys, 2020/12/28
- RE: Highlight tabulated and trailing whitespace, Drew Adams, 2020/12/28
- Re: RE: Highlight tabulated and trailing whitespace,
steve-humphreys <=