unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
@ 2013-02-21  8:07 Xue Fuqiao
  2013-02-22  2:26 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Xue Fuqiao @ 2013-02-21  8:07 UTC (permalink / raw)
  To: 13776


In etc/TODO:

** Check if all items on the mode-line have a suitable tooltip for all
   modes.

After a brief check, I found 2 bugs related to this TODO item:

1. When I used `C-h i' to enter Info mode, "*info* (dir) Top" appeared
in the mode line, but "dir" does't have a suitable tooltip;

2. When I used `M-x shell' to run a subshell, the "run" in "(Shell:run)"
(i.e. the `mode-line-process') doesn't have a suitable tooltip.



In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.0)
 of 2013-02-17 on Emacs
Bzr revision: 111818 yamaoka@jpl.org-20130217124628-z5jn8jugxa68d36i
Windowing system distributor `The X.Org Foundation', version
11.0.11300000 System Description:	Ubuntu 12.10

Configured using:
 `configure --config-cache --enable-link-time-optimization'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <menu> r e - e m - b u g <tab> 
<return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2013-02-21  8:07 bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip Xue Fuqiao
@ 2013-02-22  2:26 ` Glenn Morris
  2013-02-22  3:03   ` Xue Fuqiao
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2013-02-22  2:26 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: 13776

Xue Fuqiao wrote:

> 1. When I used `C-h i' to enter Info mode, "*info* (dir) Top" appeared
> in the mode line, but "dir" does't have a suitable tooltip;
>
> 2. When I used `M-x shell' to run a subshell, the "run" in "(Shell:run)"
> (i.e. the `mode-line-process') doesn't have a suitable tooltip.

They both have factually correct tooltips.
In what way are they not suitable?
What would you replace them with?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2013-02-22  2:26 ` Glenn Morris
@ 2013-02-22  3:03   ` Xue Fuqiao
  2013-02-22  3:52     ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Xue Fuqiao @ 2013-02-22  3:03 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13776

On Thu, 21 Feb 2013 21:26:57 -0500
Glenn Morris <rgm@gnu.org> wrote:

> Xue Fuqiao wrote:
> > 1. When I used `C-h i' to enter Info mode, "*info* (dir) Top" appeared
> > in the mode line, but "dir" does't have a suitable tooltip;
> > 2. When I used `M-x shell' to run a subshell, the "run" in "(Shell:run)"
> > (i.e. the `mode-line-process') doesn't have a suitable tooltip.
> They both have factually correct tooltips.
> In what way are they not suitable?
> What would you replace them with?

Their tooltips are the same as the tooltips in the blank area of the mode-line.  Maybe they should have their own tooltips.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2013-02-22  3:03   ` Xue Fuqiao
@ 2013-02-22  3:52     ` Glenn Morris
  2013-02-22  8:13       ` Xue Fuqiao
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2013-02-22  3:52 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: 13776

Xue Fuqiao wrote:

> Their tooltips are the same as the tooltips in the blank area of the
> mode-line. Maybe they should have their own tooltips.

And what would those tooltips say?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2013-02-22  3:52     ` Glenn Morris
@ 2013-02-22  8:13       ` Xue Fuqiao
  2021-09-06 10:37         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Xue Fuqiao @ 2013-02-22  8:13 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13776

On Thu, 21 Feb 2013 22:52:27 -0500
Glenn Morris <rgm@gnu.org> wrote:

> Xue Fuqiao wrote:
> > Their tooltips are the same as the tooltips in the blank area of the
> > mode-line. Maybe they should have their own tooltips.
> And what would those tooltips say?

For reference only (I haven't thought much):

For info:
------------------------------------
|  Info file
|  mouse-1: Display file name
|  mouse-2: Go to top node of file
|  mouse-3: Index
------------------------------------

For shell:
------------------------------------
|  Process status
|  mouse-2: Kill process
------------------------------------

I think that "Info file" and "Process status" should be used at least, because there should be some introductory text, just like the `display-time-mode'.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2013-02-22  8:13       ` Xue Fuqiao
@ 2021-09-06 10:37         ` Lars Ingebrigtsen
  2021-09-06 11:19           ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-06 10:37 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: Glenn Morris, 13776

Xue Fuqiao <xfq.free@gmail.com> writes:

> I think that "Info file" and "Process status" should be used at least,
> because there should be some introductory text, just like the
> `display-time-mode'.

I've now added these short tooltips to those bits of the mode line in
Emacs 28.

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2021-09-06 10:37         ` Lars Ingebrigtsen
@ 2021-09-06 11:19           ` Eli Zaretskii
  2021-09-07 15:01             ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2021-09-06 11:19 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: xfq.free, rgm, 13776

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 06 Sep 2021 12:37:02 +0200
> Cc: Glenn Morris <rgm@gnu.org>, 13776@debbugs.gnu.org
> 
> Xue Fuqiao <xfq.free@gmail.com> writes:
> 
> > I think that "Info file" and "Process status" should be used at least,
> > because there should be some introductory text, just like the
> > `display-time-mode'.
> 
> I've now added these short tooltips to those bits of the mode line in
> Emacs 28.

For Info, the tooltip now says "Info file name", but that's
inaccurate, because we show "elisp" when the file name is
"elisp.info", and when the file is "FOO.info.gz" we show "FOO.info"
(which is inconsistent, and is probably an unrelated bug).

Btw, why isn't there a similar explanation in the tooltip for the node
name?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip
  2021-09-06 11:19           ` Eli Zaretskii
@ 2021-09-07 15:01             ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-07 15:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: xfq.free, rgm, 13776

Eli Zaretskii <eliz@gnu.org> writes:

> For Info, the tooltip now says "Info file name", but that's
> inaccurate,

"Manual name" is slightly less wrong, perhaps, so I've changed it to that.

> because we show "elisp" when the file name is
> "elisp.info", and when the file is "FOO.info.gz" we show "FOO.info"
> (which is inconsistent, and is probably an unrelated bug).

And fixed that.

> Btw, why isn't there a similar explanation in the tooltip for the node
> name?

I don't know...  would it be useful there?  It's slightly more
self-evident what it is there.

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-07 15:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21  8:07 bug#13776: 24.3.50; Some items on the mode-line don't have a suitable tooltip Xue Fuqiao
2013-02-22  2:26 ` Glenn Morris
2013-02-22  3:03   ` Xue Fuqiao
2013-02-22  3:52     ` Glenn Morris
2013-02-22  8:13       ` Xue Fuqiao
2021-09-06 10:37         ` Lars Ingebrigtsen
2021-09-06 11:19           ` Eli Zaretskii
2021-09-07 15:01             ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).