From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19872: 24.4; UTF8 characters of unusual width (Gnus markers) Date: Wed, 18 Feb 2015 11:43:26 +1100 Message-ID: <878ufwcamp.fsf@building.gnus.org> References: <86bnkvilxl.fsf@example.com> <86r3tqchqt.fsf@example.com> <83zj8dua5s.fsf@gnu.org> <87oaotyxwn.fsf@building.gnus.org> <83fva47dak.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424220273 14610 80.91.229.3 (18 Feb 2015 00:44:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2015 00:44:33 +0000 (UTC) Cc: sva-news@mygooglest.com, 19872@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 01:44:22 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YNskM-00075z-Q1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Feb 2015 01:44:10 +0100 Original-Received: from localhost ([::1]:47924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNskM-0003cE-3U for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 19:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNskG-0003b6-6Y for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 19:44:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNskF-0001Ts-2d for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 19:44:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNskE-0001Tm-Vi for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 19:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YNskE-0006ep-Hf; Tue, 17 Feb 2015 19:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 18 Feb 2015 00:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19872 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 19872-submit@debbugs.gnu.org id=B19872.142422023625570 (code B ref 19872); Wed, 18 Feb 2015 00:44:02 +0000 Original-Received: (at 19872) by debbugs.gnu.org; 18 Feb 2015 00:43:56 +0000 Original-Received: from localhost ([127.0.0.1]:46739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNsk8-0006eL-7e for submit@debbugs.gnu.org; Tue, 17 Feb 2015 19:43:56 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:57614) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNsk6-0006eC-Kd for 19872@debbugs.gnu.org; Tue, 17 Feb 2015 19:43:55 -0500 Original-Received: from 77.17.13.246.tmi.telenormobil.no ([77.17.13.246] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YNsjm-0003em-9Y; Wed, 18 Feb 2015 01:43:35 +0100 In-Reply-To: <83fva47dak.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Feb 2015 17:44:51 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1YNsjm-0003em-9Y MailScanner-NULL-Check: 1424825015.58086@8L1ijdjT1Gr6RnkQ/V2HMQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99520 Archived-At: Eli Zaretskii writes: > I don't see why would you need to do all that. First, you already do > these calculations, to know how many blanks to insert, right? So you > already know whether a string is too long, at least in terms of > characters, right? And :align-to can work in character units as well > as in pixels. Well, the problem here is that some fonts are wider than others. If Gnus says "this should be 20 characters wide", then if some of the glyphs are wider than the normal 20 characters, then things won't line up any more. You could reserve more space for these instances, but that would leave too much white space normally. > And second, AFAIU you are talking about an additional feature. The OP > presented a use case where no string is too long, AFAICT. So it would > get you bonus points to handle long strings as well, but that's not > what this bug report is about: the same problem exists with the > current "alignment" using whitespace, right? Gnus truncates the strings if they're too long and inserts spaces if they're too short. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/