bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34052: Acknowledgement (27.0.50; New command gnus-summary-press-butt


From: Lars Ingebrigtsen
Subject: bug#34052: Acknowledgement (27.0.50; New command gnus-summary-press-button)
Date: Sun, 23 Jun 2019 14:16:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> I think once I was using widget-forward to collect buttons, it seemed
> natural to be able to handle all the types of buttons, not just URLs.
> For instance, I'd like to be able to start composing messages to mailto:
> buttons.

Hm...  I think that sounds less useful, really.  In 99.9% of the cases,
you don't want to hit anything but the URLs, I think, and "polluting"
the list of URLs with mailto: stuff would make the feature more
cumbersome to use, in my opinion.

> Then the only reliable way to "do" what the button does was to
> press it. Later Eric Fraga posted a variant that checked if the URL was
> a http URL, and used `browse-url' directly in that case. The whole
> function could be a lot simpler if we only collected http links. Though
> I'd still like to compose messages to email addresses...

If we want to have a "collect mailto: addresses" thing, that could be a
separate command.

> I'm posting the most recent version of the function below. Another bad
> thing is does is tries to manage window state, returning the
> summary/article config to what it was before clicking links, and I think
> that should be removed -- it's fragile, and none of the other
> summary/article commands do that.

Yeah, good point.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]