[Orgmode] Re: feature request

2009-03-26 Thread Robert D. Crawford
Hello Carsten,

Carsten Dominik carsten.domi...@gmail.com writes:

 if you pull a new git version, the page title will now correctly
 appear in links created in w3-mode buffers.

 Thanks to all who contributed to this discussion.

Thank you.  I just tested it and works well.  Exactly what I needed.

rdc
-- 
Robert D. Crawford  rd...@comcast.net



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: generating titles in remember templates from w3 buffers [was:Re: feature request]

2009-03-25 Thread Robert D. Crawford
Hello Carsten,

Carsten Dominik carsten.domi...@gmail.com writes:

 Unfortunately I do not know about a variable that does hold the
 title of a page in w3.  In w3m there is w3m-current-title.
 In w3, all I was able to find is the URL via

 (org-view-url t)

 If anyone knows the magic incantation to extract the page
 title in a w3 buffer, I'd be happy to make it the default
 for the link description.

The way this is implemented in emacspeak and in bmk-mgr is to use the
buffer-name.  As far as I know that is the only way to get the current
title from w3.  IIRC, I implemented this in emacspeak and I know I did
it in bmk-mgr.  I assume that if Dr. Raman signed off it can't be too
wrong.  

Thanks for your help,
rdc
-- 
Robert D. Crawford  rd...@comcast.net



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: feature request

2009-03-25 Thread Robert D. Crawford
Hello Charles,

Charles Philip Chan cpc...@sympatico.ca writes:

 Robert D. Crawford rd...@comcast.net writes:

 I use emacs and emacspeak almost exclusively for my computing
 needs. Sorry I wasn't clear in my needs and use.

 I am curious as to why you are using w3, since, from what I have read,
 emacspeak supports w3m as well:

That is true.

 w3 is so slow and feature incomplete.

Slow, yes.  Feature incomplete, no.  There are several things w3 can do
that w3m cannot.  Table navigation, support for aural css, fontification
of all tags (pre, code, and the like immediately come to mind),
different attributes for h[1-6] tags, I am aware of nothing w3m can do
that w3 cannot.  Also, since w3 is pure lisp it can be extended in ways
that w3m cannot.  

rdc
-- 
Robert D. Crawford  rd...@comcast.net



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: generating titles in remember templates from w3 buffers [was:Re: feature request]

2009-03-25 Thread Robert D. Crawford
Carsten Dominik carsten.domi...@gmail.com writes:

 I have just tried a few pages including orgmode.org, and
 the buffer name is Untitled.  Am I using an old version of w3,
 or if orgmode.org broken in this way?

Not sure.  If I open orgmode.org and then eval the expression
(buffer-name) it returns the name of the buffer, which w3 gets from the
title tag.  Considering the speed of w3 releases (or lack thereof) I
doubt you have a different version from what I have here.  Here are the
pertinent version numbers:

emacs/w3: WWW p4.0pre.47, URL Emacs
emacs: GNU Emacs 23.0.90.1 (i686-pc-linux-gnu) of 2009-02-03 on t40

I am running about a month and a half behind upgrading emacs.  If you
think that might be a problem I can update.

Thanks for your help,
rdc
-- 
Robert D. Crawford  rd...@comcast.net



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: feature request

2009-03-24 Thread Robert D. Crawford
Sebastian Rose sebastian_r...@gmx.de writes:

 You night want to use this:

   http://github.com/SebastianRose/worglet/tree/master

Please correct me if I am wrong but this seems to be the wrong solution
for w3 and w3m.  I don't use a graphical browser because of my need for
a screen reader.  I use emacs and emacspeak almost exclusively for my
computing needs. Sorry I wasn't clear in my needs and use.

Thanks,
rdc
-- 
Robert D. Crawford  rd...@comcast.net

All kings is mostly rapscallions.
-- Mark Twain



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] generating titles in remember templates from w3 buffers [was:Re: feature request]

2009-03-24 Thread Robert D. Crawford
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 rd...@comcast.net writes:

 Matthew Lundin m...@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  rd...@comcast.net

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



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: feature request

2009-03-23 Thread Robert D. Crawford
Hello Matthew,

Matthew Lundin m...@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.osnews.com/story/21181/The_IBM_X41_as_a_Lightweight_Linux_Laptop]] 
:laptop:

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.

Thanks again,
rdc
-- 
Robert D. Crawford  rd...@comcast.net

Chinese saying: He who speak with forked tongue, not need chopsticks.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] feature request

2009-03-22 Thread Robert D. Crawford
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.

I am pretty sure I could code this myself... doesn't seem to be terribly
difficult.  It is not likely though that I would ever contribute code to
anything else, so filling out the form and waiting for all of it to get
where it needs to go seems a bit of a waste.

Thanks for listening,
rdc
-- 
Robert D. Crawford  rd...@comcast.net

Every journalist has a novel in him, which is an excellent place for it.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode