[Orgmode] image size in html export

2010-09-12 Thread etimecowboy
Hi everyone,

Does anybody know how to set the size of an in-line image when exporting html? 
I know that org can set that when exporting latex (with #+ATTR_LaTeX: width=), 
but could not find a similar way when exporting html. Thanks for the help.
 
-

etimecow...@gmail.com

  _.,,._
.:'`:.
  .'  `.
 .'`.
 :  :
 `.'`':'`'`/'
  `.   \  |   /   ,'
\   \ |  /   /
 `\_..,,.._/'
  {`'-,_`'-}
  {`'-,_`'-}
  {`'-,_`'-}
   `YY'
 ~^^~

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


Re: [Orgmode] wanderlust links

2010-09-12 Thread David Maus
Rodrigo Amestica wrote:
>is there a way to link to a maildir message without need to specify
>its specific folder within my maildir tree? I thought the message ID
>was meant to be unique within my tree and, therefore, usable as a key
>without a need for a folder specification.

The message id is a unique identifier for an internet message, but
(obviously) it does contain information about /where/ a particular
message is located.  For WL to open a reference to a message you
therefor need to tell WL, where the message is located.

Your message was ; but where is
this message?  It's here in my mailbox, likely in your Fcc folder, in
the group gmane.emacs.orgmode on news.gmane.org, ...

So even in your case you would have to tell WL where to search for the
message.

>I'm using wanderlust and I thought that this should be
>possible. Otherwise the whole idea of wl: type links become a bit
>awkward for me. It means that I need to specify a folder and,
>therefore, I should link _after_ I have moved the message to its final
>location and I should make sure I never move that message somewhere
>else. Awkward.

A broken link might not be that of a problem as long as you are able
to find the message.  In my WL setup there are basically just two
mailboxes: An IMAP mailbox where new messages arrive and a local
maildir folder with archived messages.  Messages in the IMAP mailbox
that are older than 180 days are expired to the local archive.

In addition I dropped using physical sub-folders in maildir and IMAP
because grouping of messages can be achieved by WL's filter folder
syntax.

Thus, a message is in one of two places: Either %Inbox or .archive.  I
mitigate the problem of broken links by indexing my maildir folders
with Namazu[1,2] so I can make use of org-wl's feature of performing a
search for a particular message in my Namazu search index:

,
| org-wl-open is a compiled Lisp function in `org-wl.el'.
|
| (org-wl-open PATH)
|
| Follow the WL message link specified by PATH.
| When called with one prefix, open message in namazu search folder
| with `org-wl-namazu-default-index' as search index.  When called
| with two prefixes or `org-wl-namazu-default-index' is nil, ask
| for namazu index.
`

If I can't access the message with C-c C-o (org-open-at-point), I can
try C-u C-c C-o and perform a search for the message.

This setup works for me under the assumption that opening a link to
and old message is a rare event.[3]

HTH,
  -- David

Footnotes:
[1] http://www.namazu.org

[2] See http://lists.airs.net/wl-en/archive/201007/msg7.html for a
brief description of my Namazu setup.

[3] For referencing important messages or messages that are not under
my control (e.g. usenet articles) I am currently toying with the
idea of attaching entire messages to Org mode entries and use
these attached messages for possible replies.
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpU8aK7gs9WB.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread Achim Gratz
Nick Dokos  writes:
[...]
> E.g. if you git pull into one place and then install the .el files
> somewhere else, the .git subdirectory will not be found.

Thanks for the explanation, I do indeed have the source in one place and
then just proceed to "make install" into my site-lisp directory.  I'll
see how to modify my load-path a bit differently to accommodate this
slightly different workflow that org assumes.


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves


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


Re: [Orgmode] Re: Search files in a folder

2010-09-12 Thread suvayu ali
2010/9/12 노정태 :
> Thank you everyone.
>
> I learned I could do it with grep, but I don't know how to use grep
> properly.
>

grep is one of my favourite *nix tools. :)

You can try invoking grep in many ways. these are my most used options,

1. simply search for a regex and show results.
grep -nH -E  
2. search for results and show results with context
grep -nHB  -E  
# context lines before matching lines
grep -nHA  -E  
# context lines after matching lines
grep -nHC  -E  
# context lines from both before and after matching lines
3. You can try `M-x find-grep' if you want more control over what file
you want to search
find -type f -name  -print0 | xargs
-0 grep -nH -E 

Note: find and grep regex are a little different from emacs regex
because of some quoting differences. 'man grep' is your friend.

GL :)

-- 
Suvayu

Open source is the future. It sets us free.

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


[Orgmode] Re: Search files in a folder

2010-09-12 Thread 노정태
Thank you everyone.

I learned I could do it with grep, but I don't know how to use grep
properly.

Isn't there no way to search files which are not agenda file?

Sincerely, Jeongtae

2010/9/13 Matt Lundin 

> Eric S Fraga  writes:
>
> > On Mon, 13 Sep 2010 04:11:48 +0900, 노정태  wrote:
> >
> >> I want to search org files in my /org folder.
> >> But I can't find a command to search files wholly.
> >> C-c a s (org-search-view) does search only with headline.
> >> I can't search the contents of my org files with just one command.
> >>
> >> Does Org-mode have the function what I'm looking for?
> >
> > maybe org-mode does not but of course emacs does: M-x grep RET
> > or M-x occur RET
> >
>
> These work just fine. Org-mode also has a built-in interface to emacs'
> multi-occur function --- it searches for (and displays) all lines
> containing a given regexp in one's agenda files.[1]
>
> Simply type:
>
> C-c a / [regexp]
>
> E.g.
>
> C-c a / \(org\|org-\)mode
>
>
> Best,
> Matt
>
> Footnotes:
>
> [1] (info "(org) Agenda dispatcher")
>
> ,
> | `/'
> |  Search for a regular expression in all agenda files and
> |  additionally in the files listed in
> |  `org-agenda-text-search-extra-files'.  This uses the Emacs command
> |  `multi-occur'.  A prefix argument can be used to specify the
> |  number of context lines for each match, default is 1.
> `
>
>
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] wanderlust links

2010-09-12 Thread Rodrigo Amestica
is there a way to link to a maildir message without need to specify
its specific folder within my maildir tree? I thought the message ID
was meant to be unique within my tree and, therefore, usable as a key
without a need for a folder specification.

I'm using wanderlust and I thought that this should be
possible. Otherwise the whole idea of wl: type links become a bit
awkward for me. It means that I need to specify a folder and,
therefore, I should link _after_ I have moved the message to its final
location and I should make sure I never move that message somewhere
else. Awkward.

Did I miss something?

thanks,
 Rodrigo


  


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


Re: [Orgmode] Re: bug with link following --- a (partial) solution

2010-09-12 Thread Robert Goldman
On 9/12/10 Sep 12 -7:16 AM, David Maus wrote:
> Robert P. Goldman wrote:
>> On 8/29/10 Aug 29 -10:36 AM, Robert Goldman wrote:
>>> I used org-store-link and org-insert-link to make a link in the attached
>>> document (I distilled it down from a real document).  In my org-mode
>>> (pulled from git this morning), using Aquamacs 2.0 on Mac OSX Snow
>>> Leopard (10.6), org-mode cannot follow the link I inserted with o-i-l,
>>> and it pops up a dialog asking if I should add such a link target.
> 
>> A quick followup:
> 
>> I had a shot with git blame, and it seems like the only thing that might
>> have interfered with this search recently is the commit with the SHA1
>> has starting a84c8a2c
> 
>> And, indeed, when I comment out the block that was introduced in this
>> commit (starting at line 9389):
> 
>> ...
> 
>> Carsten, could this patch be reverted until it can be fixed?
> 
> It's not a bug, it's a feature: To revert to the old behaviour you
> can customize the variable `org-link-search-must-match-exact-headline'
> and set it to nil.

I believe I have narrowed down the problem to a more specific case.

I have reexamined the bug I had, and as far as I can tell, it occurs
because of the punctuation at the end of the header line.  I am
attaching a file that shows the funny behavior.  I can link to a header
titled "Foobar" correctly, but not one titled "submit through submission
site:"  Attempts to link to the one word header "Bletch:" also fail.

I conjecture that the problem is the final ":" as punctuation.  Does
that seem plausible?  If so, should we simply extend the escaping in the
links to handle this case (akin to the way spaces are escaping)?  Or am
I off base here?
#+STARTUP: showall

* Notes:

* TODO Figure out org mode

Just do outlines with TODO's in them.  Change them to DONE when they are done.
You don't need to figure out how to use org-mode if you don't like.  We used it
on OBTW, and it worked fine.

If you like (I will probably do this), you can use the org-mode commands to add
deadlines and scheduling (or you can ignore them).  I will probably do this in
an incremental way so that I can further focus my mind on individual subsections
as they need to get written.  See example in 
[[*submit%20through%20submission%20site][submit through submission site:]]

* TODO submit through submission site:

* TODO Foobar

* Reference to foobar

[[*Foobar][Foobar]]

* Reference to submit...

[[*submit%20through%20submission%20site][submit through submission site]]
  
# Local Variables:
# mode: org
# End:
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Search files in a folder

2010-09-12 Thread Matt Lundin
Eric S Fraga  writes:

> On Mon, 13 Sep 2010 04:11:48 +0900, 노정태  wrote:
>
>> I want to search org files in my /org folder.
>> But I can't find a command to search files wholly.
>> C-c a s (org-search-view) does search only with headline.
>> I can't search the contents of my org files with just one command.
>> 
>> Does Org-mode have the function what I'm looking for?
>
> maybe org-mode does not but of course emacs does: M-x grep RET
> or M-x occur RET
>

These work just fine. Org-mode also has a built-in interface to emacs'
multi-occur function --- it searches for (and displays) all lines
containing a given regexp in one's agenda files.[1]

Simply type:

C-c a / [regexp]

E.g.

C-c a / \(org\|org-\)mode


Best,
Matt

Footnotes:

[1] (info "(org) Agenda dispatcher")

,
| `/'
|  Search for a regular expression in all agenda files and
|  additionally in the files listed in
|  `org-agenda-text-search-extra-files'.  This uses the Emacs command
|  `multi-occur'.  A prefix argument can be used to specify the
|  number of context lines for each match, default is 1.
`



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


Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread Nick Dokos
Achim Gratz  wrote:

> Eric S Fraga  writes:
> > it's the output of "M-x org-version RET" as opposed to the value of
> > org-version.
> 
> They both deliver the same result "7.01trans" for me, that's why I'm
> asking...
> 

org-version makes some assumptions: it calculates a directory as follows

   (concat (file-name-directory (locate-library "org")) "../" ))

and then looks for a ``.git'' subdirectory in that directory. If it is
found, then all is good: it does a ``git describe'' variation to get the
release part.  But if it is not found, then it falls back to the bare
version (without the release part).

E.g. if you git pull into one place and then install the .el files
somewhere else, the .git subdirectory will not be found.

So evaluate these two expressions:

(setq dir (concat (file-name-directory (locate-library "org")) "../" )))
(file-exists-p (expand-file-name ".git" dir))

and you'll probably find that the second one returns nil in your case.

One way to get the release part: arrange your load-path to load org.el[c]
(and the other org .el or .elc files) from the lisp subdirectory of your
git repository.

HTH,
Nick


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


[Orgmode] Sacha Chua's article about org-mode and publishing a weekly review

2010-09-12 Thread Charles Cave
Here is an excellent article by Sacha Chua about her
use of org-mode for managing weekly reviews.

http://sachachua.com/blog/p/8375/




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


Fwd: [Orgmode] odf exporter -- was, possible tex export bug?

2010-09-12 Thread Matt Price
-- Forwarded message --
From: Matt Price 
Date: Sunday, September 12, 2010
Subject: Re: [Orgmode] odf exporter -- was, possible tex export bug?
To: David Maus 




On Sun, Sep 12, 2010 at 7:55 AM, David Maus  wrote:

Hi Matt,


I gradually removed all content from the TeX file and it turns out
that one problem is the savetrees package: If I remove it in the TeX
file, tex4ht proceeds -- but fails again, this time on the \label
command.  Removing the hyperref package helps here.

Looks like a problem in tex4h, not Org.  Compiling the tex file with
latex works fine, with both hyperref and savetrees included.

sigh.  thanks david, that was a real help.

Unfortunately it's also very depressing news.  as far as I can tell,
both docbook2odf and tex4ht are both more or less unmaintained,
docbook2rtf produces horrbly-formatted text, and html --> odt in
openoffice is still fairly labour-intenxive so there is no really
reliable  method to get to a word-processing document from any other
format.  I think this does mean that I will have to write an odf
exproter for org, but I fear this will take me a very long time, even
with the excellent resources that exist to help me
(org-export-generic, the org-export-html, and the muse odf exporter).
And I don't think I can really do this before I have to produce these
html documents, so for now I guess I will be hand-converting.

thanks so much, though.  And if anyone does make progress on an odf
exporter, I do hpe you'll share it with us!  thanks as always,
matt



HTH,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de

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


[Orgmode] Bug : http in http link export

2010-09-12 Thread Richard Riley

Exporting to html doesnt cope very well with links that contains another
link as a subcomponent e.g

e-g Adding this 

http://browsershots.org/http://www.stevefairwaymusic.com/index

to an org entry as an org link and then exporting as
html to blogger results in what you see at the following link

http://blogtest-rgr.blogspot.com/2010/09/browser-shots-great-web-site.html

regards

r.


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


[Orgmode] Re: bug: babel-* dirs

2010-09-12 Thread Shelagh Manton
On Sat, 11 Sep 2010 21:00:29 +0200, Achim Gratz wrote:

> Samuel Wales  writes:
>> In the last 24 hours, org created 436 seemingly empty directories named
>> similar to "babel-81922AX" in (I think) $TMP.  I do not actively use
>> babel.
> 
> I can confirm this behaviour.
> 
> Achim.

I have some babel-XX folders, not many, but yesterday I had to close 
emacs by individually killing each buffer rather than C-x C-c as emacs 
complained about not being able to find one of the folders it expected. I 
do not use babel and do not have any settings for it.

Shelagh


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


Re: [Orgmode] Search files in a folder

2010-09-12 Thread suvayu ali
On 12 September 2010 12:31, Eric S Fraga  wrote:
> maybe org-mode does not but of course emacs does: M-x grep RET
> or M-x occur RET

Probably doesn't do as neatly as occur or grep, but the OP can get a
sparse tree based on a regex search.
`C-c / / '

-- 
Suvayu

Open source is the future. It sets us free.

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


[Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread Achim Gratz
Eric S Fraga  writes:
> it's the output of "M-x org-version RET" as opposed to the value of
> org-version.

They both deliver the same result "7.01trans" for me, that's why I'm
asking...

Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves


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


Re: [Orgmode] Search files in a folder

2010-09-12 Thread Eric S Fraga
On Mon, 13 Sep 2010 04:11:48 +0900, 노정태  wrote:
> 
> [1  ]
> [1.1  ]
> Hello.
> 
> I want to search org files in my /org folder.
> But I can't find a command to search files wholly.
> C-c a s (org-search-view) does search only with headline.
> I can't search the contents of my org files with just one command.
> 
> Does Org-mode have the function what I'm looking for?

maybe org-mode does not but of course emacs does: M-x grep RET
or M-x occur RET

HTH,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread Eric S Fraga
On Sun, 12 Sep 2010 21:23:23 +0200, Achim Gratz  wrote:
> 
> David Maus  writes:
> > The problem with exporting local links is fixed in master.
> 
> Thanks, although I don't see that particular commit yet... :-)
> 
> One other question: I often see org-mode version reported like this:
> 
> Org-mode version 7.01trans (release_7.01h.497.g59fa)
> 
> All I get is 7.01trans sans the "release" part, is there some makefile
> target I'm missing or some configuration to extend the version string
> that org-mode reports?

it's the output of "M-x org-version RET" as opposed to the value of
org-version.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread Achim Gratz
David Maus  writes:
> The problem with exporting local links is fixed in master.

Thanks, although I don't see that particular commit yet... :-)

One other question: I often see org-mode version reported like this:

Org-mode version 7.01trans (release_7.01h.497.g59fa)

All I get is 7.01trans sans the "release" part, is there some makefile
target I'm missing or some configuration to extend the version string
that org-mode reports?


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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


[Orgmode] Search files in a folder

2010-09-12 Thread 노정태
Hello.

I want to search org files in my /org folder.
But I can't find a command to search files wholly.
C-c a s (org-search-view) does search only with headline.
I can't search the contents of my org files with just one command.

Does Org-mode have the function what I'm looking for?
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread David Maus
Achim Gratz wrote:
>These two commits break exporting of local links as reported elsewhere
>on this list.

The problem with exporting local links is fixed in master.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgprFmfva4bEr.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-12 Thread Achim Gratz
The function org-link-escape escapes the '+' in file+sys and file+emacs
link types and creates some problems for export by doing so.  Only the
path component of a link URI should be escaped, but not the type part.


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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


[Orgmode] Re: [PATCH] Re: html-export mangels mailto: links

2010-09-12 Thread Achim Gratz
These two commits break exporting of local links as reported elsewhere
on this list.

Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada


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


Re: [Orgmode] Bug: Relative file links exported to HTML as links to another site [7.01trans]

2010-09-12 Thread David Maus
Aidan Gauland wrote:
>[1  ]
>[1.1  ]
>[1.1.1  ]
>Relative file links such as...
>[[file:foo.org][Another file]]
>...are exported to HTML as...
>Another file

>Attached is an example.

Thanks for reporting, this should be fixed in master now.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpJiB1u2z1Kq.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] Re: bug: [[file:something.org]] is exported to [[http:something.html]]

2010-09-12 Thread David Maus
Noorul Islam wrote:

>I think the problem is here.

>org-html.el: Fix exporting link to .org files.

>* lisp/org-html.el (org-html-cvt-org-as-html): Do not convert protocol
>from 'file' to 'http'

Thanks, patch accepted and applied.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpJZnOTBHi79.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: relative org file links get exported as href="http:./..." instead of href="./..." [7.01trans]

2010-09-12 Thread David Maus
Kai Tetzlaff wrote:

>Remember to cover the basics, that is, what you expected to happen and
>what in fact did happen.  You don't know how to make a good report?  See

> http://orgmode.org/manual/Feedback.html#Feedback

>Your bug report will be posted to the Org-mode mailing list.
>

>Since about 1 week (09-03), relative links between org-mode files within the
>same publishing project get and additional 'http:' prefix in the href 
>attribute.

>Instead of

>

>as in earlier versions the links are now converted to

>

>and fail to resolve when browsing the exported files.

Thanks for reporting.  This problem should be fixed in master now.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpG3aJON4RPf.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-get-local-archive-location

2010-09-12 Thread David Maus
Ilya Shlyakhter wrote:
>In the routine org-get-local-archive-location, is the call to
>(match-string 1) at the end extraneous?
>Seems like you want to return org-archive-location in this case.

Yes, this is now fixed in master.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpgIP755mkey.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Include files to be used in literate programming

2010-09-12 Thread Giorgio Valoti
Hi all,
I’ve just switched from OmniFocus and began using Org mode. But I also 
discovered that it can be used for literate programming and I’d like to ask if 
is there a way to use an included file in the tangling phase. In other words, I 
have a file which includes a commons.org file, like this:

=== commons.org contents ===
* Variabili comuni
  :PROPERTIES:
  :END:
#+SRCNAME: entity-name
#+BEGIN_SRC :noweb yes
nome_tabella
#+END_SRC


=== main.org contents ===
#+INCLUDE: "commons.org"

* Sezione in SQL
  :PROPERTIES:
  :END:
#+SRCNAME: sql-module
#+BEGIN_SRC sql :tangle module.sql :noweb yes
  select *
  from table <>;
#+END_SRC

<> should come from the commons but it’s not.

Is there a way to expand values from included files?

Thank you in advance.

--
Giorgio Valoti


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


[Orgmode] Re: Blogging org entries using google command line.

2010-09-12 Thread Richard Riley
David Maus  writes:

> Richard Riley wrote:
>
>>ok, last change of the day : this removes the tags from the blogged
>>heading (is there not an easier way?)
>
> What about `org-heading-components:

Aha yes. very good. Another elisp list feature learnt! "nth".

(let ((blabels (mapconcat  'identity (org-get-tags) ","))
  (btitle (nth 4 (org-heading-components

Much cleaner - thanks.

http://github.com/rileyrg/org-googlecl/commit/b1ed999768a8881871654350a9615dddaceb3cf7

(Isn't magit great?!)

r.




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


Re: [Orgmode] [BUG] Org-capture breaks if captured-to file is open in a narrowed buffer

2010-09-12 Thread David Maus
Jules Bean wrote:
>If I run org-capture with the template:

>("t" "Todo" entry (file+headline
>"/Users/jules/work/TODO.org" "Tasks") "* TODO %?
>  (Captured at %u)
>  %i
>  %a
>")

>whilst I have narrowed (using, e.g., org-narrow-to-subtree) the buffer
>that contains TODO.org, a new "* Tasks" headline is inserted at the
>end of my narrowing and the new entry is added there, which messes up
>the hierarchy of the file.

I can confirm this with

Org-mode version 7.01trans (release_7.01h.497.g59fa)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-08-14 on raven, modified by Debian

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpHcySXodTeU.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [bug] Gnus author in capture templates not working

2010-09-12 Thread David Maus
Sébastien Vauban wrote:
>Hi David,

>David Maus wrote:
>> Sébastien Vauban wrote:
>>> I've tried enhancing my capture template for Gnus mail, by using the
>>> =%:author= variable:
>>
>> AFAIK %:author is not a defined property Gnus links (Cf. Manual,
>> 9.1.3.2 Template expansion).

>Euh... I took it from the doc itself. See `C-h v org-capture-templates':

>[...]

>Apart from these general escapes, you can access information specific to
>the link type that is created. For example, calling `org-capture' in
>emails or gnus will record the author and the subject of the message,
>which you can access with "%:author" and "%:subject", respectively.
>   

True enough.  Fixed the doc string.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpSAurs6e1am.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Blogging org entries using google command line.

2010-09-12 Thread David Maus
Richard Riley wrote:

>ok, last change of the day : this removes the tags from the blogged
>heading (is there not an easier way?)

What about `org-heading-components:

,
| org-heading-components is a compiled Lisp function in `org.el'.
|
| (org-heading-components)
|
| Return the components of the current heading.
| This is a list with the following elements:
| - the level as an integer
| - the reduced level, different if `org-odd-levels-only' is set.
| - the TODO keyword, or nil
| - the priority character, like ?A, or nil if no priority is given
| - the headline text itself, or the tags string if no headline text
| - the tags string, or nil.
|
| [back]
`

HTH,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpsKaAYgPNg5.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Why :ID: properties?

2010-09-12 Thread David Maus
Rainer M Krug wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1

>On 07/09/10 16:40, Bastien wrote:
>> Rainer M Krug  writes:
>>
>>> On 07/09/10 16:16, Erik Iverson wrote:
 Did you recently start using MobileOrg?
>>>
>>> No - I only inserted a link, and around that time the :ID:s appeared. I
>>> deleted them all manually, but they came back.
>>
>> I suspect you need this:
>>
>> (set org-link-to-org-use-id nil)

>That sounds like the most likely solution - thanks.

>Now I just have to find an easy way to delete all the :PROPERTIES blocks.

This one should do the trick:

(defun dmj:org:remove-empty-propert-drawers ()
  "*Remove all empty property drawers in current file."
  (interactive)
  (unless (eq major-mode 'org-mode)
(error "You need to turn on Org mode for this function."))
  (save-excursion
(goto-char (point-min))
(while (re-search-forward ":PROPERTIES:" nil t)
  (save-excursion
(org-remove-empty-drawer-at "PROPERTIES" (match-beginning 0))

If called interactively in an Org mode buffer it searches for the
string ":PROPERTIES:" and tells Org to remove the drawer if it is
empty.  Just used it to get rid of empty CLOCK drawers -- but beware:
It is a very stupid function, i.e. it does not check if the
string :PROPERTIES: is actually a property drawer or not.

HTH,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpQr3jT4WO4z.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mode breaks buffer indexing in sclang-mode

2010-09-12 Thread James Harkins
As I said before, I'm really enjoying org-mode. I love that I can keep 
all my semester's teaching data in one text file and zoom in right to 
where I want quickly. But, today I found a not-good interaction between 
it and the main programming mode that I use in Emacs (sclang-mode, an 
interactive front end for the supercollider* audio programming language).


Supercollider keeps objects internally for code documents. These are 
connected to Emacs buffers. The sclang-mode lisp code assigns an integer 
index to buffers that supercollider is supposed to know about, and 
passes those indices into the sc interpreter. When I run sclang-mode on 
its own, this is all totally stable. It's also stable if I have an 
org-mode buffer open and I'm editing only.


As soon as org-mode opens a calendar buffer, the sclang interpreter no 
longer knows about its Document buffers -- i.e., when in a buffer that's 
been loaded from disk, the sc code "Document.current.path" should return 
the full path to the file, but after opening the calendar, 
Document.current returns 'nil' and .path fails with an error. This could 
happen if Emacs tells sclang that the buffer closed (but the buffer is 
still open).


This is consistent behavior that I can reproduce on-demand, both in 
Aquamacs 1.9 (OSX) and Emacs 23 on Ubuntu. Opening an agenda view does 
not trigger the problem. It seems to be just the calendar.


Why would opening a calendar buffer to choose a date mess around with 
other modes' buffers?


Not a major, major problem for me but it seems something fishy is going 
on and I thought I would report it.


James

* http://supercollider.sourceforge.net


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks


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


Re: [Orgmode] Re: bug with link following --- a (partial) solution

2010-09-12 Thread David Maus
Robert P. Goldman wrote:
>On 8/29/10 Aug 29 -10:36 AM, Robert Goldman wrote:
>> I used org-store-link and org-insert-link to make a link in the attached
>> document (I distilled it down from a real document).  In my org-mode
>> (pulled from git this morning), using Aquamacs 2.0 on Mac OSX Snow
>> Leopard (10.6), org-mode cannot follow the link I inserted with o-i-l,
>> and it pops up a dialog asking if I should add such a link target.

>A quick followup:

>I had a shot with git blame, and it seems like the only thing that might
>have interfered with this search recently is the commit with the SHA1
>has starting a84c8a2c

>And, indeed, when I comment out the block that was introduced in this
>commit (starting at line 9389):

> ...

>Carsten, could this patch be reverted until it can be fixed?

It's not a bug, it's a feature: To revert to the old behaviour you
can customize the variable `org-link-search-must-match-exact-headline'
and set it to nil.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp82QWqIvZSt.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] possible tex export bug?

2010-09-12 Thread David Maus
Hi Matt,

Matt Price wrote:

>Sorry for the barrage of help requests.  I don't know much about tex
>but it's possible the tex output from one file I am working on is
>buggy, as mk4ht refuses to read it.  The .org and .tex files are
>attached, as is the initial error output of mk4ht oolatex
>His495Ouline.tex.  This is perhaps the wrong list to be asking on,
>but I am sort of working from the assumption that there's an issue
>with the tex code that org produces -- mk4ht seems to work fine with
>simpler documents.  I';m using a pretty recent org-mode (7.01 from
>not that long ago).

I gradually removed all content from the TeX file and it turns out
that one problem is the savetrees package: If I remove it in the TeX
file, tex4ht proceeds -- but fails again, this time on the \label
command.  Removing the hyperref package helps here.

Looks like a problem in tex4h, not Org.  Compiling the tex file with
latex works fine, with both hyperref and savetrees included.

HTH,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp3zcwSFvsAP.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Advice needed. Use links or blocks?

2010-09-12 Thread David Maus
Sebastian Rose wrote:
>Nick Dokos  writes:
>> Sebastian Rose  wrote:
>>
>>
>>> the attached file fetches background tiles from openstreetmap.org for
>>> me, and produces SVG images of tracks I ran.  Unfortunately, I cannot
>>> find a good way to use that code in an automated way.
>>>
>>> What I'd like to do, is to have the coords in my training diary, and
>>> produce the images on demand.  When I publish the diary to HTML, I want
>>> the coords to be replaced with a link to the image.
>>>
>>> Here is an example of the coords (just two), as I save them in my diary:
>>>
>>>  '((9.707136154065665 52.3705158282501)(9.711406230817374 
>>> 52.37525815071791))
>>>
>>>
>>> And this is, how the function to produce the images is used:
>>>
>>>   (osm-draw-track
>>>;; Fantasy-track in Brisbane:
>>>'((152.968 -27.533) (152.968 -27.546) (152.974 -27.537))
>>>"Track_in_Brisbane"
>>>8)
>>>
>>>
>>>
>>> Should I go for a special link type:
>>>
>>> [[track:((152.968 -27.533) (152.968 -27.546))][2010-09-03 in Brisbane]]
>>>
>>> ??
>>>
>>>
>>> Right now, I produce a lisp file, that produces all those images using
>>> `osm-draw-tracks' and add simple links.  But this is inconvenient and
>>> prone to error (forgotten tracks)...
>>>
>>
>> Very cool indeed. I am certainly not an expert but I thought I'd remind you
>> of a vaguely similar idea that Julien Danjou implemented with his
>> org-location-google-maps.el: he stores the location in the LOCATION property
>> of an entry.
>>
>> Maybe a TRACK property, possibly accompanied by an ID that will link to
>> the SVG as an attachment and act as a cache? And other fields can be added
>> at will (name, date, completion time, amount of water drunk :-) etc.)


>I have those kind of properties.  Start-time, pace, etc.

>But I was hoping to make it usefull for other purposes, too.  One could
>have more than just one track in a section.  E.g. one for the warm-up,
>one for the competition.


>Actually, I'd like to click somewhere and see the track in an extra
>frame.  In Emacs and in my Browser.  That's why I was thinking about
>links.

>As I look into `C-h f org-add-link-type' I guess links are indeed the
>way to go.

Yes, but the link type

[[track:((152.968 -27.533) (152.968 -27.546))][2010-09-03 in Brisbane]]

has the problem that it is not a proper URI.  While this might be no
problem internally, I would prefer a link syntax that matches the URI
specs (RFC3986[1]).

Just took a look on the list of the registered URI schemes[2] and
there is a (recent) link type for geo information: RFC5870[3].

It might be somewhat expensive to (fully) implement the geo: URI
scheme in Org, but I think it would be worth it.

If my quick glance on the specs is right a geo: URI identifies a
point, hence a geo-track: link could be somewhat like:

geo-track:GEO[/GEO]

Where GEO is a path conforming with the geo: URI spec.

Best,
  -- David

[1] http://www.rfc-editor.org/rfc/rfc3986.txt
[2] http://www.iana.org/assignments/uri-schemes.html
[3] http://www.rfc-editor.org/rfc/rfc5870.txt
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpeAYidlfhJG.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Agenda and weather forecast

2010-09-12 Thread Julien Danjou
On Sun, Sep 12 2010, Richard Riley wrote:

> Here is a small patch to make it a bit cleaner in non GUI emacs (-nw) :-

Good idea, merged, thanks.

-- 
Julien Danjou
// ᐰhttp://julien.danjou.info


pgp41IIMG94UO.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]

2010-09-12 Thread David Maus
David Abrahams wrote:


>Remember to cover the basics, that is, what you expected to happen and
>what in fact did happen.  You don't know how to make a good report?  See

> http://orgmode.org/manual/Feedback.html#Feedback

>Your bug report will be posted to the Org-mode mailing list.
>

>When I go to refile an agenda item, say, under another item called
>"Happiness," I type `r h a p' and see:

>  Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) | Happiness 
> (todo.txt)}

>where the 2nd and 3rd instances of "Happiness" show up in blue. Is
>it expected to see multiple identical choices, and if so, why?

I can confirm this inconsistency with

Org-mode version 7.01trans (release_7.01h.496.g200f7.dirty)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-08-14 on raven, modified by Debian

and the attached minimal setup.  It seems to be caused by the setting
of `org-refile-targets':

(setq org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files 
:maxlevel . 5)))

Both conditions match: If I remove one of them, IDO completion shows
the refile target only once.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


minimal.el
Description: Binary data


pgpbiPMVx7RNB.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [Petr Baudis] [repo.or.cz] Looking for Volunteer Admins

2010-09-12 Thread Bastien
Hi all,

both Org and Worg git repositories live on repo.or.cz which provides a
great service for free.  If anyone has some free time in hands: they
need help.  No need to mention that any help to repo.or.cz is also a
help for *us* :)

Thansk, have a good day,

--- Begin Message ---
  Hi!

  It is been some time since I announced anything on repo.or.cz, and I
need your help again. The server works like a charm now (after some
hardware problems earlier in the year), but the development of the site
has nearly stopped and we have trouble timely handling even trivial
support requests like removing projects and switching them to mirror
mode, not even mentioning application of user-submitted patches and
development of sorely needed new features.

  Thus, I would like to ask you for help. Do you have tiny bit of free
time on your hands? Do you want to get some experience running
thousands-user internet site? Would you like to try fun new things with
the interface or just make it friendlier to the users? Your help would
be greatly welcome!

  We are looking for anyone with a bit of time on their hands and basic
UNIX shell and Git experience. If you have very good knowledge of shell,
Perl, and/or Git, that's all very much appreciated but if you are
willing to pick that up as you go, that's great too!

  If this sounds interesting to you, please take a look at

http://repo.or.cz/h/volunteers.html

and get back to us at ad...@repo.or.cz if you want to help out. We have
a nifty server but the (almost total) lack of administration is hurting
the service a lot and that is a shame!

  (You have received this e-mail since you have an account at the
repo.or.cz Git freehosting - sorry for the noise!)

  Happy weekend,

Petr "Pasky" Baudis
The repo.or.cz Admin Team

--- End Message ---


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


[Orgmode] Re: org-babel matlab example

2010-09-12 Thread etimecowboy
From: Dan Davison 
Subject: Re: org-babel matlab example
Date: Sat, 11 Sep 2010 12:23:17 -0400

> Dan Davison  writes:
> 
>> etimecowboy  writes:
>>
>>> Hi everybody,
>>>
>>> I am learning to use org-babel to evaluate in-line Matlab code block,
>>> but I cannot make it works when I press the "C-c C-c", nor "C-c C-v
>>> e".
>>
>> What happens when you try C-c C-c or C-c C-v e ? There is an issue with
>> matlab and octave: they return the value of the last /unassigned/
>> computation
> 
> A better way to say this is: they return the value of the special
> variable "ans". So whatever you do, at the end of the block you need to
> ensure that "ans" has the value that you want returned.
> 
> I've updated the Worg page on Matlab and Octave:
> 
> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-octave-matlab.php
> 
> Dan
> 
> 
>>, so simply ending the code block with a variable name "x" is
>> not enough. Could you try one of the following schemes please, and let
>> us know if that solves it:
>>
>> #+begin_src matlab :exports results
>> n = [1:10];
>> x = 5*n+4;
>> ans = x
>> #+end_src
>>
>> #+begin_src matlab :exports results
>> n = [1:10];
>> x = 5*n+4;
>> x + 0
>> #+end_src
>>
>>
>>> The export of code works, but the results was not there. My in-line code is 
>>> like this:
>>
>> There was a little typo in your original block: the keyword is
>> ":exports" with an s.
>>
>> Dan
>>
>>>
>>> #+begin_src matlab :export results
>>> n = [1:10];
>>> x = 5*n+4;
>>> x
>>> #+end_src
>>>
>>> Is there someone can provide me a working example? Thanks a lot.
>>>
>>>
>>> -
>>>
>>> etimecow...@gmail.com
>>>
>>>   _.,,._
>>> .:'`:.
>>>   .'  `.
>>>  .'`.
>>>  :  :
>>>  `.'`':'`'`/'
>>>   `.   \  |   /   ,'
>>> \   \ |  /   /
>>>  `\_..,,.._/'
>>>   {`'-,_`'-}
>>>   {`'-,_`'-}
>>>   {`'-,_`'-}
>>>`YY'
>>>  ~^^~
>>>
>>> ___
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Dear Dan,

I have checked the Worg page you updated and tried your example. It works! The 
ans variable is the secret! Thanks a lot. I suggest org should provide some 
examples in its user's guide, not only on the topic of Babel but also Table, 
Hyperlink, Picture, and etc.

-

etimecow...@gmail.com

  _.,,._
.:'`:.
  .'  `.
 .'`.
 :  :
 `.'`':'`'`/'
  `.   \  |   /   ,'
\   \ |  /   /
 `\_..,,.._/'
  {`'-,_`'-}
  {`'-,_`'-}
  {`'-,_`'-}
   `YY'
 ~^^~

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