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: Sat, 16 Mar 2019 10:36:10 +0100 Message-ID: <20190316093610.qcjqflorltiyn42a@Ergus> References: <20190312192017.fkfd4h5gsbdue5q3@Ergus> <83imwm3fxf.fsf@gnu.org> <20190313200225.dpqrw7xthkj47fqw@Ergus> <83bm2e35a1.fsf@gnu.org> <20190314030224.l5zseslncw3xc5ox@Ergus> <835zsm2c2s.fsf@gnu.org> <20190314165147.gmtwgzqaibwbzhbm@Ergus> <83r2b91flg.fsf@gnu.org> <20190314211313.giyz7p6jtmquabea@Ergus> <83bm2c1smi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="266292"; 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 Sat Mar 16 10:45:18 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 1h55sT-00179l-IM for ged-emacs-devel@m.gmane.org; Sat, 16 Mar 2019 10:45:18 +0100 Original-Received: from localhost ([127.0.0.1]:39586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h55sS-0004Tf-Gn for ged-emacs-devel@m.gmane.org; Sat, 16 Mar 2019 05:45:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h55sI-0004Qi-Px for emacs-devel@gnu.org; Sat, 16 Mar 2019 05:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h55lf-0001YK-Fo for emacs-devel@gnu.org; Sat, 16 Mar 2019 05:38:16 -0400 Original-Received: from sonic312-45.consmr.mail.ir2.yahoo.com ([77.238.178.132]:43241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h55lf-0001Xn-6l for emacs-devel@gnu.org; Sat, 16 Mar 2019 05:38:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1552729093; bh=E6UlNgLObMj1gDc52prJk1oWHqRAEXr3MdJfX6NFWaY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=pFOBgGThdtwB/GMidQlpTtfm5xBP9CHpUzRJtYfJWeHrljCd5lVcCkgnwa54TZ3YMrQNDrrcjHZXFHIaYA7FGT31MzIXzEJb4t/5oW5bo2Yb1TnG9v9tGtOEpO+r5GukhwlcmCdcQk/6xhfc5tHQ3rrThEPI17eiIs0fRpVtY2iJIrQeJzG4Yl94fKahMOdfQNzCr72/J5SXTEsK1qRCKH8XlZVKJ+QYmFvidTdY/B8/uLTyzQUac/hilCzflHypHIs6rlK4s+rvg7rYzrPoqIHDBKgZeLaeEq95MpS1wVbD18C8o+Joyz8y2XnqC4xzbQ1zWURwCbbqeuzHPNZWyg== X-YMail-OSG: XX_69fkVM1nYUiCvpx5ZsPIU0gXHrKWKVBoMaO2j2kqVFy7fnIvrzzgux1s7P_0 pYGWN5PIBig3o9Hf3pS1Oz3u11bYiwFM0pArGx2B7euqfuOYy1Lswd3_oegj5b4lZAwLH1bmAQc3 PDPwyR_1Ptt5w26oQWSIcGg5XmXUwQf17idTOs2fRWLo2ODNDgrF8EOh2Vhn.UaJuNtyE0FAoEPe lCNntGb_f4bRSZMJEeyVBm1iwHg7W.4Y98vQZqLwIbGi49k53B2T7WeZ9rikAXYBYpw5JUBdVQMY .YmhVmYW7glWvi1nrvv13ZI7pnimAmW3JTghWCqH6X7SNURGrMzBARrjGTLVgglI0fKM483nqZ9e tKAYMixiG2J7m3hx0FNruOu5HrfwFsF.ewbPbT0bFTn325NgTj9qe68Ev49Rpx2Ers6RaPW_5hyO OZYAs2KJmHSbffDEcmQ0tcmuuJfon7vZDE8TDVIImHk3GeeqiRhjkRViy_.cbW72ngNCllQOjyLc WIdPYXeKqyrJqSSceCXAgGKalhlwh0lTa7EW8d2TOOAm5K2kjNtL0MHsoUzlF4js1952D34d3lX_ xHbJLM0vHfz1x9KIYM0E_5aAR.kflAF7C0LQE0b0E6YRhYwuTcrdvajrlfF1mXLQmrNA8R.Tt7tL xF0Z_GxZmBlgfQAfwfQEOkSHDnAHNJaN6zTvYy2CorO5zsJXu6Potv9IYogK_hQJgau.3TLY11ym GWKkJZnuU3xJF7lcgOM1qibLqyHqtW7plgb9HA9tjsm5Q1.kkXyzDG1lb9blCIu9UOgV_4CuR0Yy KKefS81pc5xy97z9MUUAfilU9Jc7YnUzQfmlUeeMct Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ir2.yahoo.com with HTTP; Sat, 16 Mar 2019 09:38:13 +0000 Original-Received: from 80.174.187.120.dyn.user.ono.com (EHLO Ergus) ([80.174.187.120]) by smtp427.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 227648e9293ab6e7119e3208ea8a34a8; Sat, 16 Mar 2019 09:36:12 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83bm2c1smi.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.178.132 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:234204 Archived-At: On Fri, Mar 15, 2019 at 09:52:53AM +0200, Eli Zaretskii wrote: > Can you solve this problem by using the :height attribute whose value > is 1.0 (a floating-point number) for the face of the character? If > that doesn't work, we might introduce a special feature for this use > case. > Hi: I tried that solution (setting the :height attribute to 1.0 in the face declaration) and it didn't work. ``` (defface fill-column-face '((t :inherit (shadow default) :height 1.0)) "Face for displaying fill column indicator line. This face is used when `display-fill-column-indicator-mode' is non-nil. If you customize the font of this face, make sure it is a monospaced font, otherwise the line's characters will not line up horizontally." :version "27.1" :group 'basic-faces :group 'display-fill-column-indicator) ``` There is still a small space and for rows with different size fonts it keeps always the same size. I see that there is a calc_line_height_property; can we use that to change the glyph. Maybe it is possible to implement a setter (equivalent to get_it_property? We can compare the line height with the it height and change it temporarily to print the indicator? Does it makes sense?