GNU bug report logs - #79046
(WIP) [PATCH] tab-line: Change close button appearance for modified tabs

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sat, 19 Jul 2025 01:23:02 UTC

Severity: normal

Tags: patch

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Full log


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

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 79046 <at> debbugs.gnu.org
Subject: Re: bug#79046: (WIP) [PATCH] tab-line: Change close button
 appearance for modified tabs
Date: Wed, 30 Jul 2025 22:20:03 -0600
[Message part 1 (text/plain, inline)]
Juri Linkov <juri <at> linkov.net> writes:

[ Sorry i forgot to reply. ]

>> The patch is not yet finished, this feature is currently "hardcoded"
>> (the only way to disable this is removing `tab-line-tab-face-modified`
>> from `tab-line-tab-face-functions`).
>>
>> I would like any suggestion, if should this have an option for disable
>> this.

> There is an option `tab-line-tab-name-format-function`,
> but it would be too cumbersome for users to override the
> whole `tab-line-tab-name-format-default` to be able to
> disable only the close button.

Indeed.  I've added an option for allow disable this.

> Maybe it would be ok for users to customize the icon with
>
>   M-x customize-icon RET tab-line-close-modified RET
>
> and copy attributes from `tab-line-close-button`.

AFAIK the icon should be customizable.

I'm sending here the finished version of the patch:

[0001-tab-line-Add-close-button-for-modified-tabs-bug-7904.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
- E.G via Gnus and Org.

This bug report was last modified 13 days ago.

Previous Next


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