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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: José Júnior <jjnilton@HIDDEN>; Keywords: moreinfo; dated Sat, 7 May 2022 22:25:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 55306 <at> debbugs.gnu.org:


Received: (at 55306) by debbugs.gnu.org; 8 May 2022 05:20:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 08 01:20:04 2022
Received: from localhost ([127.0.0.1]:53253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nnZKu-0001Id-Hq
	for submit <at> debbugs.gnu.org; Sun, 08 May 2022 01:20:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36660)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nnZKt-0001I2-ME
 for 55306 <at> debbugs.gnu.org; Sun, 08 May 2022 01:20:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49970)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nnZKo-0007Il-4b; Sun, 08 May 2022 01:19:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=F/Y3qj1ahGrzSk2IuqFb1dTgzGS+qgppefD/DBYVGwc=; b=h3riXWjOg4lleBHHSE2E
 1kBCH7OSUyg+zecWLGZw/x5yNSmdzQPgDcv1+3fk5H5CVEfej40KjLjCbxnVJFJmp7SQvOzgJXp4m
 z+Lu48WbXKpeooTF1C+O+laZmZLPHEChD0rOb2iVHEHq4jSmNHVQz7qukifvflbQtD9oHtad5cyG+
 RAWFb+fLpsaBVkexsIH5kfIq4jciKQjub4mt0XwxI5xPWHWEPotok7C3CgRIbfj+WGykNTVMx0twM
 6lB5jmc0BHnKE2UxZV3WrB0YA02BSqnSnqmjxwxAuXvUdkyGc9Mkr/Pq9K9e5XI1EM8UWc5WVWzLz
 m8UmlsIT4QzFgg==;
Received: from [87.69.77.57] (port=3201 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nnZKn-0007n5-HK; Sun, 08 May 2022 01:19:57 -0400
Date: Sun, 08 May 2022 08:19:50 +0300
Message-Id: <831qx4y51l.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?Sm9zw6kgSsO6bmlvcg==?= <jjnilton@HIDDEN>
In-Reply-To: <CAGD2S5UfGKbQgjxFhpHmFa4rZMn5q_wynOW2_TBS2Yn+VM8dGA@HIDDEN>
 (message from =?utf-8?B?Sm9zw6kgSsO6bmlvcg==?= on Sat, 7 May 2022 19:23:58
 -0300)
Subject: Re: bug#55306: 27.1;
 How to add face attribute (:box) only on the left/right?
References: <CAGD2S5UfGKbQgjxFhpHmFa4rZMn5q_wynOW2_TBS2Yn+VM8dGA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55306
Cc: 55306 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: José Júnior <jjnilton@HIDDEN>
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55306; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 May 2022 22:24:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 07 18:24:49 2022
Received: from localhost ([127.0.0.1]:53060 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nnSr3-0007Tm-2K
	for submit <at> debbugs.gnu.org; Sat, 07 May 2022 18:24:49 -0400
Received: from lists.gnu.org ([209.51.188.17]:58092)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jjnilton@HIDDEN>) id 1nnSr2-0007Tf-5l
 for submit <at> debbugs.gnu.org; Sat, 07 May 2022 18:24:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42068)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jjnilton@HIDDEN>)
 id 1nnSr2-00034O-0Q
 for bug-gnu-emacs@HIDDEN; Sat, 07 May 2022 18:24:48 -0400
Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:45633)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <jjnilton@HIDDEN>)
 id 1nnSqr-0002vk-QI
 for bug-gnu-emacs@HIDDEN; Sat, 07 May 2022 18:24:42 -0400
Received: by mail-wr1-x42c.google.com with SMTP id w4so14553491wrg.12
 for <bug-gnu-emacs@HIDDEN>; Sat, 07 May 2022 15:24:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=GsSsVxhZ6i8zz3XZmUEVe2Dvp++oKO7Q9SK0PfsJSGs=;
 b=YODys47Y6ejGy7YsQ6cIq3NnFQQOMIP3GI+1i7nNbyK5v7CY4EYNtZZIQRZ2tKx46N
 isPMFWssLYuKCzun+r/NUVPrTDAHc9aU4/Gv58KTPez1hK7umhF3Mj5KkbYvxKjmd66Z
 uFLagRnvVu2e91Js5m3xsKV7QHbBTMQ1gNyUNDAs6ORxTlE3A5H83fdayLN+LbDbMzox
 YibfDVGUeLrZmjFWEF/vRDgffEziNp0Lwy/ndEfqHKg1AYRvZK6aO1uS0+HUTRwlifC3
 gNnN0LBuCeLUZubregk8rlQbq/UDlz57Vex/KoVRPqF3wBJLdygC/YQ593uWnFSFrrlp
 CAWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=GsSsVxhZ6i8zz3XZmUEVe2Dvp++oKO7Q9SK0PfsJSGs=;
 b=QTyAOVPhal1HuJ01Gz+YeUiGUvBUTVts/tf+ACDW6n6zSH0Ln+VVEyolsFLvQ69gFn
 T1vTVxg3uYxPgJNeu4aIqQMhyux77jpbXZnold4bvcUzgPFBloVgYTGI8IusFh8lYxyQ
 O2ax4vBBtl7fVGtfb8VCUhaHyxnzJpmHg59qZmQabZdzNi+fz/oSyawbtUZWGXADxwnb
 7X9PgCGXfRlE/hoquh5jifQLuJZr/C84Nc40EROUBqOtDubFnWZ1jq6jGRSdn8RwFbhR
 mFWIpqW3M83I6r9zhBPwrCIge0Ily0lgCMUZT4nEVz5vryEZytC1L233f7TiWN1DuG64
 9NMQ==
X-Gm-Message-State: AOAM530CeqviiwErGo59QIu1tIqVU8tDXoz3T/q0e+/oSN7e5RgrmlxM
 TDff82QNmySWCEvd7Ahmmm0rsDMlbK+c8dXTVmP6Mfwb
X-Google-Smtp-Source: ABdhPJwxkpOxiEeoWg5NyluU39RCi7w9/XXb1CD0BXIV9/fV3YmUueeEg0DnM359qT8MFWND9Z6mRmbRraC6oumW8K8=
X-Received: by 2002:adf:c6c2:0:b0:206:e60:1eef with SMTP id
 c2-20020adfc6c2000000b002060e601eefmr7918896wrh.579.1651962274987; Sat, 07
 May 2022 15:24:34 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?Sm9zw6kgSsO6bmlvcg==?= <jjnilton@HIDDEN>
Date: Sat, 7 May 2022 19:23:58 -0300
Message-ID: <CAGD2S5UfGKbQgjxFhpHmFa4rZMn5q_wynOW2_TBS2Yn+VM8dGA@HIDDEN>
Subject: 27.1; How to add face attribute (:box) only on the left/right?
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000095436e05de7370cb"
Received-SPF: pass client-ip=2a00:1450:4864:20::42c;
 envelope-from=jjnilton@HIDDEN; helo=mail-wr1-x42c.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 T_SCC_BODY_TEXT_LINE=-0.01,
 T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000095436e05de7370cb
Content-Type: text/plain; charset="UTF-8"

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!

--00000000000095436e05de7370cb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi, I&#39;m trying to add some left/right padding in =
the tab-bar-tab and mode-line-buffer-id. <br></div><div><br></div><div>I tr=
ied adding the :box attribute the tab-bar-tab and the mode-line-buffer-id f=
aces, but it just lets me add a border on all four sides - I want only on t=
he left/right.</div><div><br></div><div>I also tried to add like this: (:bo=
x (:line-width (2 . 3))) for vwidth and hwidth, but it seems to be invalid.=
<br></div><div><br></div><div>Besides that, on the mode-line-buffer-id the =
left side border simply doesn&#39;t appear.</div><div><br></div><div>What c=
an I do to achieve what I want?</div><div><br></div><div>Thanks!<br></div><=
/div>

--00000000000095436e05de7370cb--




Acknowledgement sent to José Júnior <jjnilton@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#55306; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 8 May 2022 12:00:02 UTC

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