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

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Š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.

OK. (BTW, I often want to *only* copy the URL, not open it.)

>>> 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.

Yes, I know; but it's frustrating (for an emacs-w3m user at least) to
have a URL button, but not be able to do anything with it apart from
middle-clicking.

> 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".

Sounds reasonable to me.

> 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.

That seems unfortunate; I'm not acquainted with emacs-w3m or gnus
internals well enough to see any more convenient solution (to avoid some
code duplication perhaps) -- if you don't see one, it might very well be
the case there is none...

Thank you very much for your feedback,

Štěpán




  reply	other threads:[~2010-06-29  8:57 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                 ` [emacs-w3m:11248] " Katsumi Yamaoka
2010-06-29  8:57                   ` Štěpán Němec [this message]
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=87aaqetdvu.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=ding@gnus.org \
    --cc=emacs-w3m@namazu.org \
    --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).