From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Fri, 05 Apr 2019 14:47:47 +0300 Message-ID: <835zrsd670.fsf@gnu.org> References: <83h8bgfj53.fsf@gnu.org> <20190402170031.l64saf2qdr3gez3u@Ergus> <83d0m4fhe6.fsf@gnu.org> <20190402174857.ydvsrgplftya4nti@Ergus> <83a7h8feho.fsf@gnu.org> <20190402212251.ee6jlzptyll24ebo@Ergus> <83sguzekc5.fsf@gnu.org> <20190403102234.gyk45tfk4uypilhn@Ergus> <83d0m3e43f.fsf@gnu.org> <20190405103614.oivi4mtlnklldli4@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="129911"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 05 13:49:52 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 1hCNM0-000XgV-2Q for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 13:49:52 +0200 Original-Received: from localhost ([127.0.0.1]:40520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCNLz-0001Lu-2B for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 07:49:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCNKH-0000Dd-3s for emacs-devel@gnu.org; Fri, 05 Apr 2019 07:48:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCNKD-0001lG-Sv; Fri, 05 Apr 2019 07:48:02 -0400 Original-Received: from [176.228.60.248] (port=2444 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hCNKD-0000DB-5p; Fri, 05 Apr 2019 07:48:01 -0400 In-reply-to: <20190405103614.oivi4mtlnklldli4@Ergus> (message from Ergus on Fri, 5 Apr 2019 12:36:14 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:234973 Archived-At: > Date: Fri, 5 Apr 2019 12:36:14 +0200 > From: Ergus > > The problem now is that I added it to cus-start.el but when I set it > with the interface, the line does not change at all. Nothing really > happens when I save. Does invoking 'redisplay' (the function) fix that? > >- when I turn it on, it chooses \u2502, which is not displayable by my > >default font, but is displayable by a fallback font. I end up with > >empty blocks at the end of each line. I can probably customize > >'fill-column-face' to work around this, but Iʼd expect this to work by > >default (either by using '|' or using the fallback font). > > > I don't really find a right method to fix this because the > char-displayable-p function seems not to be accurate in many > cases. There was a discussion about this before, but there was not a > final agreement I think. And from the char-displayable-p documentation: > > ``` > On a multi-font display, the test is only whether there is an > appropriate font from the selected frame's fontset to display > CHAR's charset in general. Since fonts may be specified on a > per-character basis, this may not be accurate. > ``` > > Any suggestion here? Once we have the details I requested from Robert. > >- in org-mode buffers the indicator is displayed as '['. This may be > >related to the previous point (those buffers use yet a third font). How come '|' is displayed as '['? What does Emacs show in *Help* if you (Robert) go to that character and type "C-u C-x ="?