Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: <ding@gnus.org>, <emacs-w3m@namazu.org>
Subject: Re: right clicking on URL in emacs-w3m vs. gnus
Date: Wed, 21 Apr 2010 09:23:02 -0500	[thread overview]
Message-ID: <87iq7kc2bd.fsf@lifelogs.com> (raw)
In-Reply-To: <b4mwrw149t1.fsf@jpl.org> (Katsumi Yamaoka's message of "Wed, 21 Apr 2010 15:08:26 +0900")

On Wed, 21 Apr 2010 15:08:26 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote: 

>>>>>> Ted Zlatanov wrote:
>> On Sun, 18 Apr 2010 06:41:23 +0800 jidanni@jidanni.org wrote:

j> In emacs-w3m, right clicking on a link brings up a menu with lots of choices.
j> However doing the same action inside gnus doesn't.

j> E.g., try right clicking on http://example.org/ .

>> This is composed of two things actually:

>> 1) the emacs-w3m popup menu should be accessible in the Article buffer.
>> Currently it can be invoked with (w3m-mouse-major-mode-menu EVENT) so it
>> *can* be bound to right-click in the article mode by the user.  This
>> part is pretty easy.

>> 2) right-click on a URL should bring up that menu.  I'm not sure if
>> there are any other logical things to hang on right-click in Gnus.  For
>> instance we could bring up the Treatment or Commands menus that are
>> otherwise in the pulldown.  So maybe the emacs-w3m menu should be under
>> the main popup menu in the article buffer, and it should also show up in
>> the menu bar when the article buffer is using emacs-w3m.

>> Any opinions?

KY> I don't know what items the menu should provide but I tried hacking
KY> it as attached below.  Currently the right-click pops up this menu:

KY> ,----
KY> | Open this link with
KY> | ===================
KY> | browse-url
KY> | emacs-w3m
KY> `----

KY> (The first item overlaps to the middle-click though.)

Maybe Treatment, Article, and Commands should precede the w3m menu, and
they should always show up on a right-click?

Can we also hang the w3m menu in the menubar when HTML is rendered in
the article buffer?

I'm OK with any changes you think are appropriate here, these are just
suggestions.

You could make a "yamaoka-dev" branch and push it with any proposed
changes instead of a patch (the commit e-mail will still go out and we
can see your changes in the e-mail). Then we can try the feature
(collaboratively making changes to yamaoka-dev in the process) and merge
it into the master branch when it's ready and you can then delete
yamaoka-dev.  I don't know if that's the right model for us so feel free
to propose something else if you think it's better.

Ted



  reply	other threads:[~2010-04-21 14:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-17 22:41 [emacs-w3m:11211] " jidanni
2010-04-20 17:20 ` Ted Zlatanov
2010-04-21  6:08   ` [emacs-w3m:11213] " Katsumi Yamaoka
2010-04-21 14:23     ` Ted Zlatanov [this message]
2010-04-22  1:48       ` [emacs-w3m:11216] " Katsumi Yamaoka
2010-04-23  0:01         ` Ted Zlatanov
2010-06-25 13:24           ` Štěpán Němec
2010-06-27 23:25             ` [emacs-w3m:11246] " Katsumi Yamaoka
2010-06-28  7:58               ` Štěpán Němec
2010-06-29  1:36                 ` [emacs-w3m:11248] " Katsumi Yamaoka
2010-06-29  8:57                   ` [emacs-w3m:11249] " Štěpán Němec
2010-06-30  0:28                     ` [emacs-w3m:11250] " jidanni
2010-07-28  8:33                   ` [emacs-w3m:11248] " Štěpán Němec
2010-08-05 14:47                     ` Ted Zlatanov

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iq7kc2bd.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-w3m@namazu.org \
    --cc=yamaoka@jpl.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.
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 NNTP newsgroup(s).