From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Fri, 05 Apr 2019 23:10:46 +0200 Message-ID: <87zhp4w42x.fsf@telefonica.net> References: <83sguzekc5.fsf@gnu.org> <20190403102234.gyk45tfk4uypilhn@Ergus> <83d0m3e43f.fsf@gnu.org> <20190405103614.oivi4mtlnklldli4@Ergus> <835zrsd670.fsf@gnu.org> <20190405150404.bm2d6wjtivwyesek@Ergus> <83r2agbhwv.fsf@gnu.org> <20190405173010.snavjhxrmmufwp54@Ergus> <83h8bcb7ce.fsf@gnu.org> <20190405200319.jfwt7lgevas556id@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93484"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 05 23:11:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hCW7l-000ODE-98 for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 23:11:45 +0200 Original-Received: from localhost ([127.0.0.1]:46952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCW7k-0001Cn-2Z for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 17:11:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCW78-0001AO-K3 for emacs-devel@gnu.org; Fri, 05 Apr 2019 17:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCW76-0007uh-FE for emacs-devel@gnu.org; Fri, 05 Apr 2019 17:11:06 -0400 Original-Received: from [195.159.176.226] (port=49134 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hCW75-0007ev-5i for emacs-devel@gnu.org; Fri, 05 Apr 2019 17:11:04 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hCW6w-000NKi-Oy for emacs-devel@gnu.org; Fri, 05 Apr 2019 23:10:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:ghpdq1PaTy6xpN94Hu6nbnyYYiI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235004 Archived-At: Ergus writes: > On Fri, Apr 05, 2019 at 10:05:53PM +0300, Eli Zaretskii wrote: >>> Date: Fri, 5 Apr 2019 19:30:10 +0200 >>> From: Ergus >>> Cc: emacs-devel@gnu.org >>> >>> If I set a different value to display-fill-column-indicator with >>> customize-variable and save; the display should be updated to use the >>> new value right? (display the indicator or hide it) >>> >>> I have never used customize-variable, so maybe that's not the expected >>> behavior. >> >>After changing the value, you need to click "STATE" and select "Set >>for current session". Did you do that? >> > > Yes, I did, and there is not change. I have a patch from some days ago applied here, sorry if this is outdated, but I see something suspicious. After M-x customize-variable display-fill-column-indicator-character : Hide display-fill-column-indicator-character: nil State : STANDARD. (mismatch) Character to draw the indicator when ‘display-fill-column-indicator’ is non-n That "nil" and "mismatch" are not right. This is the definition of the variable in xdisp.c: DEFVAR_LISP ("display-fill-column-indicator-character", Vdisplay_fill_column_indicator_character, doc: /* Character to draw the indicator when `display-fill-column-indicator' is non-nil. The default is U+2502 but a good alternative is (ascii 124) if the font in fill-column-face does not support Unicode characters. */); Vdisplay_fill_column_indicator_character = Qnil; DEFSYM (Qdisplay_fill_column_indicator_character, "display-fill-column-indicator-character"); Fmake_variable_buffer_local (Qdisplay_fill_column_indicator_character); I know next to nothing about those macros, but look suspicious.