[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Store links under cursor
From: |
Carlos Pita |
Subject: |
Re: [O] Store links under cursor |
Date: |
Tue, 02 Sep 2014 13:27:49 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Well I've done (part of) my homework and found out that:
* By default gnus uses shr (simple html renderer) for washing html parts
* The function shr-copy-url (bound to u) will copy the url under point
to the kill ring.
* The url is stored as a text property:
(get-text-property (point) 'shr-url) --> url
I guess I can figure out how to write my own link handler now, but maybe
one generous soul between you has done it already and is eager to share
the result.
Cheers
--
Carlos
Carlos Pita <address@hidden> writes:
> Hi all,
>
> there are occasions, v.g. when reading a gnus article, when I don't want
> to store a link to the article itself (which is the behavior of C-c l)
> but some link that is part of the article instead. I use to read rss
> through gwene and many times I want to link the url for the full post,
> while the gnus article is itself irrelevant as a bookmark.
>
> How can I achieve that with org? That is, assuming the point is under
> some link, to store that link and not the link for the document
> containing it.
>
> Thank you in advance.
>
> Cheers
> --
> Carlos