From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mohkale@kisara.moe Newsgroups: gmane.emacs.bugs Subject: bug#48257: [kisara.moe] Re: [kisara.moe] Re: bug#48257: [kisara.moe] 28.0.50; Align to right doesn't account for window separator in terminal frames Date: Thu, 06 May 2021 18:05:04 +0200 Message-ID: <20210506160504.396A3A1163@mail.kisara.moe> References: <20210506151653.31575A08EB@mail.kisara.moe> <835yzveudn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mail v14.9.20 Cc: mohkale@kisara.moe, 48257@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 19:33:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lehsA-0005jI-2C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 19:33:14 +0200 Original-Received: from localhost ([::1]:34336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lehs9-00030t-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 13:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lehry-0002yv-6s for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 13:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lehrx-0003qw-Ua for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 13:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lehrx-0005pA-NO for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 13:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: mohkale@kisara.moe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48257 X-GNU-PR-Package: emacs Original-Received: via spool by 48257-submit@debbugs.gnu.org id=B48257.162032235022381 (code B ref 48257); Thu, 06 May 2021 17:33:01 +0000 Original-Received: (at 48257) by debbugs.gnu.org; 6 May 2021 17:32:30 +0000 Original-Received: from localhost ([127.0.0.1]:38745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehrR-0005ov-CF for submit@debbugs.gnu.org; Thu, 06 May 2021 13:32:30 -0400 Original-Received: from 119.ip-51-38-65.eu ([51.38.65.119]:52298 helo=mail.kisara.moe) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1legUr-0004TT-9d for 48257@debbugs.gnu.org; Thu, 06 May 2021 12:05:07 -0400 Original-Received: by mail.kisara.moe (Postfix, from userid 1001) id 396A3A1163; Thu, 6 May 2021 18:05:04 +0200 (CEST) In-Reply-To: <835yzveudn.fsf@gnu.org> X-Mailman-Approved-At: Thu, 06 May 2021 13:32:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205866 Archived-At: Eli Zaretskii wrote: > > Date: Thu, 06 May 2021 17:16:53 +0200 > > From: mohkale@kisara.moe > > > > On terminal frames emacs doesn't account for the window separator when > > right aligning some text. > > Only in the mode line, or also in the window's text area? > > Your recipe only affects the mode line. > > Thanks. I haven't encountered the issue in regular windows (at least not that I can recall). I have encountered something similair when using selectrums new group-title-format. where there's a $ shown on the right hand fringe because the input is too long but that may be unrelated. ```lisp (selectrum-mode +1) (completing-read "foo: " (cl-loop for i from 1 to 10 collect (concat #(" " 0 4 (face (:strike-through t))) #(" hello ") #(" " 0 1 (face (:strike-through t) display (space :align-to right)))))) ``` I believe selectrum renders completion candidates onto a virtual buffer so maybe this is an example of what you described.