From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51830: 29.0.50; tab-line-mode will override (setq-default tab-line-format "xxx") Date: Sun, 14 Nov 2021 19:46:59 +0200 Message-ID: <83o86mtyss.fsf@gnu.org> References: <87v90v6zmw.fsf@163.com> <871r3jb60v.fsf@gnus.org> <8635nyzldf.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6132"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51830@debbugs.gnu.org, tumashu@163.com, larsi@gnus.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 14 18:48:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmJc7-0001Nr-Dh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Nov 2021 18:48:23 +0100 Original-Received: from localhost ([::1]:40300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmJc5-0007bK-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Nov 2021 12:48:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmJbm-0007ZK-En for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 12:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmJbm-0003BW-6q for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 12:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmJbm-0000Xy-52 for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 12:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Nov 2021 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51830-submit@debbugs.gnu.org id=B51830.16369120511984 (code B ref 51830); Sun, 14 Nov 2021 17:48:02 +0000 Original-Received: (at 51830) by debbugs.gnu.org; 14 Nov 2021 17:47:31 +0000 Original-Received: from localhost ([127.0.0.1]:51556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmJbG-0000Vu-PT for submit@debbugs.gnu.org; Sun, 14 Nov 2021 12:47:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmJbD-0000Uz-N1 for 51830@debbugs.gnu.org; Sun, 14 Nov 2021 12:47:28 -0500 Original-Received: from [2001:470:142:3::e] (port=60140 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmJb8-00039O-Dz; Sun, 14 Nov 2021 12:47:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1ZLdUHAigZo77gcs4sdL45WKVMws7zBsoxtbbBz7Gjo=; b=cXcFqPY1kawG POtJFzu4GFWXOz5M+K897Gb5fW3gcc55Y2btl9NC06msWwOgm9NeCE09GlaPZURfrpVwLwJZjoMoX naWsnqeI1Riwgl3jIaU+fSxwxY3+p4yCnnoZxsM+eqPi1xdR/TYfQs8K4CHZodg+DXqRmy5Ix8ig2 igeAVTt3lcMzdG5ACZENK2gKKCBhkR23psjGm4eWLbLus/E1Ib422gKDFbXzkkoRB+7ItwxWnBIB8 6RkiPAnLX0v1zLeEySsxthI6KZaL38FZN9MseRiyywPsgeLtmo+kdm4AU9Z8I/tkc7pvzndRi5SWL NDHTnfffaxN8nyIOmnkZKA==; Original-Received: from [87.69.77.57] (port=3929 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmJay-0005Na-Hx; Sun, 14 Nov 2021 12:47:22 -0500 In-Reply-To: <8635nyzldf.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 14 Nov 2021 19:40:28 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219983 Archived-At: > From: Juri Linkov > Date: Sun, 14 Nov 2021 19:40:28 +0200 > Cc: 51830@debbugs.gnu.org, Feng Shu > > > Yes, tab-line-mode resets the variable unconditionally: > > > > (define-minor-mode tab-line-mode > > "Toggle display of tab line in the windows displaying the current buffer." > > :lighter nil > > (setq tab-line-format (when tab-line-mode '(:eval (tab-line-format))))) > > > > Perhaps that should be done only when the variable's value is nil? > > This needs also to keep the original value while disabling the mode. > Do you think this should be installed in Emacs 28? We had that code since Emacs 27. Is it really urgent to fix that in Emacs 28?