Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: emacs-w3m@namazu.org, Ted Zlatanov <tzz@lifelogs.com>, ding@gnus.org
Subject: [emacs-w3m:11248] Re: right clicking on URL in emacs-w3m vs. gnus
Date: Tue, 29 Jun 2010 10:36:37 +0900	[thread overview]
Message-ID: <b4moceuaaca.fsf@jpl.org> (raw)
In-Reply-To: <87r5jrtwq1.fsf@gmail.com>

Štěpán Němec wrote:
> Katsumi Yamaoka <yamaoka@jpl.org> writes:
[...]
>>> ,----
>>>| Open this link with
>>>| ===================
>>>| browse-url
>>>| emacs-w3m
>>> `----
>>
>> I haven't implemented it yet because I didn't think it's very useful.

> Interesting. I find it _very_ useful. Does that mean you have defined a
> lot of custom commands for manipulating URLs in Gnus Article buffer? Or
> do you never feel a need to e.g. quickly copy the link location?

It's enough to me to type `M-x bro RET' (`bro' is complemented
into `browse-url'), `M-x w3m RET', or just `RET' on a string that
looks like a url.  Those commands copy the link location and pass
it to the browser.

>> Are there other function items you want?

> I don't see why we couldn't get the complete same right click menu as in
> emacs-w3m. I'd especially like to have "Copy Link Location" (and I hope
> it will also work in article headers -- I often find myself wanting to
> copy the Gmane permalink, for example); jidanni mentioned in a recent
> report the need for "Open in External Browser"; I can also see how "Save
> Link as..." could be useful. In short, why not just provide the whole of
> emacs-w3m right click menu?

Note that what we're talking about is a text/plain article (or
other) that is not rendered by emacs-w3m, like this:

http://git.gnus.org/

Currently there is only a button that Gnus adds using widget.el
(iff `gnus-treat-buttonize' is the default value).  OTOH, an html
article rendered by emacs-w3m has the right click menu buttons on
links.

Not all users have and load emacs-w3m, so, maybe what we can do
will be to provide the right click menu like emacs-w3m only if
`mm-text-html-renderer' is `w3m', and the menu title should be
"emacs-w3m".  Even in that case, we will have to make Lisp
functions for the menu items one by one.  Because the article is
not rendered by emacs-w3m.

Regards,



  reply	other threads:[~2010-06-29  1:36 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
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                 ` Katsumi Yamaoka [this message]
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=b4moceuaaca.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=emacs-w3m@namazu.org \
    --cc=stepnem@gmail.com \
    --cc=tzz@lifelogs.com \
    /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).