From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: RE: Highlight tabulated and trailing whitespace Date: Mon, 28 Dec 2020 18:06:39 +0100 Message-ID: References: <87ft3qilf6.fsf@zoho.eu> <87tus6gywp.fsf@zoho.eu> <6c5671fb-8504-4a33-a180-be0eec28471f@default> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28634"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 18:08:26 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktw0Q-0007Lu-QW for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 18:08:26 +0100 Original-Received: from localhost ([::1]:35742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktw0P-0006jp-R7 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 12:08:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktvyp-00061s-EI for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 12:06:47 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:42269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktvyn-0005i7-BA for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 12:06:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609175199; bh=9NEdhRD/POTWVIt+J6XPwaa/LjFKTpbe+RKI5PgFCas=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=bevzgfpV+sXwBmAA0gN23vouK4EkkvTPzbzaekGcS6Xk195nx+jK/v5dY8t6ftMyL eCz9Lr1H7rnOMJEQCP1us2vq0LFJNMi1b589M7vwVSGDeqSERzkfoms5V32VzTU/o5 ha/I4awoOR1InyN5yHZh8KGAtQeO0V49issNFNNI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Mon, 28 Dec 2020 18:06:39 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <6c5671fb-8504-4a33-a180-be0eec28471f@default> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:v2bun5F5y01FCChyEaCHbz7oLIE30sr3waapxqxOyOmOFp8MgexEk+4RDrUHNLvofdoue koT7JaCmm0f4GqS3cDPfr7c7BbyhAhx5jCbjmVfICr42BeA8Xa6oIcJ7hxWUHfVTQbDIToNV3B88 z0b3s8TDMPhhNgHTwjHrH4PIabaTmZIQ6V/y2Cw3SQRuxBZmvFmwrM9fa6FdpsN1yhHNQK4QNiiE svJ8ZHKrL9BLjtDbJ7+ZZEhztgBs4KmTOGlupJCRW5QGaueLJErw969snDSBoUgVkO7kO6q8cnJL 84= X-UI-Out-Filterresults: notjunk:1;V03:K0:Gm7CGN7TJH0=:1cZNM4bimwZ7R5X7vLXdW5 WDCBEUKOUyxUjnsP1Xyv6hWVa0MGhVuJiHTTqv/oYRVXiW8rqxNzdjwzSFRETR+YGQ77VuLQ/ 3R0XcyZdjACNteSe3ktHysi8QoxbrStCRQR2oYA2pvqZI8Pq4jIVkAQfWMZQ3VC6//dgun9cM RPyYnjEzijejo2NkSAZyBop5RKAwwcgf15jL7OFzOXnfcynK8g0wLhzatgqfnfZEtPBDxFnHN eE79m+Uek5QWpMJBWpoAsge+s46xp7Ew82t5I6qUwU4lwoJDyurIMDrOGKrmzLzxOTpqDcSYA bdxAi/5uf7uiFp+HIrMxGC3w9o+oKSh+Xlkel+nqZlqXKZU5vcU2qSe4zuQMbvD1mhKORSvv3 jAVrZJeBAnfzCQi+g/p8L4Vq4z2cAbBE0IF1yBukIPaTpwzcdupUj7cL8leP74zcwR8JUKL24 c5c02hBVrubk7ayIpzxOUC7OtLrSPoGetHFFzdrjr5aBW7sJ87iM9lrJ+/63Q+fVcwupC+mzj 6LTUE79jVarN5aJO3at4dk5MZfRbF50Wk40GszDotFRccmhIrQgkfjQo42fgtspdNFR1klFHG jrHz+SVlTFRRk= Received-SPF: pass client-ip=212.227.17.22; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126869 Archived-At: 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" > 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 ... >