From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#73027: Fwd: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu Date: Tue, 24 Sep 2024 09:43:04 +0300 Organization: LINKOV.NET Message-ID: <86y13hblav.fsf@mail.linkov.net> References: <87y147v77e.fsf@gmail.com> <87plpjv67q.fsf@gmail.com> <86ed5zieqx.fsf@mail.linkov.net> <878qw78jvu.fsf@gmail.com> <86v7zawqvn.fsf@mail.linkov.net> <877cbqy0e2.fsf@gmail.com> <86bk0w3tf5.fsf@mail.linkov.net> <86o74h4bbn.fsf@gnu.org> <864j68g9pb.fsf@mail.linkov.net> <86ldzk3mc9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: execvy@gmail.com, 73027@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 08:55:13 2024 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 1sszS5-0001fd-Ke for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 08:55:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sszRa-0008BJ-Pi; Tue, 24 Sep 2024 02:54:42 -0400 Original-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 ) id 1sszRY-0008AN-Nh for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 02:54:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sszRY-0000Mx-Bf for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 02:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=sXXKck4xiF80McCINcz8picJxshMbCQkxlnTH3UhqaM=; b=IkWQm4H0CdpxcHQ++SNOpFfAp5lXeBzQP81YFcgo4XYa5U3vyku7gRxOezcYdZnnk7gDSIDGhOcoxvFarRJwscMjFGoZAyiakoAAamvO6+otcHY7631UXjCAcosgJnUrHkKB0lMsScWsHi3rKMXdeQqgAgta7gbNJQNRZxfbSPp18U0lsKanDwmih85nf7Da2sUC4z8q1DyAxTfMz4Zv8V46KqfAlGylfduViH7aNo2M3h7ZO/G9358bBqIneQe+vjO4Uk4C/JBo1hGpMUbBcjrGo2QKItvEKZubRzw9RDup+0cpWXjWMWoEFmwpOyTIEonRI2u2WYSU1EPIg7sCtA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sszRw-0004nz-AZ for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 02:55:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 06:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73027 X-GNU-PR-Package: emacs Original-Received: via spool by 73027-submit@debbugs.gnu.org id=B73027.172716090318448 (code B ref 73027); Tue, 24 Sep 2024 06:55:04 +0000 Original-Received: (at 73027) by debbugs.gnu.org; 24 Sep 2024 06:55:03 +0000 Original-Received: from localhost ([127.0.0.1]:45134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sszRu-0004nP-BB for submit@debbugs.gnu.org; Tue, 24 Sep 2024 02:55:02 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sszRs-0004mq-04; Tue, 24 Sep 2024 02:55:00 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 99542E000B; Tue, 24 Sep 2024 06:54:08 +0000 (UTC) In-Reply-To: <86ldzk3mc9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Sep 2024 21:15:02 +0300") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292303 Archived-At: close 73027 30.0.60 stop >> >> The problem is that the mode-line keymap can't be used without >> >> replacing the symbol 'mode-line' with 'tab-bar'. >> > >> > Should we close this bug with the above workaround? Or would we like >> > to solve it in some other way? >> >> Do you think it would be a good idea to inspect text properties >> on the mode-line strings when they are displayed on the tab-bar, >> and change the symbol 'mode-line' to 'tab-bar' in the 'keymap' >> property on the fly? > > Sounds kludgey, TBH. Besides, I'm not even sure this could be done > reliably, since mode-line-format could be very recursive. Indeed, this can't be done reliably. Moreover, this can even cause performance degradation when using :eval such as '(:eval (mu4e--modeline-string)) when such a kludge should be applied every time the tab-bar is updated. So this is closed now with the recommendation to add the symbol 'tab-bar' alongside 'mode-line' in the package-specific 'mu4e--modeline-string'.