From: steve-humphreys@gmx.com
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu
Subject: Re: RE: Highlight tabulated and trailing whitespace
Date: Mon, 28 Dec 2020 18:06:39 +0100 [thread overview]
Message-ID: <trinity-91a3bda6-a44e-4afa-a965-0d64759e3cb1-1609175199245@3c-app-mailcom-bs16> (raw)
In-Reply-To: <6c5671fb-8504-4a33-a180-be0eec28471f@default>
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 ...
>
prev parent reply other threads:[~2020-12-28 17:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-28 4:11 Highlight tabulated and trailing whitespace steve-humphreys
2020-12-28 4:50 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-28 4:56 ` steve-humphreys
2020-12-28 5:07 ` 2QdxY4RzWzUUiLuE
2020-12-28 5:12 ` steve-humphreys
2020-12-28 6:08 ` steve-humphreys
2020-12-28 7:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-28 8:40 ` steve-humphreys
2020-12-28 10:59 ` Michael Heerdegen
2020-12-28 12:42 ` Óscar Fuentes
2020-12-28 13:09 ` steve-humphreys
2020-12-28 16:08 ` steve-humphreys
2020-12-28 16:55 ` Drew Adams
2020-12-28 17:06 ` steve-humphreys [this message]
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=trinity-91a3bda6-a44e-4afa-a965-0d64759e3cb1-1609175199245@3c-app-mailcom-bs16 \
--to=steve-humphreys@gmx.com \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/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).