From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Display info nodes names in tabs. Date: Thu, 15 Sep 2022 16:45:25 +0200 Message-ID: <877d24k86y.fsf@gmail.com> References: <20220914103348.7a2ddf2a@enoush2o> <87wna56xjo.fsf@web.de> <87k064kdnf.fsf@gmail.com> <87k0646af9.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22345"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 16:46:56 2022 Return-path: Envelope-to: geh-help-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 1oYq8m-0005iX-2t for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 16:46:56 +0200 Original-Received: from localhost ([::1]:50216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYq8k-0001A9-U5 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 10:46:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYq7P-00018i-QJ for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 10:45:31 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:43836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYq7N-0002lA-OJ for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 10:45:31 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id t7so31202761wrm.10 for ; Thu, 15 Sep 2022 07:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=9NlheMncC4hxaR+wERRX9glZMa2vf3TPMctWnKtlnhc=; b=W1Hh85R0TJjTLPiGJBZeVFH+U7nSDcDHNCjNxCzaJZqcVDtjPtXWWZLAoY7wdpbzCX nNDwvf3du3HVaI245IjSdRg21GidLEyhEnJClpgXyoCV2NUuiSPdUhxsZ+tZyjJDKXWX u0zsyVAcmMcOiUt5RzslWBLDfFHvSB+TCsFJ4bXr5EvlvyXjL0xhb6NEbkCaaa/wnmTS DFL0ZPbV1qF2YI6nVQdhPaV4f8vnOp7tHscWo03N+4odOH4qg4ggcVQfchZnahuOlZG9 V1o//+2dl+iTcl3BsRfnln9I73mDwvqXqDmz2X9qEKr5DzHx/ydstSphF5rWapePS7ne zu5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=9NlheMncC4hxaR+wERRX9glZMa2vf3TPMctWnKtlnhc=; b=mxwammq5E54qBn4SKf8gXpRSFx0NGP4FoXEfP9LS2UATdLzGzC+kdZS+l3sNEVACxn baiDlN3xiobBuSgStT8UJIwXi2DttJov65qBRbTk0cZCnTzKz1Abo3GuAVFekbNrAVsO /gMylp+yGiK3au8sJeQk0inOKulK7pD6baSPXRYGv8rDfkcVeUblRtHbzgnnVP95Dm1f ZuNH9gEUe9htVSVMpCTmqyQfRWonwwVLI0ScERVScJ9rbzOnmZXa2hhT0zvqiGHSeUOL 8fyeuGPbdwaTQWbCxLeleJVutGSJf4Eu3EQZikUlOK+b85Oc3LgKKOdy8upB2ggB2vEE OjPw== X-Gm-Message-State: ACrzQf2plfSmrvWPMlqmMmaVuyycDdzWCyG0XHWhOl/wLFLbQoqppBUH sl0Um9HWlhpUiVrAwkw9MKNqb0OWyRc= X-Google-Smtp-Source: AMsMyM7OWj9dJfDZQl1nZQlBA1BjXcUuYB2P1/vMz4jZXqCXCJjom6CxZi7HV/SbVDQ8Bhq0MdALKA== X-Received: by 2002:a5d:6d8e:0:b0:22a:4831:e0e with SMTP id l14-20020a5d6d8e000000b0022a48310e0emr14457wrs.442.1663253127488; Thu, 15 Sep 2022 07:45:27 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:16a0:9848:d23c:7dcb]) by smtp.gmail.com with ESMTPSA id a5-20020adffb85000000b0022a2f4fa042sm2717434wrr.103.2022.09.15.07.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 07:45:26 -0700 (PDT) In-Reply-To: <87k0646af9.fsf@web.de> (Michael Heerdegen's message of "Thu, 15 Sep 2022 15:20:58 +0200") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=rpluim@gmail.com; helo=mail-wr1-x432.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, 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139485 Archived-At: >>>>> On Thu, 15 Sep 2022 15:20:58 +0200, Michael Heerdegen said: Michael> Robert Pluim writes: Michael> Would be nice, yes. Do you use the tab-bar or the tab-line? >> >> See `tab-bar-tab-name-function' and `tab-line-tab-name-function', both >> of which allow you to write custom functions. Michael> The problem with `tab-line-tab-name-function' (I guess with Michael> `tab-bar-tab-name-function' too, but I didn't check) is that it is not Michael> called often enough - because of the tab-line cache. The tab-line-cache Michael> key never changes/ gets invalid for Info buffers (no tracked parameter Michael> ever changes while you browse), so the tab name is never refreshed. I Michael> need to invalidate the cache explicitly to make it work, e.g. with a Michael> very ugly hack like this: So tab-line should switch to using the info node name? That sounds like you should use M-x report-emacs-bug to request an enhancement (or perhaps we can figure out a way to disable the cache for Info mode buffers). Robert --