GNU bug report logs - #55306
27.1; How to add face attribute (:box) only on the left/right?

Previous Next

Package: emacs;

Reported by: José Júnior <jjnilton <at> gmail.com>

Date: Sat, 7 May 2022 22:25:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55306 in the body.
You can then email your comments to 55306 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#55306; Package emacs. (Sat, 07 May 2022 22:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to José Júnior <jjnilton <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 07 May 2022 22:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: José Júnior <jjnilton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; How to add face attribute (:box) only on the left/right?
Date: Sat, 7 May 2022 19:23:58 -0300
[Message part 1 (text/plain, inline)]
Hi, I'm trying to add some left/right padding in the tab-bar-tab and
mode-line-buffer-id.

I tried adding the :box attribute the tab-bar-tab and the
mode-line-buffer-id faces, but it just lets me add a border on all four
sides - I want only on the left/right.

I also tried to add like this: (:box (:line-width (2 . 3))) for vwidth and
hwidth, but it seems to be invalid.

Besides that, on the mode-line-buffer-id the left side border simply
doesn't appear.

What can I do to achieve what I want?

Thanks!
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55306; Package emacs. (Sun, 08 May 2022 05:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 55306 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: José Júnior <jjnilton <at> gmail.com>
Cc: 55306 <at> debbugs.gnu.org
Subject: Re: bug#55306: 27.1;
 How to add face attribute (:box) only on the left/right?
Date: Sun, 08 May 2022 08:19:50 +0300
> From: José Júnior <jjnilton <at> gmail.com>
> Date: Sat, 7 May 2022 19:23:58 -0300
> 
> Hi, I'm trying to add some left/right padding in the tab-bar-tab and mode-line-buffer-id. 
> 
> I tried adding the :box attribute the tab-bar-tab and the mode-line-buffer-id faces, but it just lets me add a
> border on all four sides - I want only on the left/right.
> 
> I also tried to add like this: (:box (:line-width (2 . 3))) for vwidth and hwidth, but it seems to be invalid.

This is supported in Emacs 28.1 and later, so you will need to
upgrade.

> Besides that, on the mode-line-buffer-id the left side border simply doesn't appear.
> 
> What can I do to achieve what I want?

You can, but only in Emacs 28.




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 08 May 2022 11:46:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55306; Package emacs. (Sun, 08 May 2022 15:04:02 GMT) Full text and rfc822 format available.

Message #13 received at 55306 <at> debbugs.gnu.org (full text, mbox):

From: José Júnior <jjnilton <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 55306 <at> debbugs.gnu.org
Subject: Re: bug#55306: 27.1;
 How to add face attribute (:box) only on the left/right?
Date: Sun, 8 May 2022 12:02:51 -0300
[Message part 1 (text/plain, inline)]
Ok, thanks!

On Sun, May 8, 2022 at 2:19 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: José Júnior <jjnilton <at> gmail.com>
> > Date: Sat, 7 May 2022 19:23:58 -0300
> >
> > Hi, I'm trying to add some left/right padding in the tab-bar-tab and
> mode-line-buffer-id.
> >
> > I tried adding the :box attribute the tab-bar-tab and the
> mode-line-buffer-id faces, but it just lets me add a
> > border on all four sides - I want only on the left/right.
> >
> > I also tried to add like this: (:box (:line-width (2 . 3))) for vwidth
> and hwidth, but it seems to be invalid.
>
> This is supported in Emacs 28.1 and later, so you will need to
> upgrade.
>
> > Besides that, on the mode-line-buffer-id the left side border simply
> doesn't appear.
> >
> > What can I do to achieve what I want?
>
> You can, but only in Emacs 28.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55306; Package emacs. (Sun, 22 May 2022 20:03:02 GMT) Full text and rfc822 format available.

Message #16 received at 55306 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 55306 <at> debbugs.gnu.org,
 José Júnior <jjnilton <at> gmail.com>
Subject: Re: bug#55306: 27.1; How to add face attribute (:box) only on the
 left/right?
Date: Sun, 22 May 2022 22:01:55 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Besides that, on the mode-line-buffer-id the left side border simply
>> doesn't appear.
>> 
>> What can I do to achieve what I want?
>
> You can, but only in Emacs 28.

So there doesn't seem to be anything to be done here, if I understand
correctly, and I'm therefore closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 55306 <at> debbugs.gnu.org and José Júnior <jjnilton <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 22 May 2022 20:03:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Jun 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.