[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48257: [kisara.moe] Re: [kisara.moe] Re: bug#48257: [kisara.moe] 28.
From: |
mohkale |
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 |
User-agent: |
mail v14.9.20 |
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.