unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: mohkale@kisara.moe
To: Eli Zaretskii <eliz@gnu.org>
Cc: mohkale@kisara.moe, 48257@debbugs.gnu.org
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	[thread overview]
Message-ID: <20210506160504.396A3A1163@mail.kisara.moe> (raw)
In-Reply-To: <835yzveudn.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> 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.





  reply	other threads:[~2021-05-06 16:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06 15:16 bug#48257: [kisara.moe] 28.0.50; Align to right doesn't account for window separator in terminal frames mohkale
2021-05-06 15:48 ` Eli Zaretskii
2021-05-06 16:05   ` mohkale [this message]
2021-05-06 16:43     ` bug#48257: [kisara.moe] Re: [kisara.moe] " Eli Zaretskii
2021-05-11 16:44 ` Eli Zaretskii
     [not found]   ` <877dk55h90.fsf@kisara.moe>
2021-05-11 17:19     ` bug#48257: [kisara.moe] Re: [kisara.moe] " Eli Zaretskii
2021-05-11 17:26       ` Eli Zaretskii
2021-05-11 17:40       ` bug#48257: [kisara.moe] Re: [kisara.moe] " Mohsin Kaleem
2021-07-05 21:04 ` bug#48257: " Kevin Boulain
2021-07-06 12:49   ` Eli Zaretskii
2021-07-06 17:13     ` Eli Zaretskii
     [not found]       ` <CABaj1X9fTfYcZ8bcLHvLtmseyQeVspL3-wF2pN6DC_uLgMny4A@mail.gmail.com>
2021-07-08  6:24         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210506160504.396A3A1163@mail.kisara.moe \
    --to=mohkale@kisara.moe \
    --cc=48257@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).