From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [BUG] Tabs and mode/header/frame-title update Date: Sun, 20 Oct 2019 19:31:11 +0300 Organization: LINKOV.NET Message-ID: <87lftfjs4w.fsf@mail.linkov.net> References: <87v9sjjxxg.fsf@kenko.localhost.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155824"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel@gnu.org To: Ingo Lohmar Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 20 18:36:44 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMECB-000eMd-0u for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2019 18:36:43 +0200 Original-Received: from localhost ([::1]:40540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMEC9-0007Kx-PF for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2019 12:36:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33345) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iME8o-0003gH-Sy for emacs-devel@gnu.org; Sun, 20 Oct 2019 12:33:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iME8n-0000PV-QA for emacs-devel@gnu.org; Sun, 20 Oct 2019 12:33:14 -0400 Original-Received: from crocodile.birch.relay.mailchannels.net ([23.83.209.45]:10860) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iME8n-0000NK-Hq for emacs-devel@gnu.org; Sun, 20 Oct 2019 12:33:13 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0F17CE0716; Sun, 20 Oct 2019 16:33:11 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a73.g.dreamhost.com (100-96-91-110.trex.outbound.svc.cluster.local [100.96.91.110]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6CE1FE069D; Sun, 20 Oct 2019 16:33:10 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a73.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 20 Oct 2019 16:33:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Absorbed-Soft: 14da20717ff8ed3e_1571589190649_641262161 X-MC-Loop-Signature: 1571589190649:1516043249 X-MC-Ingress-Time: 1571589190648 Original-Received: from pdx1-sub0-mail-a73.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a73.g.dreamhost.com (Postfix) with ESMTP id 104CE82BF2; Sun, 20 Oct 2019 09:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=yeAY35ptk2J2svHGVavP5GeVPoE=; b= QpSMLQ8u8GR929uuA/0MlsUSswiJN/0QppG11ZrjV+1puN/mb+VdhmR8onZ5WZ8s lqhIA3cGSFQv3TD4UNGTgesZv5T/7OiDnm3GSMa/jTShiTGkPfbC9ZMH/o36M/W5 Rv20K4esaP8t4T/ISUh5BSiMvClDwmnVrb76QE+cLW0= Original-Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a73.g.dreamhost.com (Postfix) with ESMTPSA id 3A8D782B75; Sun, 20 Oct 2019 09:33:00 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a73 In-Reply-To: <87v9sjjxxg.fsf@kenko.localhost.com> (Ingo Lohmar's message of "Sun, 20 Oct 2019 16:26:03 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.45 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241254 Archived-At: > so as not to turn on `tab-bar-mode`, but only to check its status. This is fixed now. > 2) However, I use tabs w/o tab-bar-mode and only looked at the code > above because I wondered why my frame-title (where I put the current tab > info) was not reliably updated when, eg, adding a tab. > > IMO, such an update is *especially* relevant when you use the functions > without `tab-bar-mode`. But all calls to `force-mode-line-update` (at > the end of various interactive functions) are conditioned on > `tab-bar-mode`. > > Since this is by no means a frequent operation, I strongly suggest > to update the modeline(/header/title) unconditionally. I tried to reproduce this, but without `tab-bar-mode` the frame-title is still updated. Maybe this somehow depends on your settings? Please confirm that it really updates the frame-title when you call `force-mode-line-update` unconditionally. Then I will remove that condition.