Re: [Orgmode] org-feed not working for codeproject

2010-06-19 Thread David Maus
zwz wrote: >I have the feed >("codeproject" > "http://www.codeproject.com/webservices/articlerss.aspx?cat=2"; > "~/feeds.org" "C++ on CodeProject") >in the org-feed-alist. >Everytime I update the feed, I got a new headline "* codeproject" added >into the file feeds.org without any

[Orgmode] Re: org-feed not working for codeproject

2010-06-19 Thread zwz
David Maus writes: > zwz wrote: >>I have the feed >>("codeproject" >> "http://www.codeproject.com/webservices/articlerss.aspx?cat=2"; >> "~/feeds.org" "C++ on CodeProject") >>in the org-feed-alist. > >>Everytime I update the feed, I got a new headline "* codeproject" added >>into the file

[Orgmode] [PATCH 0/4] org-feed: Improve feed parsing

2010-06-19 Thread David Maus
Four patches to improve feed parsing: - respect XML namespace of rss:item elements (fixes reported problem with codeproject.com's feed) - ignore case of rss element names (dto., codeproject uses upper case letters for rss:guid element) - provide and use function to unescape XML ent

[Orgmode] [PATCH 1/4] Respect possible XML namespace of rss:item elements.

2010-06-19 Thread David Maus
* org-feed.el (org-feed-parse-rss-feed): Respect possible XML namespace of rss:item elements. --- lisp/org-feed.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-feed.el index 37b2327..c86ca90 100644 --- a/lisp/org-feed.el +++ b/lisp/org-fee

[Orgmode] [PATCH 2/4] Ignore case of rss element names.

2010-06-19 Thread David Maus
* org-feed.el (org-feed-parse-rss-feed): Ignore case of rss element names. --- lisp/org-feed.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-feed.el index c86ca90..b0373e5 100644 --- a/lisp/org-feed.el +++ b/lisp/org-feed.el @@ -579,7 +57

[Orgmode] [PATCH 3/4] Unescape protected entities defined in `xml-entity-alist'.

2010-06-19 Thread David Maus
* org-feed.el (org-feed-unescape): New function. Unescape protected entities. (org-feed-parse-atom-entry): Use function for atom:content type text and html. --- lisp/org-feed.el | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lisp/org-feed.el b/lisp/o

[Orgmode] [PATCH] Declare variable `xml-entity-alist' for byte compiler.

2010-06-19 Thread David Maus
* org-feed.el (xml-entity-alist): Declare variable `xml-entity-alist' for byte compiler. --- lisp/org-feed.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-feed.el index e7fd0f2..3edcf1a 100644 --- a/lisp/org-feed.el +++ b/lisp/org-feed.el @

[Orgmode] [PATCH 4/4] Unescape rss element content.

2010-06-19 Thread David Maus
* org-feed.el (org-feed-parse-rss-entry): Unescape rss element content. --- lisp/org-feed.el |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-feed.el index 2621008..e7fd0f2 100644 --- a/lisp/org-feed.el +++ b/lisp/org-feed.el @@ -617,7 +61

[Orgmode] [PATCH] Remove superfluous lambda.

2010-06-19 Thread David Maus
Argh. Just realized that (lambda (e) (car e)) is equivalent to (car e). This one goes on top of the patches. * org-feed.el (org-feed-unescape): Remove superfluous lambda. --- lisp/org-feed.el |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-

[Orgmode] restart numbering

2010-06-19 Thread Dave Pawson
http://orgmode.org/manual/Plain-lists.html#Plain-lists Tells me that 1. [...@start:20]The author adds the metadata 1. A markup geek adds it, given guidance (from whom?) Should start the enumerated list at 20? What I'm seeing is [...@start:20]The author adds the metadata A markup

[Orgmode] [PATCH] orphaned captions and labels

2010-06-19 Thread Nicolas Goaziou
Hello, This patch corrects the following problem : - #+caption: I'm not removed from export #+label: also-not-removed | A | B | | 1 | 2 | - Since org-handle-comments is only removing comments, #+caption, #+label and

Re: [Orgmode] restart numbering

2010-06-19 Thread Eric S Fraga
On Sat, 19 Jun 2010 18:00:46 +0100, Dave Pawson wrote: > > http://orgmode.org/manual/Plain-lists.html#Plain-lists > Tells me that > > 1. [...@start:20]The author adds the metadata > 1. A markup geek adds it, given guidance (from whom?) > > Should start the enumerated list at 20? > > Wha

[Orgmode] html export

2010-06-19 Thread Thomas S. Dye
Aloha all, Exporting this small file to html here doesn't put a caption on the figure. * No caption #+CAPTION: Histogram of adze weights on a logarithmic scale #+LABEL: fig:wt-log [[file:~/Public/projects/903_adzes/r/sr-nb-scatter.png]] Does anyone else see this? All of a sudden, I'm havi

Re: [Orgmode] html export

2010-06-19 Thread Eric Schulte
Hi Tom, "Thomas S. Dye" writes: > Aloha all, > > Exporting this small file to html here doesn't put a caption on the > figure. > > * No caption > > #+CAPTION: Histogram of adze weights on a logarithmic scale > #+LABEL: fig:wt-log > > [[file:~/Public/projects/903_adzes/r/sr-nb-scatter.png]] > > D

Re: [Orgmode] html export

2010-06-19 Thread Nick Dokos
Eric Schulte wrote: > Hi Tom, > > "Thomas S. Dye" writes: > > > Aloha all, > > > > Exporting this small file to html here doesn't put a caption on the > > figure. > > > > * No caption > > > > #+CAPTION: Histogram of adze weights on a logarithmic scale > > #+LABEL: fig:wt-log > > > > [[file:~/P