GNU bug report logs -
#48257
[kisara.moe] 28.0.50; Align to right doesn't account for window separator in terminal frames
Previous Next
Reported by: mohkale <at> kisara.moe
Date: Thu, 6 May 2021 15:40:02 UTC
Severity: normal
Tags: notabug
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Thu, 06 May 2021 17:16:53 +0200
> > From: mohkale <at> 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.
This bug report was last modified 4 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.