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: Sat, 06 Apr 2019 00:20:29 +0200 Message-ID: <87v9zsw0uq.fsf@telefonica.net> References: <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> <87zhp4w42x.fsf@telefonica.net> <20190405220115.6zdn4ff4cnp36hlq@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="131876"; 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 Sat Apr 06 00:21:17 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 1hCXD2-000YCP-V9 for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2019 00:21:17 +0200 Original-Received: from localhost ([127.0.0.1]:47596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCXD1-0004tR-Vg for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 18:21:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCXCS-0004pt-CE for emacs-devel@gnu.org; Fri, 05 Apr 2019 18:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCXCR-0002Yb-5P for emacs-devel@gnu.org; Fri, 05 Apr 2019 18:20:40 -0400 Original-Received: from [195.159.176.226] (port=52252 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hCXCQ-0002IO-09 for emacs-devel@gnu.org; Fri, 05 Apr 2019 18:20:38 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hCXCN-000XUQ-RW for emacs-devel@gnu.org; Sat, 06 Apr 2019 00:20:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:5PAGgw0nh9Ur7QE0W6Ju33SWlNo= 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:235009 Archived-At: Ergus writes: >>>>> 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. >> >> > > Yes, I observe a similar behavior. Look the attachment. The value is > nil but the indicator is shown. Oh, you are talking about display-fill-column-indicator and I about display-fill-column-indicator-character. Sorry for the confusion, but my observation points to a problem that may be related to what you are discussing. BTW, here display-fill-column-indicator is not customizable.