emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] generating titles in remember templates from w3 buffers [was:R


From: Robert D. Crawford
Subject: [Orgmode] generating titles in remember templates from w3 buffers [was:Re: feature request]
Date: Tue, 24 Mar 2009 15:03:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

As I mentioned below, using the annotation expansion in the template
does not work when using w3.  I did see the error in my template and
have fixed it (unnecessary brackets).  I am wondering if there is some
other way to get the title or if it can be added as a feature.

I've changed the post below to reflect the change in my template and
what it returns.

Thanks in advance for any help,
rdc

"Robert D. Crawford" <address@hidden> writes:

> Matthew Lundin <address@hidden> writes:
>
>>> I've been trying to make an org-remember template that will grab the
>>> title of the webpage I want to create a link to.  This seems to not be
>>> possible, although I could very well be wrong.  I was curious as to
>>> whether a new keyword could be created for w3 and w3m links.  Seems that
>>> :title would be very useful.
>>
>> When I use w3m, the annotation substitution (%a) in the remember
>> template does the trick. It grabs the url and title of the current page
>> (using org-store-link).
>
> Thanks.  This does work for w3m but using w3 it returns this:

* [[http://www.gnu.org]]                                          :gnu:

> from this template:

'((?b "* %a %^g %!" "~/bookmarks.org" bottom)

> Later today, if I get the chance, I'll explore the solution proposed by
> Sebastian Rose.

As stated in a previous mail, Sebastian's solution works for browsers
outside of emacs.

-- 
Robert D. Crawford                                      address@hidden

If your mother knew what you're doing, she'd probably hang her head and cry.





reply via email to

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