GNU bug report logs - #79003
[PATCH] Make 'tab-line-separator' an user option.

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: Elijah Gabe Pérez <eg642616@HIDDEN>; Keywords: patch; Done: Elijah Gabe Pérez <eg642616@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 79003) by debbugs.gnu.org; 14 Jul 2025 11:23:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 14 07:23:18 2025
Received: from localhost ([127.0.0.1]:60151 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ubHHC-0001yR-6E
	for submit <at> debbugs.gnu.org; Mon, 14 Jul 2025 07:23:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41100)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ubHH6-0001xR-5A
 for 79003 <at> debbugs.gnu.org; Mon, 14 Jul 2025 07:23:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ubHGx-00067f-DQ; Mon, 14 Jul 2025 07:23:03 -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=5zgQpzk277BOCqMWV6R3PPCqJR1s07OBOFP1f/B5GMk=; b=o38/orUybWfJCc9QbJRl
 93Kwk3/jihTF7wtzKjRwr4kSfLfK1XtjBJ622VV06muTEFX6D4fU3/etMVmdqahtggt1vm0NGAryC
 sXy/IzN7YmBvDgFhS9r8F04vJFmkq6p57kB/3xX7MrJgdh/Fvj6gMwriJ7W8qBQGYJ372ZSwBlPne
 23FNzGfIbObapOFfXf5tLb1UAnl7wA3e2nRok+sl13ZGtYUU14djdWYornA4Mes1j9e/fZ4aLA8nx
 5jEFIwDF6qt0lcxo5Ph4cydlf5hoOYKoakft4l9p/yYrZZEWO365MJX88+9zHfD45aSgFjKxEAKmz
 bszi3ilTgc3AaQ==;
Date: Mon, 14 Jul 2025 14:22:48 +0300
Message-Id: <868qkrc8zb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Elijah Gabe =?utf-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
In-Reply-To: <874ivf4cnz.fsf@HIDDEN> (message from Elijah Gabe
 =?utf-8?Q?P=C3=A9rez?= on Sun, 13 Jul 2025 22:30:24 -0600)
Subject: Re: bug#79003: [PATCH] Make 'tab-line-separator' an user option.
References: <87v7nwendc.fsf@HIDDEN> <86v7nwd5u8.fsf@HIDDEN>
 <874ivf4cnz.fsf@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: 79003
Cc: 79003 <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: Elijah Gabe Pérez <eg642616@HIDDEN>
> Cc: 79003-done <at> debbugs.gnu.org
> Date: Sun, 13 Jul 2025 22:30:24 -0600
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Elijah Gabe Pérez <eg642616@HIDDEN>
> >> Date: Sat, 12 Jul 2025 22:16:47 -0600
> >> 
> >> I think that `tab-line-separator` must be a user option instead a plain
> >> variable, I've not found any other way to change the separators.
> >
> > Why?  No one has asked for that yet.  Why would users want to change
> > the separator?
> >
> > Emacs currently has more than 9K user options.  We should only add new
> > options if that is justified.
> 
> Well maybe because packages which have separator allows to customize
> them (e.g which-key-separator, imenu-level-separator,
> uniquify-separator), but I've noticed that most packages doesn't allow
> changing the separator or are as plain variables
> (e.g. menu-bar-separator, eldoc-doc-buffer-separator), i don't know if
> this is a kind of coding convention, but if so then i'm closing this
> bug.

I just cannot imagine a reason to customize just the separator of the
tab-line.




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

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


Received: (at 79003) by debbugs.gnu.org; 14 Jul 2025 06:25:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 14 02:25:02 2025
Received: from localhost ([127.0.0.1]:58887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ubCcX-0008Vn-VK
	for submit <at> debbugs.gnu.org; Mon, 14 Jul 2025 02:25:02 -0400
Received: from mout-y-209.mailbox.org ([2001:67c:2050:103:465::209]:47604)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1ubCcU-0008Uu-Pc
 for 79003 <at> debbugs.gnu.org; Mon, 14 Jul 2025 02:25:00 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4bgXNc1z6GzB0WJ;
 Mon, 14 Jul 2025 08:24:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1752474288;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=UNCUPD50u0gvWUJomsEGHPPQzDdQvb7lYLXsdW2yaIM=;
 b=dJJgQXJ8zxbV+K9DKSCQIsqedOqnofiGm80sPFOxMLjOo26M4RP8C8ebzjwP006QjVjbuM
 iiCJrpFE5h8oTZr6hCoKYo8u21Ic/BYokqUN6658y3njI+G0wowYjqt6RoEOY0rxQSK3KE
 z6MqH57+pslUIHqKO9lrmp9WQ8mmDVuninsmteM4pEgRKsjxUQXCbe4rTOW8wxXICHX/A3
 74BHP5G9TUufS91Z92JI95r1AWqiDPDm1sgbX2aJkSXcvkngy0xhMzlPk6XeP9/1EFvFeb
 xVt76VjUbfrUFDLI8j1IP7lnNKkvMktwUTerauXazFviVn0j1Kwf+3FU3SmusA==
From: Juri Linkov <juri@HIDDEN>
To: 79003 <at> debbugs.gnu.org
Subject: Re: bug#79003: [PATCH] Make 'tab-line-separator' an user option.
In-Reply-To: <874ivf4cnz.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87v7nwendc.fsf@HIDDEN> <86v7nwd5u8.fsf@HIDDEN>
 <874ivf4cnz.fsf@HIDDEN>
Date: Mon, 14 Jul 2025 09:20:02 +0300
Message-ID: <87y0srcnd9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 79003
Cc: eg642616@HIDDEN
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: -1.7 (-)

>>> I think that `tab-line-separator` must be a user option instead a plain
>>> variable, I've not found any other way to change the separators.
>>
>> Why?  No one has asked for that yet.  Why would users want to change
>> the separator?
>>
>> Emacs currently has more than 9K user options.  We should only add new
>> options if that is justified.
>
> Well maybe because packages which have separator allows to customize
> them (e.g which-key-separator, imenu-level-separator,
> uniquify-separator), but I've noticed that most packages doesn't allow
> changing the separator or are as plain variables
> (e.g. menu-bar-separator, eldoc-doc-buffer-separator), i don't know if
> this is a kind of coding convention, but if so then i'm closing this
> bug.

Most likely when users might want to change 'tab-line-separator'
they will also want to apply text properties to it as well.
But the Customization UI doesn't support editing text properties.
This explains why, for example, 'eldoc-doc-buffer-separator' whose
default value contains text properties is not defcustom:

  (defvar eldoc-doc-buffer-separator
    (concat "\n" (propertize "\n" 'face '(:inherit separator-line :extend t)) "\n")
    "String used to separate items in Eldoc documentation buffer.")




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

Message received at 79003-done <at> debbugs.gnu.org:


Received: (at 79003-done) by debbugs.gnu.org; 14 Jul 2025 04:31:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 14 00:31:06 2025
Received: from localhost ([127.0.0.1]:58445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ubAqI-0001AG-9v
	for submit <at> debbugs.gnu.org; Mon, 14 Jul 2025 00:31:06 -0400
Received: from mail-oa1-x43.google.com ([2001:4860:4864:20::43]:61650)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1ubAqF-00019a-N7
 for 79003-done <at> debbugs.gnu.org; Mon, 14 Jul 2025 00:31:04 -0400
Received: by mail-oa1-x43.google.com with SMTP id
 586e51a60fabf-2ebb468cbb4so3577806fac.2
 for <79003-done <at> debbugs.gnu.org>; Sun, 13 Jul 2025 21:31:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1752467457; x=1753072257; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=3I1bYCHiI7yyqfKdpV7gRXz6v8DxmGPFCP4cUbttkgM=;
 b=PaAgf976YUrOop14bgvx+XNX48bVL+LU7p3JTMOU0yYkMlWjZi/Sly9BkpWFkUtiYe
 4Q70G02s3Bi9A/Olif4b4bSxJpnfd7g3E9bRhN36uJCHfxdPGStqyeeKXEoSfj+eZC01
 ApTlZrA29BxlR9I9TZyLin0toB/ljpH7cM1/3cBNzxFash5pn7nclw4U3fSLzU7bUxuN
 vYiaGftXDeGBCWOCsj+ockkRKMOADJh7ySh1bBA3eUt9ErqD0ZWd0xjU28tE7/pnTBFj
 Zlz3ghWyGGR3D4wiBJ7D/5dR00Jsl/x9/lXN11cpO80WxqWeiWZmyfnqjsKDCS6sHhxD
 Ohmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1752467457; x=1753072257;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=3I1bYCHiI7yyqfKdpV7gRXz6v8DxmGPFCP4cUbttkgM=;
 b=itYkiOz+EG8ueyCBYbH65BOygSH82+1Z0uwN+RvZ9gIejYCTvhS+whXpEpOc4Eaff9
 MB6Pk6K3j5cU0nNCcmC5JURMHEv9uUKHGyDRMpiPo3nYISKZCAsgvIPzJqpoyLyh3Zj4
 svBj4AVdzl4KPgPzvbK9au4BbqBw4cbYH3mi3BGztAQeEzzuUDh/F/LjUqtiT03Fe6KZ
 pkkRVOjZwIEg+01A64kkrEXeV8b90eR3VlSxDRsx6NPn49E4FGS1ywp+vaGiZ1fP/bgu
 LN08uLkCtsx9SU9EbKta+6xQ4FQAq92n/T1Yq9BJHeSCCeflRyVA2VHC0gn88i57ptTJ
 9aIw==
X-Gm-Message-State: AOJu0Ywkw9Kd8k4iads/bhfCmQNlM0n+XUnIPoixmgS7n28FJcq39xp6
 kj0iWggKjfArmENHuAirA2U2TGTXRor3fjMRfQXnsCsumYiOKc+PGBsTqbW+8+Nx
X-Gm-Gg: ASbGncvEPmBqwRMTzoNd3AZbe2Ly9CFtoFAcatKG2uFBckd0diP+HjG6gdD7M4CEs35
 AKqyXXS0lcQCTYn731EuaMCUx0J7NSe5mPcgW9Uic9lqMmLZpwQ1+FMrv4UwaB0/+WNg17u9sN1
 ZWBUd6XynD1nSo8W1dduvOrC7Vn19+9SrEIQhhE/Sfrp6XiDU541CEMtuW+/41oOJeSF2tVzNXq
 NtPLK6jxNZNu+WDq8n3V7nvZpTIGP2ZYZSGrZv8T2JOKk854F+W3veRsm+C3sYFr3yeft05+pHE
 WxSbwFYN3w7IZUYTRpbRNE50ZDbTsnSnoTkFG8fGuLHNg69IyytKxVg1hrDM5Dk9CO3hzchEDo+
 ix1Bycry8VrNQ
X-Google-Smtp-Source: AGHT+IHFb5HLi8LT3JsM2WaqvX6aZAWNmVQ4zeCm4Wh3RUG/FwiWQ0atPAKi+jLUqSCyQ1r2EEmN5g==
X-Received: by 2002:a05:6870:a914:b0:2e9:e9b9:fd7c with SMTP id
 586e51a60fabf-2ff2715d5dcmr8806818fac.26.1752467457539; 
 Sun, 13 Jul 2025 21:30:57 -0700 (PDT)
Received: from fedora ([189.215.165.3]) by smtp.gmail.com with ESMTPSA id
 586e51a60fabf-2ff116d33desm1811154fac.37.2025.07.13.21.30.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 13 Jul 2025 21:30:57 -0700 (PDT)
From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#79003: [PATCH] Make 'tab-line-separator' an user option.
In-Reply-To: <86v7nwd5u8.fsf@HIDDEN>
References: <87v7nwendc.fsf@HIDDEN> <86v7nwd5u8.fsf@HIDDEN>
Date: Sun, 13 Jul 2025 22:30:24 -0600
Message-ID: <874ivf4cnz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 79003-done
Cc: 79003-done <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: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Elijah Gabe P=C3=A9rez <eg642616@HIDDEN>
>> Date: Sat, 12 Jul 2025 22:16:47 -0600
>>=20
>> I think that `tab-line-separator` must be a user option instead a plain
>> variable, I've not found any other way to change the separators.
>
> Why?  No one has asked for that yet.  Why would users want to change
> the separator?
>
> Emacs currently has more than 9K user options.  We should only add new
> options if that is justified.

Well maybe because packages which have separator allows to customize
them (e.g which-key-separator, imenu-level-separator,
uniquify-separator), but I've noticed that most packages doesn't allow
changing the separator or are as plain variables
(e.g. menu-bar-separator, eldoc-doc-buffer-separator), i don't know if
this is a kind of coding convention, but if so then i'm closing this
bug.

--=20
                                          - E.G via GNU Emacs and Org.




Notification sent to Elijah Gabe Pérez <eg642616@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Elijah Gabe Pérez <eg642616@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 79003) by debbugs.gnu.org; 13 Jul 2025 05:20:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 13 01:20:58 2025
Received: from localhost ([127.0.0.1]:50309 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uap90-0004iQ-9N
	for submit <at> debbugs.gnu.org; Sun, 13 Jul 2025 01:20:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40534)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uap8y-0004hp-6g
 for 79003 <at> debbugs.gnu.org; Sun, 13 Jul 2025 01:20:56 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uap8s-00016V-U2; Sun, 13 Jul 2025 01:20:50 -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=G82XeFckRUgX7yHT7AQiijOggFTwnR1p5dcbaDP/00o=; b=sEDG9JvMA8crnRwkHSXs
 AQqjK5D01yNU8BJyE/LL8I/LHNpGe36xoMLLv7Y0dFL/F/ppXLYSNtPmiOyTI0zE1Ambtx0EPuKX7
 /2pymKrdl5N04f9PAq36lxXXNhK7/3kq3ZWqKbPM2pHCjKNkmMOeU4pQtHJFu7cz7e8jpTgbaZjLg
 GBrf0Uujv7pUMy+D7GocCc6HRWMLfm8ffHRQOaxYK1LdzXzd89olgBmsq9sWn4eAraqaxY4+1Ou71
 oPkzXIN4+8OCJg1zGiNZGIaD+/m4xsG9dcEsssgUt6d8UWZ2F50vYHPG+lBFdtIwAtXEeM3fLbVWy
 PFkRkLZtWNjgug==;
Date: Sun, 13 Jul 2025 08:20:47 +0300
Message-Id: <86v7nwd5u8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Elijah Gabe =?iso-8859-1?Q?P=E9rez?= <eg642616@HIDDEN>
In-Reply-To: <87v7nwendc.fsf@HIDDEN> (message from Elijah Gabe
 =?iso-8859-1?Q?P=E9rez?= on Sat, 12 Jul 2025 22:16:47 -0600)
Subject: Re: bug#79003: [PATCH] Make 'tab-line-separator' an user option.
References: <87v7nwendc.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 79003
Cc: 79003 <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: Elijah Gabe Pérez <eg642616@HIDDEN>
> Date: Sat, 12 Jul 2025 22:16:47 -0600
> 
> I think that `tab-line-separator` must be a user option instead a plain
> variable, I've not found any other way to change the separators.

Why?  No one has asked for that yet.  Why would users want to change
the separator?

Emacs currently has more than 9K user options.  We should only add new
options if that is justified.

> +*** New user option 'tab-line-separator'

Period missing at the end of the heading line.

> +This user option controls which string separator should be used for
> +delimits tabs. If this is set to nil (the default), tab-line will use a
   ^^^^^^^^^^^^^
"separating tabs".

Also, please leave two SPC characters between sentences.

> +space as delimiter in GUI frames or a pipe ("|") in Terminal frames.

No need to capitalize "terminal" here.

> -(defvar tab-line-separator nil
> -  "String that delimits tabs.")
> +(defcustom tab-line-separator nil
> +  "String that delimits tabs.
> +If set to nil, tab-line will use a space as delimiter in GUI frames or a
> +pipe (\"|\") in Terminal frames."
> +  :type '(choice string (const :tag "Use default" nil))
> +  :version "31.1"
> +  :group 'tab-line)

What will happen if this string is too long?




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

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


Received: (at submit) by debbugs.gnu.org; 13 Jul 2025 04:17:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 13 00:17:00 2025
Received: from localhost ([127.0.0.1]:49976 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uao96-00084g-AR
	for submit <at> debbugs.gnu.org; Sun, 13 Jul 2025 00:17:00 -0400
Received: from lists.gnu.org ([2001:470:142::17]:50230)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1uao93-000847-R6
 for submit <at> debbugs.gnu.org; Sun, 13 Jul 2025 00:16:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eg642616@HIDDEN>)
 id 1uao8y-0007SZ-FJ
 for bug-gnu-emacs@HIDDEN; Sun, 13 Jul 2025 00:16:52 -0400
Received: from mail-oo1-xc42.google.com ([2607:f8b0:4864:20::c42])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <eg642616@HIDDEN>)
 id 1uao8w-0000sK-Ta
 for bug-gnu-emacs@HIDDEN; Sun, 13 Jul 2025 00:16:52 -0400
Received: by mail-oo1-xc42.google.com with SMTP id
 006d021491bc7-61208b86d75so1731125eaf.2
 for <bug-gnu-emacs@HIDDEN>; Sat, 12 Jul 2025 21:16:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1752380209; x=1752985009; darn=gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=PMmKwwq3z3Y3/HtxZbs1feNhVIQ4i06Vv2j9O+WVZ2o=;
 b=FoTa4kJ4KQsWpOp5tQHZAFDPRTL8TPyIgpi4O4G9A4h4fIrnpvVCB5LrK5k+JLRSYi
 M6xb+lbawF1u3hsbppKB2AMcwTqPFPtBg9RftUl20Z/yClLBdszd/Ls7sNzdH1ZXSFRF
 AowQK2OIee0bgSrTjJY0PF/QfxhthTmGNkeUQgU7hfDDuj/8wssVRX4hmr6MfrFRaEH/
 bCLOJDPGqoXinNb9P5p8eQ7UcmQZ/o3cKjCJx22LmbwUU3t1eRPOpkIO4J4xmGxuXLXm
 5LNZBWYjzelGwj7c+OHx6NI2YiAv7Ot2IjGRMSQywLtoHjWVyGlsuSNk39UHifCA+krl
 IOgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1752380209; x=1752985009;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=PMmKwwq3z3Y3/HtxZbs1feNhVIQ4i06Vv2j9O+WVZ2o=;
 b=MPMnI8fEWfRUkW9OEba0BRn9M0TcdphjCy6naZMF5umdNjZW03s7TNNN6cxQgfjaP+
 uBsx0YvmiavGJzOMTgVIczE5O+6341fsVnbzMEFg+qj6SAdK/De6o/qtvFB6q6UZlw9/
 K4qXhDtUkspkXcsNMz3hk6v2LjGWX8fuQdnxjJI6oMXVfl8PvGWdhg9QtllxIIlIUWMd
 4LKHJ3B2TZCKX+YW5TK+DmxTXSDvQM2qxeDmhH8/CJuvGCGbxqCDjiqSLIi1zx5vwdYF
 ENZ/xZ22DRDY9wgC8UuB8PddcNRtc3GrSstNszFOuH3X23K4I7u1sOpH7oevaR5/fYB7
 QIbg==
X-Gm-Message-State: AOJu0Yx8g9LU2cItI2qGP8OwLgJJBcps3kTgajKv0+F5Ryo6lez0t3WV
 YoM4w649eMQ6Q81VQC4ULklxi+tXsE6sRInvvsBa1qOSXghuaumKZDF1pBqfYY9O
X-Gm-Gg: ASbGncuqT4QeH2hAmbEHAgWqhH/wB6NgMzJsNHVDJFr4e7dNBJMapGS9VMVBDgTyJhh
 4UdN2kW3UF2D/PTuWCVMRhA30lPgkSZaZUjxS/L6PK4K5OZ8XoDxp1FpqEJ9bm4FEEUXsWuLxoS
 cluw2aWfpRAQJR3JXv3sSb3Fgp+gt0Ma/z4bepUGwo7jAExAbw0Ok4+NkhshLO/w2pc7G6UCVU0
 P+4c1xXPKFR17KH0HmmGRgYOfI4ivEQDWplMnFPb0FqvUsW+2dIj8BMmtFiZw1OnlxcbxiyMwHi
 FCCZxMfxDSfbmGoRHSlE+UeTmHvVfWVBvvB3QJJWMfoToVM+j+R+8JbTmoLbGQA6rCJc2sUAXBH
 gCuWxgrFCJu61auS4EwAg83AI
X-Google-Smtp-Source: AGHT+IG0CHUTHV5647Z47C9cCNsztIhzEXx3vKQOSb4NwzkhyfPMGKDC0DWH2/UVmqZE7JFvWlmtKQ==
X-Received: by 2002:a05:6820:310c:b0:613:8176:8a00 with SMTP id
 006d021491bc7-613e5efdeb9mr5859693eaf.2.1752380209385; 
 Sat, 12 Jul 2025 21:16:49 -0700 (PDT)
Received: from fedora ([189.215.167.29]) by smtp.gmail.com with ESMTPSA id
 006d021491bc7-613d9cac546sm859238eaf.0.2025.07.12.21.16.48
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 12 Jul 2025 21:16:48 -0700 (PDT)
From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [PATCH] Make 'tab-line-separator' an user option.
X-Debbugs-Cc: 
Date: Sat, 12 Jul 2025 22:16:47 -0600
Message-ID: <87v7nwendc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2607:f8b0:4864:20::c42;
 envelope-from=eg642616@HIDDEN; helo=mail-oo1-xc42.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Tags: patch I think that `tab-line-separator` must be a user
 option instead a plain variable, I've not found any other way to change the
 separators. From f2d83aca84bfb8cc9a5cf11cbe99f438d347470f Mon Sep 17 00:00:00
 2001 From: =?UTF-8?q?El=C3=ADas=20Gabriel=20P=C3=A9rez?= Date: Sat, 12 Jul
 2025 22:04:49 -0600 Subject: [PATCH] Make 'tab-line-separ [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (eg642616[at]gmail.com)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (eg642616[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
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: 0.2 (/)

--=-=-=
Content-Type: text/plain

Tags: patch

I think that `tab-line-separator` must be a user option instead a plain
variable, I've not found any other way to change the separators.


--=-=-=
Content-Type: text/patch
Content-Disposition: attachment;
 filename=0001-Make-tab-line-separator-an-user-option.-Bug.patch

From f2d83aca84bfb8cc9a5cf11cbe99f438d347470f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?El=C3=ADas=20Gabriel=20P=C3=A9rez?= <eg642616@HIDDEN>
Date: Sat, 12 Jul 2025 22:04:49 -0600
Subject: [PATCH] Make 'tab-line-separator' an user option.  (Bug#)

* lisp/tab-line.el (tab-line-separator): Define as defcustom.
---
 etc/NEWS         | 9 +++++++++
 lisp/tab-line.el | 9 +++++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index d85961ae2e4..55707a479ea 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -400,6 +400,15 @@ on the tab line to a different position.
 *** New command 'tab-line-close-other-tabs'.
 It is bound to the tab's context menu item "Close other tabs".
 
+---
+*** New user option 'tab-line-separator'
+This user option controls which string separator should be used for
+delimits tabs. If this is set to nil (the default), tab-line will use a
+space as delimiter in GUI frames or a pipe ("|") in Terminal frames.
+
+('tab-line-separator' was already present but as a plain Lisp variable,
+not a user option.)
+
 ---
 *** 'tab-line-exclude-modes' is now obsolete.
 Use 'tab-line-exclude-buffers' instead.
diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index 63b5e631a2d..e2177041e71 100644
--- a/lisp/tab-line.el
+++ b/lisp/tab-line.el
@@ -287,8 +287,13 @@ tab-line-right-button
               'help-echo "Click to scroll right")
   "Button for scrolling horizontally to the right.")
 
-(defvar tab-line-separator nil
-  "String that delimits tabs.")
+(defcustom tab-line-separator nil
+  "String that delimits tabs.
+If set to nil, tab-line will use a space as delimiter in GUI frames or a
+pipe (\"|\") in Terminal frames."
+  :type '(choice string (const :tag "Use default" nil))
+  :version "31.1"
+  :group 'tab-line)
 
 
 (defcustom tab-line-tab-name-function #'tab-line-tab-name-buffer
-- 
2.50.1


--=-=-=
Content-Type: text/plain


-- 
                                          - E.G via GNU Emacs and Org.

--=-=-=--




Acknowledgement sent to Elijah Gabe Pérez <eg642616@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#79003; 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: Mon, 14 Jul 2025 11:30:02 UTC

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