GNU logs - #50147, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#50147: Wishlist: Display mode name in mode line tooltip
Resent-From: Stefan Kangas <stefan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 21 Aug 2021 16:08:01 +0000
Resent-Message-ID: <handler.50147.B.162956207224011 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 50147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 50147 <at> debbugs.gnu.org
X-Debbugs-Original-To: Bug reports for GNU Emacs <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.162956207224011
          (code B ref -1); Sat, 21 Aug 2021 16:08:01 +0000
Received: (at submit) by debbugs.gnu.org; 21 Aug 2021 16:07:52 +0000
Received: from localhost ([127.0.0.1]:37732 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mHTXE-0006FD-1K
	for submit <at> debbugs.gnu.org; Sat, 21 Aug 2021 12:07:52 -0400
Received: from lists.gnu.org ([209.51.188.17]:32930)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1mHTXC-0006F6-Dm
 for submit <at> debbugs.gnu.org; Sat, 21 Aug 2021 12:07:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51910)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <stefankangas@HIDDEN>)
 id 1mHTXC-0002sF-9l
 for bug-gnu-emacs@HIDDEN; Sat, 21 Aug 2021 12:07:50 -0400
Received: from mail-pf1-f176.google.com ([209.85.210.176]:33610)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <stefankangas@HIDDEN>)
 id 1mHTXA-0000Nf-Qt
 for bug-gnu-emacs@HIDDEN; Sat, 21 Aug 2021 12:07:49 -0400
Received: by mail-pf1-f176.google.com with SMTP id w68so11406168pfd.0
 for <bug-gnu-emacs@HIDDEN>; Sat, 21 Aug 2021 09:07:48 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=nYvRZGAtRbKaHa/9mTDF1Y2e2eu/52vkdXSBBaIUF8E=;
 b=bWRMJOnbKbwCEEZOZJpMSCPnG3fmQ0YUdgrwvmcqL+EaktxevH+05yWyn/+OQ2UHww
 7fQyw0EOS4NLRDLIjS+MCUbOWuRIVMMYVAFV+G/v8GG7+5bKuJiKHvfRd3aTJA9sZJoF
 410pxDyBtJhm/5NyO69oMfsgC9L9CP5s/0ki5vawpCB93Otnq/0dkX4LsQ02iQcC+5G+
 4GoQ6fiOuY+VQw1uzpST/gLt0W+rSFmK5Vkj7MxqGGHFhxIEgSbgq33KNetVfbcDgBwq
 q6gqO/dqYG7O5fV4KTjW45ShLEa/Lva4Hun5SWb51pH6uqGs1kndcZ/BDw0VS9XF5Dto
 YTyg==
X-Gm-Message-State: AOAM533Uiul7yOblHq6+WV/eX16PJyk/KlCJ0jUIHyKaSTbKySlCqysl
 MSz1bwDSTfaWqGyXHs6h800RdSR72U6K0z5Jk+QvMge5
X-Google-Smtp-Source: ABdhPJyrc/v4cOEIYXBpLZOmU4VuLoCnZSCTaPDJ8o4UP5p1u1a1/vgP67Wln6+w2QhlNhMSZPTUl+3kTwGOWYG1l+k=
X-Received: by 2002:a63:d849:: with SMTP id k9mr24494422pgj.67.1629562066871; 
 Sat, 21 Aug 2021 09:07:46 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Sat, 21 Aug 2021 18:07:35 +0200
Message-ID: <CADwFkmmZr2DjSovDwujZhRg-nCiMGPq22nQn9x4RNKeUW_Q46Q@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.210.176;
 envelope-from=stefankangas@HIDDEN; helo=mail-pf1-f176.google.com
X-Spam_score_int: 0
X-Spam_score: -0.0
X-Spam_bar: /
X-Spam_report: (-0.0 / 5.0 requ) BAYES_05=-0.5,
 FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.8 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.8 (-)

Severity: wishlist

When I hover over the major and minor mode names in the mode line, the
tooltip says "Minor mode" or "Major mode".

It would be useful if it could display the full mode name in the tooltip.




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Stefan Kangas <stefan@HIDDEN>
Subject: bug#50147: Acknowledgement (Wishlist: Display mode name in mode
 line tooltip)
Message-ID: <handler.50147.B.162956207224011.ack <at> debbugs.gnu.org>
References: <CADwFkmmZr2DjSovDwujZhRg-nCiMGPq22nQn9x4RNKeUW_Q46Q@HIDDEN>
X-Gnu-PR-Message: ack 50147
X-Gnu-PR-Package: emacs
Reply-To: 50147 <at> debbugs.gnu.org
Date: Sat, 21 Aug 2021 16:08:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 50147 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
50147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50147
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#50147: Wishlist: Display mode name in mode line tooltip
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 22 Aug 2021 14:47:01 +0000
Resent-Message-ID: <handler.50147.B50147.162964361921683 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Kangas <stefan@HIDDEN>
Cc: 50147 <at> debbugs.gnu.org
Received: via spool by 50147-submit <at> debbugs.gnu.org id=B50147.162964361921683
          (code B ref 50147); Sun, 22 Aug 2021 14:47:01 +0000
Received: (at 50147) by debbugs.gnu.org; 22 Aug 2021 14:46:59 +0000
Received: from localhost ([127.0.0.1]:39689 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mHokQ-0005dZ-Ho
	for submit <at> debbugs.gnu.org; Sun, 22 Aug 2021 10:46:58 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34574)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mHokK-0005d8-Q1
 for 50147 <at> debbugs.gnu.org; Sun, 22 Aug 2021 10:46:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=GhH9+pFvXf/blfahARxHikpFy/7BjUizL0Mnd7M3E9o=; b=cHI+ZJy1ju0/jLxMSCuaeWZcMX
 UAJQdO62mGDZ8DiXvJnN2SEnTsRy3bnLnXGvdwQ9Qsi9b4wZStadyOzVrkp0zsDxkHP/PRGWlEu/p
 HjG9HgBe5+wT9hoYy70bBdmFSaBD6OG70z9D55gPbNW4QfLazsjuk+CRvxv9+EbpuaPk=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mHok9-0007qY-VE; Sun, 22 Aug 2021 16:46:42 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CADwFkmmZr2DjSovDwujZhRg-nCiMGPq22nQn9x4RNKeUW_Q46Q@HIDDEN>
Date: Sun, 22 Aug 2021 16:46:34 +0200
In-Reply-To: <CADwFkmmZr2DjSovDwujZhRg-nCiMGPq22nQn9x4RNKeUW_Q46Q@HIDDEN>
 (Stefan Kangas's message of "Sat, 21 Aug 2021 18:07:35 +0200")
Message-ID: <874kbhzgdx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Kangas <stefan@HIDDEN> writes: > When I hover over
 the major and minor mode names in the mode line, the > tooltip says "Minor
 mode" or "Major mode". > > It would be useful if it could display the full
 mode name in the tooltip. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Kangas <stefan@HIDDEN> writes:

> When I hover over the major and minor mode names in the mode line, the
> tooltip says "Minor mode" or "Major mode".
>
> It would be useful if it could display the full mode name in the tooltip.

I think so, too.  Today those things are just constant strings -- it'd
be nice to be able to add this in a non-consing way (i.e., without
having to create a new big-ish string every time we display the mode
line).

Here's the current code:

	  `(:propertize ("" mode-name)
			help-echo "Major mode\n\
mouse-1: Display major mode menu\n\
mouse-2: Show help for major mode\n\
mouse-3: Toggle minor modes"
			mouse-face mode-line-highlight
			local-map ,mode-line-major-mode-keymap)

This is quite careful to not create any garbage.

Hm...  perhaps we could just make the help-echo point to a function
instead?  That should have no performance impact, I think.

	  '("" mode-line-process)
	  `(:propertize ("" minor-mode-alist)
			mouse-face mode-line-highlight
			help-echo "Minor mode\n\
mouse-1: Display minor mode menu\n\
mouse-2: Show help for minor mode\n\
mouse-3: Toggle minor modes"
			local-map ,mode-line-minor-mode-keymap)

The minor modes are done in one go, though, so that'd have to be
changed?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Sun, 22 Aug 2021 15:00:02 UTC

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