emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Robert D. Crawford" <rdc1x@comcast.net>
To: emacs-orgmode@gnu.org
Subject: generating titles in remember templates from w3 buffers [was:Re: feature request]
Date: Tue, 24 Mar 2009 15:03:01 -0500	[thread overview]
Message-ID: <87y6uud6yy.fsf_-_@comcast.net> (raw)
In-Reply-To: 878wmw1gxy.fsf@comcast.net

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" <rdc1x@comcast.net> writes:

> Matthew Lundin <mdl@imapmail.org> 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                                      rdc1x@comcast.net

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

  parent reply	other threads:[~2009-03-24 20:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23  2:14 feature request Robert D. Crawford
2009-03-23  2:44 ` Matthew Lundin
2009-03-23 13:56   ` Robert D. Crawford
2009-03-23 14:08     ` Sebastian Rose
2009-03-24 20:03     ` Robert D. Crawford [this message]
2009-03-25  5:46       ` generating titles in remember templates from w3 buffers [was:Re: feature request] Charles Philip Chan
2009-03-25 12:36         ` Charles Philip Chan
2009-03-25  8:47       ` Carsten Dominik
2009-03-25 13:06         ` Robert D. Crawford
2009-03-25 19:42           ` Carsten Dominik
2009-03-25 19:58             ` Robert D. Crawford
     [not found]               ` <rdc1x@comcast.net>
2009-03-25 20:54                 ` Nick Dokos
2009-03-23 11:24 ` feature request Sebastian Rose
2009-03-24 16:53   ` Robert D. Crawford
2009-03-24 18:23     ` Sebastian Rose
2009-03-25 13:50     ` Charles Philip Chan
2009-03-25 14:51       ` Robert D. Crawford
2009-03-26  4:09 ` Carsten Dominik
2009-03-26 16:43   ` Robert D. Crawford

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y6uud6yy.fsf_-_@comcast.net \
    --to=rdc1x@comcast.net \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).