From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Fri, 5 Apr 2019 17:04:04 +0200 Message-ID: <20190405150404.bm2d6wjtivwyesek@Ergus> References: <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> <835zrsd670.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="268009"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 05 17:04:23 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 1hCQOD-0017UT-N9 for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 17:04:22 +0200 Original-Received: from localhost ([127.0.0.1]:43221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCQOC-0003MM-PB for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2019 11:04:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCQO6-0003MD-05 for emacs-devel@gnu.org; Fri, 05 Apr 2019 11:04:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCQO4-0000nY-Sx for emacs-devel@gnu.org; Fri, 05 Apr 2019 11:04:13 -0400 Original-Received: from sonic304-22.consmr.mail.ir2.yahoo.com ([77.238.179.147]:35509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCQO4-0000dV-BB for emacs-devel@gnu.org; Fri, 05 Apr 2019 11:04:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1554476650; bh=VgtOeJMLQ4KCnk1Nzi9tOWeJBPplD7R8L8GeuXd8gV4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=Ppjp372Bjvdi1U5IRVVZK6j/qzuVR1Js3UOZOR3wg6if1DSVksEnQRnKB27I/tE/WoIL1D+zVA7g3nFrhfnHajrtnlv+7HHDBVEZTn29BsR7EQpmZc9MGDv7mmQkLc+URy5bKKJZu1OVBsSwnym2bOvLQDu1qp4/Oci3+UgsxCv8YHq+M2UIcR8f37d0G9TtjglYnZnEM2RekwctlqYhnDoWa/k4v3oZaW9GkfZ5y7qV3vcg4QvP3zeRS0U/YePaMEAlsZmsVI4Rv4AuptNeB26d53C/uh/O6pY8Qo6UIrauGCfo0Y69OEcZlSedXBNHO+hWMMxnOXl7FDu30FepEw== X-YMail-OSG: akY68OgVM1kkHlZs4WEXlzAKdwCMRAw1iX_u9LbpdGYnPr4FCXE8fPHcSGi5bX2 duT8zWoqY0_swwg6s9x.T5yzfTGBGXLx4HCbZCBasl8Q62siGyXWE4O.Z9NLUG9jsdUlZcmc5afE eY13oQ4f0Sk6QxAhcarhxZiB5QaAQt9Cw4DosZMzKc_wnxEISsEnl1QUX3jUcC7JvzohytHjGsR4 d1AYiVaulRfTvUBm5_jaJgn7hxolhH5rn4q_DnWOeNBhHx1GmsfkhcFWqgm7b3RRPiieFllMwGJZ ihTVHiUNSJHOWGqLB5NOVreKNJSX.6F_8AX1U.Ng_Hyed64LGX.B8E3mbIHWqot5TfJ1_2HXBY9T .QekErNHSiHDy8QAjySM31YvpZ0l2rnRf86McZpV_su9SS_wXeDWLJuIZsc6UHoBBaW535_gDSVt 15QBhLsGfOcCNVOyKIt90G83WBfust.prtxU5C9PACmjfPbdn3RD22697EugojFzHf4IrxmteVI4 bsfR6Ins_yGZ.rqL7ckVR3Gkh3RD4y42E.tBnzd6DzwG8p8.X23vcQJzyHNGQpX02GkcX0xZA2hI e5XL3yf_SLPhDjIvTM4qVQzgUPzfX8i5BPUYrvGm9nTnWgxn9YpNANbO9YCIp7lp6Gp0mrnohWF8 S9zNSgyFdkRPLafXBi9z2I8p4W2eyViLCf6TmQ0C0eRKtNEefcEdvcJLikcEViI3qeDKTYxm6C7F qjPJCRyE4ZMmnuA3eI5Lub15PRlW6Y5DSsXSp.csqN1H9IcmPh_3nE63O.TTeVHTMJ8UGCSOsQg2 is8VfJ71pBR9gRrTzjJn.uTIe7vr.MP8ry.0s9viXK Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Fri, 5 Apr 2019 15:04:10 +0000 Original-Received: from 84.88.50.33 (EHLO Ergus) ([84.88.50.33]) by smtp425.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 92543e852c29185af820b17e9c1acc0c; Fri, 05 Apr 2019 15:04:07 +0000 (UTC) Content-Disposition: inline In-Reply-To: <835zrsd670.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.179.147 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:234987 Archived-At: On Fri, Apr 05, 2019 at 02:47:47PM +0300, Eli Zaretskii wrote: >> 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? > No >> >- 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 ="?