From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Refresh display after changing variable Date: Mon, 02 Aug 2021 22:40:27 +0300 Message-ID: <83h7g7my8k.fsf@gnu.org> References: <83k0l3n5hf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37324"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 02 21:41:12 2021 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 1mAdoE-0009aM-W2 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 21:41:10 +0200 Original-Received: from localhost ([::1]:46332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAdoD-00005H-0E for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 15:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAdni-000055-D2 for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 15:40:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55624) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAdni-0000jr-60 for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 15:40:38 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1765 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAdnh-0002GU-NE for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 15:40:38 -0400 In-Reply-To: (message from Ken Goldman on Mon, 2 Aug 2021 15:36:01 -0400) 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:132319 Archived-At: > From: Ken Goldman > Date: Mon, 2 Aug 2021 15:36:01 -0400 > > > (defun kg-toggle-whitespace-line-column () > > "Toggle whitespace line column between 80 and 101" > > (interactive) > > (setq whitespace-line-column (if (= whitespace-line-column 80) 101 80)) > > (whitespace-mode 1)) > > > > > That didn't work. It does here. > It seems that, once it's on, turning it on again doesn't help. I > tried adding a nil first, but it doesn't help. Turning whitespace-mode off and on doesn't help? > It doesn't force redoing the fonts. What do fonts have to do with this? > This is emacs 26.3 on ubuntu, of that matters. I tried in Emacs 28, FWIW.