From: Dan Nicolaescu <dann@ics.uci.edu>
To: rms@gnu.org
Cc: Masatake YAMATO <jet@gyve.org>, emacs-devel@gnu.org
Subject: Re: add a tooltip and a mouse binding to the VC mode-line entry
Date: Mon, 09 Jul 2007 10:48:14 -0700 [thread overview]
Message-ID: <200707091748.l69HmTC8026198@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <20070706.140607.81800388.jet@gyve.org> (Masatake YAMATO's message of "Fri\, 06 Jul 2007 14\:06\:07 +0900 \(JST\)")
Masatake YAMATO <jet@gyve.org> writes:
> > Here's a little patch that adds a tooltip to the VC entry on the
> > mode line and it also makes mouse-1 on that entry to pop up the VC
> > operations menu.
> >
> > It would be good if people would try it and say if it useful based on
> > _actual usage experience_, not just speculation. After that we can
> > change the text for the tooltip, add more mouse bindings or even
> > decide not to install the whole thing.
>
> Looks good. Now I can hide the menu bar:-P.
>
> @@ -291,7 +303,10 @@
> 'mode-line-buffer-identification
> (propertize " " 'help-echo help-echo)
> 'mode-line-position
> - '(vc-mode vc-mode)
> + (list
> + `(:propertize ("" vc-mode) help-echo "Version Control mouse-1: VC menu"
> + mouse-face mode-line-highlight
> + local-map ,mode-line-vc-mode-keymap))
> (propertize " " 'help-echo help-echo)
> 'mode-line-modes
> `(which-func-mode ("" which-func-format ,dashes))
>
> I think this should be done in `vc-mode-line'.
> Look at `vc-default-mode-line-string'.
> Telling the meaning of `:' or `-' in the tooltip string may help users.
Can you please OK a change along these lines? All the comments on
adding this feature were positive.
next prev parent reply other threads:[~2007-07-09 17:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 17:11 add a tooltip and a mouse binding to the VC mode-line entry Dan Nicolaescu
2007-07-04 3:43 ` Richard Stallman
2007-07-04 7:04 ` David Kastrup
2007-07-05 1:30 ` Richard Stallman
2007-07-04 9:47 ` Dan Nicolaescu
2007-07-05 15:45 ` Dan Nicolaescu
2007-07-05 17:13 ` Stefan Monnier
2007-07-06 5:06 ` Masatake YAMATO
2007-07-06 16:01 ` Stefan Monnier
2007-07-11 18:39 ` Dan Nicolaescu
2007-07-09 17:48 ` Dan Nicolaescu [this message]
2007-07-10 5:38 ` Richard Stallman
2007-07-04 6:06 ` Masatake YAMATO
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707091748.l69HmTC8026198@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=jet@gyve.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).