Re: [Orgmode] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Stefan Vollmar
Dear Carsten,

On 15.11.2010, at 12:51, Carsten Dominik wrote:

 after 7 years of responsibility for Org-mode, it is time for
 me to let go and step down as the maintainer of Org-mode.

many thanks for all the effort you have put into org-mode, a wonderful piece of 
software which has become essential for many colleague's professional and 
private lifes - in a kingdom of software this would have earned you a 
knighthood twice over, secured a place at King Arthur's table and/or the odd 
statue in your name!

 I am very excited that I have found Bastien Guerry willing
 to take over.  Bastien has been involved with this project
 almost from the beginning and I believe he knows more
 about both the spirit and the technicalities of Org-mode
 than anybody else.  I am sure he will do an excellent job.

Thumbs up for Bastien!

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de








smime.p7s
Description: S/MIME cryptographic 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: Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Tassilo Horn
Hi Carsten,

thanks a lot for Org and the incredible job you've been doing!  It was a
pleasure to participate in this great community, and I'm sure it'll be a
pleasure with Bastien taking the lead, too.

Bye,
Tassilo


___
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: Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Sebastien Vauban
Hi Carsten,

 Carsten Dominik carsten.domi...@gmail.com writes:
 after 7 years of responsibility for Org-mode, it is time for me to let go
 and step down as the maintainer of Org-mode.

 Thank you so much for the immense goodwill and generosity you have daily
 demonstrated in your work on Org-mode and here on this mailing list! I can't
 say thanks enough for all the time you've taken to answer our questions,
 code our requests, and create such a stupendously useful piece of software.

I can't say more than what others already said: just a big thanks for your
amazing piece of software, and all the time you devoted to it, coding or
fixing our questions in a matter of minutes (almost as quick as Lucky Luke).

We will miss your endless commitment into it.


 I am very excited that I have found Bastien Guerry willing to take over.
 Bastien has been involved with this project almost from the beginning and I
 believe he knows more about both the spirit and the technicalities of
 Org-mode than anybody else.

 Congratulations Bastien!

What a huge responsability, to replace the irreplaceable... I wish you the
best, Bastien, in this new role.

Best regards,
  Seb

-- 
Sebastien Vauban


___
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] org-clock.el: fix regex to recognize indented clock tables

2010-11-16 Thread Carsten Dominik

Applied, thanks Achim.

- Carsten

On Nov 16, 2010, at 12:17 AM, Achim Gratz wrote:



org-clock.el: fix regex to recognize indented clock tables

* #BEGIN: and #END: were expected only at the first column in some
  places.
* #BEGIN: and #END: were erroneously recognized inside normal lines in
  other instances.
* always allow whitespace after #BEGIN: and #END:, not just a single  
space


TINYCHANGE - This patch is in the public domain.


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
From fa6a2f32a48f295e7b0053637a330d26a505ba8d Mon Sep 17 00:00:00 2001
From: Achim Gratz strom...@stromeko.de
Date: Mon, 15 Nov 2010 23:19:34 +0100
Subject: [PATCH] org-clock.el: fix regex to recognize indented clock  
tables


* #BEGIN: and #END: were expected only at the first column in some  
places.
* #BEGIN: and #END: were erroneously recognized inside normal lines  
in other instances.
* always allow whitespace after #BEGIN: and #END:, not just a single  
space


TINYCHANGE - This patch is in the public domain.
---
lisp/org-clock.el |   10 +-
1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 377c510..3146926 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1623,7 +1623,7 @@ fontified, and then returned.
(font-lock-fontify-buffer)
(forward-line 2)
(buffer-substring (point) (progn
-   (re-search-forward ^#\\+END nil t)
+   (re-search-forward ^[ \t]+#\\+END nil t)
(point-at-bol)

(defun org-clock-report (optional arg)
@@ -1648,9 +1648,9 @@ buffer and update it.
  (let ((pos (point)) start)
(save-excursion
  (end-of-line 1)
-  (and (re-search-backward ^#\\+BEGIN:[ \t]+clocktable nil t)
+  (and (re-search-backward ^[ \t]+#\\+BEGIN:[ \t]+clocktable  
nil t)

   (setq start (match-beginning 0))
-  (re-search-forward ^#\\+END:.* nil t)
+  (re-search-forward ^[ \t]+#\\+END:.* nil t)
   (= (match-end 0) pos)
   start

@@ -1741,7 +1741,7 @@ the currently selected interval size.
  (and (memq dir '(left down)) (setq n (- n)))
  (save-excursion
(goto-char (point-at-bol))
-(if (not (looking-at #\\+BEGIN: clocktable\\.*?:block[ \t]+\\ 
(\\S-+\\)))
+(if (not (looking-at ^[ \t]+#\\+BEGIN:[ \t]+clocktable\ 
\.*?:block[ \t]+\\(\\S-+\\)))

(error Line needs a :block definition before this command works)
  (let* ((b (match-beginning 1)) (e (match-end 1))
 (s (match-string 1))
@@ -2134,7 +2134,7 @@ from the dynamic block defintion.
 Weekly report starting on: )
  (plist-get p1 :tstart) \n)
  (setq step-time (org-dblock-write:clocktable p1))
-  (re-search-forward #\\+END:)
+  (re-search-forward ^[ \t]+#\\+END:)
  (when (and (equal step-time 0) stepskip0)
;; Remove the empty table
(delete-region (point-at-bol)
--
1.7.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


- Carsten




___
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] Fwd: Small improvment of emacs-org mode concerning LaTeX-export

2010-11-16 Thread Carsten Dominik

Dear LaTeX hackers,

here is an interesting patch from Stefan Vollmer.
It attempts to automatically set the right language for
the babel style in LaTeX export (so this has nothing to
do with org-babel).  It looks good to me on a quick
glance, but can I ask some of you to take a closer
look, and test it?

Thanks!

- Carsten

Begin forwarded message:


From: Dr. Juergen Vollmer juergen.voll...@informatik-vollmer.de
Date: November 15, 2010 4:58:01 PM GMT+01:00
To: Carsten Dominik cars...@orgmode.org
Subject: Small improvment of emacs-org mode concerning LaTeX-export

Dear Carsten,

please find enclodes a small improvment of your emacs org-mode.

I added LaTeX's babel environment to use internationalized words  
liek Inhaltsverzeichnis instead

of Table of content.
The used language is derived frorm the (HTML)-LANGUGE variable which  
the mapped to babel's options.
Futhermore I added a new custom-variable to select the latex  
inputenc-option.


As base I used
Org-mode version 7.3 (release_7.3.67.g0adc.dirty)
which i cloned using your git-repository.

With best regards
Jürgen

PS: I'm not a very skilled emacs-lisp hacker, but I hope my changes  
are ok


--
Dr.rer.nat. Juergen Vollmer, Viktoriastrasse 15, D-76133 Karlsruhe
Tel: +49(721) 92 04 87 1 Fax: +49(721) 92 04 87 2
juergen.voll...@informatik-vollmer.de
www.informatik-vollmer.de
Internet-Telefonie: www.skype.com Benutzer: juergen.vollmer
---
Diese EMail ist elektronisch mittels GPG / PGP signiert.
Diese elektronische Unterschrift ist in einem EMail-Anhang enthalten.
Leider kann die Signatur ohne die Installation entsprechender  
Programme

weder geprüft noch angezeigt werden.
Mehr dazu unter: http://www.gnupg.org oder auch http://www.pgpi.org
---
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 2affcba..83115c3 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -165,38 +165,39 @@ This option can also be set with the +OPTIONS line, e.g. \-:nil\.
   :type '(string :tag File or URL))
 
 (defcustom org-export-language-setup
-  '((en Author Date  Table of Contents Footnotes)
-(ca  Autor  Data Iacute;ndex Peus de pagrave;gina)
-(cs Autor  Datum Obsah Pozn\xe1mky pod carou)
-(da Ophavsmand Dato  Indhold Fodnoter)
-(de Autor  Datum Inhaltsverzeichnis Fuszlig;noten)
-(eo  A#365;toro  Dato Enhavo Piednotoj)
-(es Autor  Fecha Iacute;ndice Pies de paacute;gina)
-(fi Tekijauml; Pauml;ivauml;mauml;auml;rauml;   Sisauml;llysluettelo  Alaviitteet)
-(fr Auteur Date  Table des matiegrave;res Notes de bas de page)
-(hu Szerzotilde; Daacute;tum Tartalomjegyzeacute;k Laacute;bjegyzet)
-(is Houml;fundur Dagsetning Efnisyfirlit Aftanmaacute;lsgreinar)
-(it Autore Data  Indice Note a piegrave; di pagina)
-(nl Auteur Datum Inhoudsopgave Voetnoten)
-(no Forfatter  Dato  Innhold Fotnoter)
-(nb Forfatter  Dato  Innhold Fotnoter)  ;; nb = Norsk (bokm.l)
-(nn Forfattar  Dato  Innhald Fotnotar)  ;; nn = Norsk (nynorsk)
-(pl Autor  Data Spis tre#x015b;ci  Przypis)
-(sv Fouml;rfattare Datum Inneharing;ll Fotnoter))
+  '((en Author Date  Table of Contents Footnotes english)
+(ca Autor  Data Iacute;ndex Peus de pagrave;gina canadien)
+(cs Autor  Datum Obsah Pozn\xe1mky pod carou czech)
+(da Ophavsmand Dato  Indhold Fodnoter danish)
+(de Autor  Datum Inhaltsverzeichnis Fuszlig;noten ngerman)
+(eo  A#365;toro  Dato Enhavo Piednotoj esperanto)
+(es Autor  Fecha Iacute;ndice Pies de paacute;gina spanish)
+(fi Tekijauml; Pauml;ivauml;mauml;auml;rauml;   Sisauml;llysluettelo  Alaviitteet finnish)
+(fr Auteur Date  Table des matiegrave;res Notes de bas de page  francais)
+(hu Szerzotilde; Daacute;tum Tartalomjegyzeacute;k Laacute;bjegyzet magyar)
+(is Houml;fundur Dagsetning Efnisyfirlit Aftanmaacute;lsgreinar icelandic)
+(it Autore Data  Indice Note a piegrave; di pagina italian)
+(nl Auteur Datum Inhoudsopgave Voetnoten dutch)
+(no Forfatter  Dato  Innhold Fotnoter norsk)
+(nb Forfatter  Dato  Innhold Fotnoter norsk)  ;; nb = Norsk (bokm.l)
+(nn Forfattar  Dato  Innhald Fotnotar nynorsk)  ;; nn = Norsk (nynorsk)
+(pl Autor  Data Spis tre#x015b;ci  Przypis polish)
+(sv Fouml;rfattare Datum Inneharing;ll Fotnoter english))
   Terms used in export text, translated to different languages.
 Use the variable `org-export-default-language' to set the language,
 or use the +OPTION lines for a per-file setting.
   :group 'org-export-general
   :type '(repeat
 	  (list
-	   (string :tag HTML language tag)
+	   (string :tag HTML and LaTeX language tag)
 	   (string :tag Author)
 	   (string :tag Date)
 	   (string :tag Table of Contents)
-	   (string :tag Footnotes
+	   (string :tag Footnotes)
+	   (string :tag 

[Orgmode] [PATCH][BUG] Fix documentation

2010-11-16 Thread Olaf Dietsche
When I do a make info, I get the following error:

org.texi:9329: Misplaced {.
org.texi:9330: Misplaced }.

Fix is below.

Regards, Olaf

diff --git a/doc/org.texi b/doc/org.texi
index c2314fa..57e0204 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -9326,7 +9326,7 @@ These options take effect in both the HTML and l...@tex{} 
export, except for
 @code{TeX} and @code{LaTeX}, which are respectively @code{t} and @code{nil}
 for the l...@tex{} export.  The default values for these and many other options
 are given by a set of variables.  For a list of such variables, the
-corresponding OPTIONS keys and also the publishing keys (pxref{Project
+corresponding OPTIONS keys and also the publishing keys (@pxref{Project
 alist}), see the constant @code{org-export-plist-vars}.
 
 When exporting only a single subtree by selecting it with @kbd{C-c @@} before

___
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: Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Jambunathan K
Carsten

Thanks for Orgmode. Get some well deserved sleep :-). 

Bastien

I hope, under your maintainership, Orgmode will continue to assimilate
the good things that are in the wild and make it all it's own.

I find Worg much better than Emacswiki. 

I am sure you will find more innovative means to take forward Carsten's
legacy while retaining much of the underlying spirit that made Orgmode a
success it is today.

Jambunathan K.





___
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] [PATCH] minor typos in Readme_maintainer

2010-11-16 Thread Giovanni Ridolfi
the patch attached fixes few typos in Readme_maintainer

cheers,
Giovanni

--- README_maintainer	2010-11-16 10:22:56.0 +0100
+++ README_maintainer-new.org	2010-11-16 11:17:40.677233600 +0100
@@ -62,5 +62,5 @@
 : pw update -s Changed Requested -m What to change NNN
 
-This will sand an email to the contributor and the mailing list with a
+This will send an email to the contributor and the mailing list with a
 request for changes.  The =-m= message should not be more than one
 sentence and describe the requested changes.  If you need to explain
@@ -83,5 +83,5 @@
 : pw merge -m maintainer comment NNN
 
-This will merge than patch into master, switch back to master and send
+This will merge the patch into master, switch back to master and send
 an email to both contributor and mailing list stating that this change
 has been accepted, along with the comment given in the =-m= message.
@@ -122,5 +122,5 @@
 bugs discovered in a main release.  Only the fix to the bug is
 bundled into a release, without the main development work going on in
-the master branch.  Since the big fix will also be needed in the
+the master branch.  Since the bug fix will also be needed in the
 master branch, usually the fix is made in master and then
 cherry-picked into maint.  When this is done, a release is made from
@@ -146,5 +146,5 @@
 This is still a significant headache.  Some hand work is needed here.
 
-Emacs uses bzr, and while I see all the advantages thiswould have, I
+Emacs uses bzr, and while I see all the advantages this would have, I
 cannot bring myself to switch away from git for my day-to-day work.
 So the way I have been doing things with Emacs is this:
___
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: Store link in message mode

2010-11-16 Thread Łukasz Stelmach
Tassilo Horn tass...@member.fsf.org writes:

 Ulf Stegemann ulf-n...@zeitform.de writes:

 If you think --despite of those issues-- it's worth adding the
 creation of gnus links while in message mode I could provide a patch.

 I'm curious how you are able to determine where a message will be filed
 after sending it off.  I mean, you neither have the Message-Id at that
 point (unless that's added to `message-generate-headers-first'), nor do
 you know the correct group, at least if there are more than one in the
 Gcc header.

There is a facility in Gnus called info:(gnus)The Gnus Registry
which I havn't investigated yet but it looks promising. From what I've
browsed the info it looks like it registers all the message ids and
remembers the folders. So it would be enough to remember the MID and
then make Gnus find it.

-- 
Miłego dnia,
Łukasz Stelmach


___
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] Babel DOS

2010-11-16 Thread Michael Gauland
I'm having trouble executing a shell script under Microsoft Windows using
org-babel. When I evaluate this:

#+begin_src sh :results output
echo Hello
#+end_src

I get this:
#+results:
: Microsoft Windows XP [Version 5.1.2600]
: (C) Copyright 1985-2001 Microsoft Corp.
: 
: c:\home\mike\notes-hgMore? 

It looks like the shell is invoked as expeced, but the 'echo' command does not
appear to be executed.  I've used babel to execute shell script under Linux, and
have used other babel languages (ditaa, plantuml, dot) under Windows, but this
is the first time I've tried the DOS shell.

Am I doing something obviously wrong, or is it time to fire up the debugger?

Any advice would be appreciated.

Regards,
Mike


pgp3w03yybx8I.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] [Babel] Babel DOS

2010-11-16 Thread Giovanni Ridolfi
Michael Gauland mikely...@gmail.com writes:

 I'm having trouble executing a shell script under Microsoft Windows using
 org-babel. When I evaluate this:

 #+begin_src sh :results output
 echo Hello
 #+end_src

 I get this:
 #+results:
 : Microsoft Windows XP [Version 5.1.2600]
 : (C) Copyright 1985-2001 Microsoft Corp.
 : 
 : c:\home\mike\notes-hgMore? 

Just a cosmetic issue. If we can pass the argument  //nologo  to the shell
call [1]

the lines Microsoft Windows XP [Version 5.1.2600]
  (C) Copyright 1985-2001 Microsoft Corp.

won't appear ;-)

cheers,
Giovanni

[1] many, Many, M A N Y, thanks to Russell Adams
   for his vimeo presentation
   http://vimeo.com/16533939

___
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] Difference if exporting a table to latex

2010-11-16 Thread Seweryn Kokot
Hello,

First I had a table

code
| M_r | /33.22/ |
/code

in an .org file and exporting the table to latex gave the following

\begin{center}
\begin{tabular}{ll}
 M$_r$\emph{33.22}  \\
\end{tabular}
\end{center}

Then as I needed more control so I moved to a .tex file. This time, using a 
radio table, the converted table is quite different i.e. no $$ around _r, and 
no \emph env.

code
% BEGIN RECEIVE ORGTBL test1
\begin{tabular}{ll}
M_r  /33.22/ \\
\end{tabular}
% END RECEIVE ORGTBL test1

\begin{comment}
#+ORGTBL: SEND test1 orgtbl-to-latex
| M_r | /33.22/ |
\end{comment}
/code

Is it a bug in `orgtbl-to-latex' or how I can get the same behaviour as in 
exporting from an .org file? 


___
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-mode and htmlslidy

2010-11-16 Thread Peter Frings

On 11 Nov 2010, at 14:17, John Hendy wrote:

 
 
 On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.com wrote:
 In looking for the perfect slide show generation from org-mode I have so far 
 checked the following and found that they have serious problems:
 epresenter - Keyboard gets stuck, little control over display.
 org-s5 - No support for pages overflowing, e.g. when showing a long slides I 
 would like to scroll
 What about beamer? To date I haven't found anything I like as much! It just 
 seems to do about everything... even if that means hunting down the 
 occasional obscure code to force it to do my will!
 
 You can combine it with impressive! and do some fantastic things during 
 presentations: http://impressive.sourceforge.net/


I've been using mindmaps as a presentation tool and have had very positive 
reactions from the audience.

- The overview is almost always in sight.
- It's easy to move to the next topic (you need software that can collapse and 
expand subtrees, most of them do)
- You can leave two or more topics open (depends on the size of course)
- It's easy to go back to a previous point.
- You can edit things if needed.
- It's different.

OK, that last point might not be a real benefit, but it is often refreshing to 
the audience, and it grabs the attention pretty well :-)

Cheers,
Peter.___
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] minor typos in Readme_maintainer

2010-11-16 Thread Carsten Dominik

Thank you Giovanni.

- Carsten

On Nov 16, 2010, at 11:26 AM, Giovanni Ridolfi wrote:


the patch attached fixes few typos in Readme_maintainer

cheers,
Giovanni

--- README_maintainer   2010-11-16 10:22:56.0 +0100
+++ README_maintainer-new.org   2010-11-16 11:17:40.677233600 +0100
@@ -62,5 +62,5 @@
: pw update -s Changed Requested -m What to change NNN

-This will sand an email to the contributor and the mailing list  
with a
+This will send an email to the contributor and the mailing list  
with a

request for changes.  The =-m= message should not be more than one
sentence and describe the requested changes.  If you need to explain
@@ -83,5 +83,5 @@
: pw merge -m maintainer comment NNN

-This will merge than patch into master, switch back to master and  
send

+This will merge the patch into master, switch back to master and send
an email to both contributor and mailing list stating that this change
has been accepted, along with the comment given in the =-m= message.
@@ -122,5 +122,5 @@
bugs discovered in a main release.  Only the fix to the bug is
bundled into a release, without the main development work going on in
-the master branch.  Since the big fix will also be needed in the
+the master branch.  Since the bug fix will also be needed in the
master branch, usually the fix is made in master and then
cherry-picked into maint.  When this is done, a release is made from
@@ -146,5 +146,5 @@
This is still a significant headache.  Some hand work is needed here.

-Emacs uses bzr, and while I see all the advantages thiswould have, I
+Emacs uses bzr, and while I see all the advantages this would have, I
cannot bring myself to switch away from git for my day-to-day work.
So the way I have been doing things with Emacs is this:
___
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


Re: [Orgmode] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread peter . frings

On 15 Nov 2010, at 12:51, Carsten Dominik wrote:

 Dear all,
 
 after 7 years of responsibility for Org-mode, it is time for
 me to let go and step down as the maintainer of Org-mode.

What can I say that hasn't been said before? Discovering org-mode was indeed 
one of those Wow! moments, so thank you for bringing it into my life. 

Carsten, enjoy the peace this may bring, and to Bastien, well, may I wish you 
lots of strength ... you'll need it :-)


So long, and thanks for the fish!
Peter.



___
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] Babel DOS

2010-11-16 Thread Eric Schulte
As a (possibly) interesting example of how little windows support I have
locally, here is how your email (presumably from a Windows machine)
appears in my email client.

attachment: widows-email.png
Michael Gauland mikely...@gmail.com writes:

 I'm having trouble executing a shell script under Microsoft Windows using
 org-babel. When I evaluate this:
 
 #+begin_src sh :results output
 echo Hello
 #+end_src
 
 I get this:
 #+results:
 : Microsoft Windows XP [Version 5.1.2600]
 : (C) Copyright 1985-2001 Microsoft Corp.
 : 
 : c:\home\mike\notes-hgMore? 
 
 It looks like the shell is invoked as expeced, but the 'echo' command does not
 appear to be executed.  I've used babel to execute shell script under
 Linux, and
 have used other babel languages (ditaa, plantuml, dot) under Windows, but this
 is the first time I've tried the DOS shell.
 
 Am I doing something obviously wrong, or is it time to fire up the debugger?
 
 Any advice would be appreciated.
 
 Regards,
 Mike
 ___
 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


Re: [Orgmode] Babel DOS

2010-11-16 Thread Eric Schulte
Hi Mike,

I have no access to a windows machine, so it is not surprising that the
windows shell doesn't work as expected.

All of the external Babel calls do use built in Emacs functions for
calling external programs all of which work cross platform (which is why
these other languages work on Windows despite no explicit Windows
testing or development), however I believe that the shell is simply too
OS-specific to expect things to just work as in the other languages.

If you do find ways to improve ob-sh.el for windows I would be happy to
fold such changes in.

Thanks -- Eric

Michael Gauland mikely...@gmail.com writes:

 I'm having trouble executing a shell script under Microsoft Windows using
 org-babel. When I evaluate this:
 
 #+begin_src sh :results output
 echo Hello
 #+end_src
 
 I get this:
 #+results:
 : Microsoft Windows XP [Version 5.1.2600]
 : (C) Copyright 1985-2001 Microsoft Corp.
 : 
 : c:\home\mike\notes-hgMore? 
 
 It looks like the shell is invoked as expeced, but the 'echo' command does not
 appear to be executed.  I've used babel to execute shell script under
 Linux, and
 have used other babel languages (ditaa, plantuml, dot) under Windows, but this
 is the first time I've tried the DOS shell.
 
 Am I doing something obviously wrong, or is it time to fire up the debugger?
 
 Any advice would be appreciated.
 
 Regards,
 Mike
 ___
 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


Re: [Orgmode] Business process diagrams in org-mode

2010-11-16 Thread Eric S Fraga
Bart Bunting b...@bunting.net.au writes:

 Hi Eric,

 Thanks very much for the suggestion!

 I'm not familiar with dot but will invest some time to see if I can get
 my head around it.  

 This sounds like a good solution.  Perhaps just writing directly in dot
 will solve my problem.

Possibly, although as it is possibly nicer to work with org tables, and
because my train was delayed 45 minutes on the way to work this morning,
here (attached as an org file with babel emacs lisp code) is one attempt
at a solution.

There is one bug in this code: for some reason, the dot code generated
by the emacs lisp code gets embedded in an org EXAMPLE block.  Not sure
why but I have to do something else now...  I'll try to come back to
this later.

Oh, I also changed your table so that each next step takes up a column
entry in the table.  This is not ideal but I didn't want to bother
parsing the actual table entries.

* preamble
#+TITLE: businessprocess.org
#+AUTHOR:Eric S Fraga
#+EMAIL: e.fr...@ucl.ac.uk
#+DATE:  2010-11-15 Mon
#+DESCRIPTION: cf. 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT: 

* The problem

Look at [[gnus:nnmaildir%2BUCL:lists#87bp5sacnf@bunting.net.au][this email]].

* the table

#+tblname: processtable 
| Step| Description | Next Steps  |   |
|-+-+-+---|
| Begin   | Begin the process   | Choice1 |   |
| Choice1 | Decide if we are big or small.  | Big | Small |
| Big | If we are big then do big things| End |   |
| Small   | If we are small then figure out if we are really small or possibly big. | ReallySmall | Big   |
| ReallySmall | Yes we are really small | End |   |
| End | The end.| |   |
|-+-+-+---|

* the elisp code

#+source: esf/business-process
#+begin_src emacs-lisp :results value raw :exports results
(defun esf/generate-business-process-graph (table name file)
  (let ((entries (nthcdr 2 table))
	(output (format digraph %s { name))
	)
(message Initial: %s\n table)
(message Entries: %s\n entries)
;; we need to do two iterations through the table, one to define
;; the nodes and then one to connect them.
(setq savedentries entries)		;for second iteration
(while entries
  (let ((entry (first entries)))
	(if (listp entry)
	(let ((step (first entry))
		  (description (nth 1 entry)) )
	  (setq output  (format %s\n  %s [label=\%s\]; output step description))
	  )
	  )
	(setq entries (cdr entries))
	)
  )
(setq entries savedentries)
(while entries
  (let ((entry (first entries)))
	(if (listp entry)
	(let ((from (first entry))
		  (nextsteps (cdr (cdr entry))) )
	  (message Nextsteps: %s\n nextsteps)
	  (while nextsteps
		(let ((to (first nextsteps)))
		  (if to 
		  (if (not (string= to ))
			  (setq output (format %s\n  %s - %s; output from to
		  (setq nextsteps (cdr nextsteps))
		  )
		)
	  )
	  )
	(setq entries (cdr entries))
	)
  ) ; end while entries left
(format #+begin_src dot :results file :file %s :exports results
%s
}
,#+end_src\n file output)
)
  )
(esf/generate-business-process-graph table name file)
#+end_src

* the graph
#+call: esf/business-process(table=processtable, file=business.pdf, name=process)

#+results: esf/business-process(table=processtable, file=business.pdf, name=process)
#+begin_src dot :results file :file business.pdf :exports results
digraph process {
  Begin [label=Begin the process];
  Choice1 [label=Decide if we are big or small.];
  Big [label=If we are big then do big things];
  Small [label=If we are small then figure out if we are really small or possibly big.];
  ReallySmall [label=Yes we are really small];
  End [label=The end.];
  Begin - Choice1;
  Choice1 - Big;
  Choice1 - Small;
  Big - End;
  Small - ReallySmall;
  Small - Big;
  ReallySmall - End;
}
#+end_src


HTH,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.74.gb5907)
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org

Re: [Orgmode] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Puneeth
Hi Carsten

On Mon, Nov 15, 2010 at 5:21 PM, Carsten Dominik
carsten.domi...@gmail.com wrote:
 Dear all,

 after 7 years of responsibility for Org-mode, it is time for
 me to let go and step down as the maintainer of Org-mode.
[..]

You have been such an inspiration, in the short time that I have spent
in this community.  Thank you very much! I had no words to thank you
for the wonderful creation, that org-mode is.  So, I hacked up some
pictures for you. [1] ;) Wishing you best!

Life in plain text is truly wonderful!

 I am very excited that I have found Bastien Guerry willing
 to take over.  Bastien has been involved with this project
 almost from the beginning and I believe he knows more
 about both the spirit and the technicalities of Org-mode
 than anybody else.  I am sure he will do an excellent job.

Congratulations Bastien! Looking forward to having some great time,
with you at the helm!

Best,
Puneeth

[1] http://muse-amuse.in/~punchagan/carsten.html

___
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: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
Thanks, Giovanni, that helps; I assumed that does not work meant
what it said.  :)

However, it doesn't help me when I actually post the HTML.

The problem is that even without the br, the paragraph does not
fill.  So I would have to unfill the paragraphs manually, then export,
then undo the unfilling.

The perl code does not unfill paragraphs in my tests.

So I guess I'd like to know if:

  1) anybody has a /hook in the exporter/ to unfill paragraphs, or
  2) anybody has a way for the HTML to instruct the browser to /ignore
newlines/, or
  3) anybody has an unfill-region that works better than mine.

My unfill-region uses filladapt and seems so far to work for most
paragraphs but not ones following a headline.  It does not work with
filladapt turned off, seemingly.

Therefore there is manual effort to unfill paragraphs after headlines.

(defun alpha-unfill-region-or-paragraph ()
  (interactive)
  (let ((fill-column (point-max)))
(alpha-fill-region-or-paragraph)))
(defun alpha-fill-region-or-paragraph ()
  (interactive)
  (if (hoka-org-region-active-p)
  (call-interactively #'fill-region)
(fill-paragraph nil)))
(defun hoka-org-region-active-p ()
  Just a slighlty modified copy of the org function.
Is `transient-mark-mode' on and the region active?
Works on both Emacs and XEmacs.
  (if (featurep 'xemacs)
  (and zmacs-regions (region-active-p))
(if (fboundp 'use-region-p)
(use-region-p)
  (and transient-mark-mode mark-active

Thanks.


Samuel

___
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] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Carsten Dominik


On Nov 16, 2010, at 7:18 PM, Puneeth wrote:


Hi Carsten

On Mon, Nov 15, 2010 at 5:21 PM, Carsten Dominik
carsten.domi...@gmail.com wrote:

Dear all,

after 7 years of responsibility for Org-mode, it is time for
me to let go and step down as the maintainer of Org-mode.

[..]

You have been such an inspiration, in the short time that I have spent
in this community.  Thank you very much! I had no words to thank you
for the wonderful creation, that org-mode is.  So, I hacked up some
pictures for you. [1] ;) Wishing you best!

Life in plain text is truly wonderful!


I am very excited that I have found Bastien Guerry willing
to take over.  Bastien has been involved with this project
almost from the beginning and I believe he knows more
about both the spirit and the technicalities of Org-mode
than anybody else.  I am sure he will do an excellent job.


Congratulations Bastien! Looking forward to having some great time,
with you at the helm!

Best,
Puneeth

[1] http://muse-amuse.in/~punchagan/carsten.html


hey, these are fun, thanks, Puneeth.
Bastien looks a lot younger than I do, so this morph looks
definitely like a refresher :D

- Carsten

___
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] Business process diagrams in org-mode

2010-11-16 Thread Thomas S. Dye


On Nov 16, 2010, at 6:35 AM, Eric S Fraga wrote:


Bart Bunting b...@bunting.net.au writes:


Hi Eric,

Thanks very much for the suggestion!

I'm not familiar with dot but will invest some time to see if I can  
get

my head around it.

This sounds like a good solution.  Perhaps just writing directly in  
dot

will solve my problem.


Possibly, although as it is possibly nicer to work with org tables,  
and
because my train was delayed 45 minutes on the way to work this  
morning,
here (attached as an org file with babel emacs lisp code) is one  
attempt

at a solution.

There is one bug in this code: for some reason, the dot code generated
by the emacs lisp code gets embedded in an org EXAMPLE block.  Not  
sure

why but I have to do something else now...  I'll try to come back to
this later.

Oh, I also changed your table so that each next step takes up a column
entry in the table.  This is not ideal but I didn't want to bother
parsing the actual table entries.

businessprocess.org
HTH,
eric


Hi Eric,

Neat!  This gets rid of the #+begin_example ... #+end_example for me:

#+call: esf/business-process[:results value raw](table=processtable,  
file=business.pdf, name=process) :results value raw


All the best,
Tom


___
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] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Amit Sethi
 You have been such an inspiration, in the short time that I have spent
 in this community.  Thank you very much! I had no words to thank you
 for the wonderful creation, that org-mode is.  So, I hacked up some
 pictures for you. [1] ;) Wishing you best!

 Life in plain text is truly wonderful!


 Puneeth

 [1] http://muse-amuse.in/~punchagan/carsten.html

 hey, these are fun, thanks, Puneeth.
 Bastien looks a lot younger than I do, so this morph looks
 definitely like a refresher :D


Puneeth, is that life of org-mode in plain text :)

___
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] Business process diagrams in org-mode

2010-11-16 Thread Eric S Fraga
Thomas S. Dye t...@tsdye.com writes:

[...]

 Hi Eric,

 Neat!  This gets rid of the #+begin_example ... #+end_example for me:

 #+call: esf/business-process[:results value raw](table=processtable, 
 file=business.pdf, name=process) :results value raw

 All the best,
 Tom


Thanks.

Trying with [] and appended options individually shows that the latter
is the key!  Thanks.  I keep getting confused about which options are
actually used (i.e. between the ones in the definition of the source
function and the ones in the actual call, and for the latter whether in
[] or appended).

Thanks again,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.78.g9b811)

___
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: requested feature

2010-11-16 Thread Suvayu Ali

On Monday 15 November 2010 10:23 AM, Marvin Doyley wrote:

Using your code I create a new file Apples.org, in which I have bunch of
info on apples. It would be nice to be able to export the content of the
main and linked files to latex. I am thinking of the equivalent of having an
\include{}

Does anybody have any thoughts on how to do this ?


I think there is an #+include: directive that you can use.

--
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] Clean capture from command line?

2010-11-16 Thread Allen S. Rout


I'm one of the legion gradually slipping more and more of my day-to-day
process into org-mode.  (Thanks, Carsten!)

One of the things I'd like to be able to do is capture a new TODO from a
command line.  e.g.

shell$ capture Fred wants a new database VM, 60G

and maybe eventually something obnoxious with e.g. zenity, so that a key
chord popped up a text dialog which would just seamlessly get fed to
org-capture.  Basically, I want to make the notation and just keep
sailing. Of course, I've got the relevant org files open in an emacs on
another desktop: miles and miles away. :) The obvious solution

shell$ emacsclient -c -e (org-capture)

(and maybe a '-t', to keep it in the tty) 

has a problem: when I finish the capture, I'm left with the session, and
worse, when I try to close the emacsclient, (C-x #) it tells me No
server buffers remain to edit, and I have to M-x delete-frame.
Harshing my buzz, definitely.


A gmane search on 'capture command line' in this group didn't seem to
help much.  Am I thinking about the problem the wrong way?  How do
you-all do that sort of ad-hoc capture?



- Allen S. Rout


___
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: Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Eric S Fraga
Eric S Fraga ucec...@ucl.ac.uk writes:

[...]

 Yes, Carsten, that you ever so much for such a life changing piece of

arggh.   should be thank

even org doesn't help me type the right words... ;-)

-- 
photos: www.flickr.com/photos/ballfresno

___
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] Clean capture from command line?

2010-11-16 Thread Eric S Fraga
a...@ufl.edu (Allen S. Rout) writes:

 I'm one of the legion gradually slipping more and more of my day-to-day
 process into org-mode.  (Thanks, Carsten!)

 One of the things I'd like to be able to do is capture a new TODO from a
 command line.  e.g.

 shell$ capture Fred wants a new database VM, 60G

 and maybe eventually something obnoxious with e.g. zenity, so that a key
 chord popped up a text dialog which would just seamlessly get fed to
 org-capture.  Basically, I want to make the notation and just keep
 sailing. Of course, I've got the relevant org files open in an emacs on
 another desktop: miles and miles away. :) The obvious solution

 shell$ emacsclient -c -e (org-capture)

 (and maybe a '-t', to keep it in the tty) 

 has a problem: when I finish the capture, I'm left with the session, and
 worse, when I try to close the emacsclient, (C-x #) it tells me No
 server buffers remain to edit, and I have to M-x delete-frame.
 Harshing my buzz, definitely.

I tried the following:

: $ emacsclient -t -e (progn (org-capture) (delete-frame))

which /sort of/ works: it brings up capture, allows me to type in
various bits of the capture template (like headline and tags, if
requested) but then quits immediately (and deletes the frame) when org
is supposed to give me a chance to add to the entry I have created.

So this is a halfway point to a solution to your problem maybe?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.78.g9b811)

___
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: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
Of these three options, which do you think makes the most sense?

1) a /hook in the exporter/ to unfill paragraphs, or
2) a way for the HTML to instruct the browser to /ignore
newlines/, or
3) an unfill-region that works better than mine.

___
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] Command names are now in the manual

2010-11-16 Thread Samuel Wales
On 2010-11-15, Carsten Dominik domi...@uva.nl wrote:
 until I get around to do this, there is a complete list of these in
 the variable `org-export-plist-vars'.  Each element is a list of the
 property key for use by org-publish-alist, the OPTIONS line key and
 the variable.

That is excellent and should suffice, I think.

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied a deadly serious
disease for 25 years]
==
HIV-like virus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
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: HTML export and blogging to blogger.com

2010-11-16 Thread John Hendy
On Tue, Nov 16, 2010 at 5:17 PM, Samuel Wales samolog...@gmail.com wrote:

 Of these three options, which do you think makes the most sense?

 1) a /hook in the exporter/ to unfill paragraphs, or
 2) a way for the HTML to instruct the browser to /ignore
newlines/, or
 3) an unfill-region that works better than mine.


4) Was what I sent back desirable/acceptable from how I export?
--- 4a) if not, await answers on 1-3
--- 4b) if so, figure out what the difference is between what you get and
what I get and then automate the process.

I realize it's not working properly for you, but it seemed like my output is
what you're looking for:
--- exporting just the region desired
--- no heading/footer stuff
--- unfilled via perl
--- all html tags for links and emphasis work great
--- quick; not sure how much you blog, but once I'm done typing and spell
checking, it takes me less than 1-2min to do my process and most of that is
just me being anal in checking it over prior to clicking post. The actual
export to copy-able/paste-able text takes 20sec or so.


John



 ___
 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


Re: [Orgmode] Clean capture from command line?

2010-11-16 Thread Friedrich Delgado
I use zsh and I already use this:

,[ ~/bin/uriescapepwd.pl ]
  #!/usr/bin/perl -w
  use URI::Escape qw/ uri_escape uri_escape_utf8 /;
  use Cwd qw/getcwd abs_path/;
  $pwd = abs_path(getcwd);
  print uri_escape_utf8($pwd);
`

,[ .zshrc snippet ]
  # bind f9n to org-store-link
  bindkey -s \e[20~n 'emacsclient 
org-protocol://store-link://file:`uriescapepwd.pl`\n'
`

(I stole this from somewhere, can't remember where, possibly this
list.)

it should be easy to just do
,
  # bind f9t to org-remember
  bindkey -s \e[20~t 'emacsclient 
org-protocol://remember://file:`uriescapepwd.pl`\n'
`

(I'm old school.)

or even
,
  # bind f9t to org-remember
  bindkey -s \e[20~t 'emacsclient 
org-protocol://capture://file:`uriescapepwd.pl`\n'
`


I didn't test this, since I very rarely even use the first binding.

I'm pretty sure this must be possible with bash and other shells as
well.

Of course this leaves you in the emacsclient again, so you probably
want to follow Eric's hints on top of that.

Eric S Fraga schrieb:
 a...@ufl.edu (Allen S. Rout) writes:
  One of the things I'd like to be able to do is capture a new TODO from a
  command line.  e.g.
 
  shell$ capture Fred wants a new database VM, 60G
 
  and maybe eventually something obnoxious with e.g. zenity, so that a key
  chord popped up a text dialog which would just seamlessly get fed to
  org-capture.  Basically, I want to make the notation and just keep
  sailing. Of course, I've got the relevant org files open in an emacs on
  another desktop: miles and miles away. :) The obvious solution
 
  shell$ emacsclient -c -e (org-capture)
 
  (and maybe a '-t', to keep it in the tty) 
 
  has a problem: when I finish the capture, I'm left with the session, and
  worse, when I try to close the emacsclient, (C-x #) it tells me No
  server buffers remain to edit, and I have to M-x delete-frame.
  Harshing my buzz, definitely.
 
 I tried the following:
 
 : $ emacsclient -t -e (progn (org-capture) (delete-frame))
 
 which /sort of/ works: it brings up capture, allows me to type in
 various bits of the capture template (like headline and tags, if
 requested) but then quits immediately (and deletes the frame) when org
 is supposed to give me a chance to add to the entry I have created.
 
 So this is a halfway point to a solution to your problem maybe?
 
---Zitatende---

-- 
Friedrich Delgado frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)

___
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-article setup

2010-11-16 Thread Mario E. Munich
Dear all,

I am trying to use the org-article class created by Tomas Dye. As you might
guess, I am having some trouble and thus the email. I am using emacs 23.1.1
on Ubuntu 10.10 and org-mode verision TAG=7.3.

I have followed the instructions on worg:

http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

up to the point in which I need to tangle the org document.

If I try to run the tangle command: M-x org-babel-tangle RET, I get the
following error: No org-bable-execute function for python!

I think that  the problem is that I do not have any setup for Babel in my
.emacs, so I went to look for the standard Babel setup in the org manual and
in worg.

- In the org Manual, I see chapter 14 devoted to Babel, but I do not see any
information on how to set it up in my .emacs (maybe it is enabled by default
since Babel is included in org, but I am not sure).

- In worg, there is a page for Babel:
http://orgmode.org/worg/org-contrib/babel/index.php and a corresponding
Introductory Tutorial. In this page, there is a section called Initial
Configuration in which there is a mention of a five-step process, but the
corresponding list of steps only have 3 items.

I would appreciate if somebody could guide me towards a simple Babel
configuration that would help me tangle the org-article.org document.

Thanks a lot for all the help!

-Mario
___
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: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
No, I really meant my question the way I worded it.  I really want to
know the answer to 1-3, not the items you added.

I am limited in the typing that I can do, John.  All typing is very
painful.  So I cannot explain why right now.  Just trust me please.

___
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-article setup

2010-11-16 Thread Thomas S. Dye

On Nov 16, 2010, at 1:46 PM, Mario E. Munich wrote:


Dear all,

I am trying to use the org-article class created by Tomas Dye. As  
you might guess, I am having some trouble and thus the email. I am  
using emacs 23.1.1 on Ubuntu 10.10 and org-mode verision TAG=7.3.


I have followed the instructions on worg:

http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

up to the point in which I need to tangle the org document.

If I try to run the tangle command: M-x org-babel-tangle RET, I get  
the following error: No org-bable-execute function for python!


I think that  the problem is that I do not have any setup for Babel  
in my .emacs, so I went to look for the standard Babel setup in the  
org manual and in worg.


- In the org Manual, I see chapter 14 devoted to Babel, but I do not  
see any information on how to set it up in my .emacs (maybe it is  
enabled by default since Babel is included in org, but I am not sure).


- In worg, there is a page for Babel: http://orgmode.org/worg/org-contrib/babel/index.php 
 and a corresponding Introductory Tutorial. In this page, there is a  
section called Initial Configuration in which there is a mention of  
a five-step process, but the corresponding list of steps only have  
3 items.


I would appreciate if somebody could guide me towards a simple Babel  
configuration that would help me tangle the org-article.org document.


Thanks a lot for all the help!

-Mario


Aloha Mario,

Yes, it sounds like Babel isn't configured yet.  Here is what I use:

#+begin_src emacs-lisp :tangle yes
  (org-babel-do-load-languages
   'org-babel-load-languages
   '((R . t)
 (C . t)
 (ditaa . t)
 (dot . t)
 (emacs-lisp . t)
 (gnuplot . nil)
 (haskell . nil)
 (latex . t)
 (ocaml . nil)
 (org . t)
 (perl . t)
 (python . t)
 (ruby . t)
 (screen . nil)
 (sh . t)
 (sql . nil)
 (sqlite . t)))
#+end_src

You can adjust it to your needs by changing t and nil appropriately.

hth,
Tom___
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] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Scott Randby
When I first started using org-mode, the way I do my work became more
efficient and much easier. Now, if I want to do something new, I first
take a look at the org-mode manual to see if I can use org-mode to do
the new thing. I haven't been able to fit org-mode into everything, but
I haven't given up trying.

Carsten, thank you so much for developing and maintaining org-mode. Not
only is it an utterly great piece of software, but the community around
it is very friendly and open, something which I credit to you. Every
time I've sent a ridiculous question to the mailing list, I've received
a polite and helpful response. On other lists, the response would have
been RTFM.

Bastien, I think org-mode will be in very fine hands when you take over.
It is clear to me that under your leadership org-mode will continue to
improve for a long time to come.

Scott Randby

On 11/15/2010 06:51 AM, Carsten Dominik wrote:
 Dear all,
 
 after 7 years of responsibility for Org-mode, it is time for
 me to let go and step down as the maintainer of Org-mode.
 
 This has not been an easy decision to make.  Org-mode has
 been a very important part of my life during these years
 and given me as much energy as it has taken.  I am proud of
 this creation and extremely grateful for the opportunity
 to work with the absolutely outstanding community around
 it.  But the day-to-day responsibilities have worn me down,
 and I need to step back, move on, and focus on other things.
 
 I am very excited that I have found Bastien Guerry willing
 to take over.  Bastien has been involved with this project
 almost from the beginning and I believe he knows more
 about both the spirit and the technicalities of Org-mode
 than anybody else.  I am sure he will do an excellent job.
 There is a core of very knowledgeable and great people who
 carry the project together.  I hope very much that everyone
 will be helping out Bastien just like you have all helped
 me - then this will be a very smooth transition.
 
 As a formal date for the transition we have picked January 1st
 2011.  Until then, I will spend time to clean up where I can,
 and to document the maintainer tasks in the new README_maintainer
 file in the git repo.  On January 1st I will also switch the
 Donate button on the web page to point to an account owned
 by Bastien, to help him offset any costs involved with his
 contribution of time and money (like the web server that he
 has been sponsoring so far).  If you always wanted to throw
 a donation in my direction but have not found the right
 moment to do so - this is still possible until the end of
 December.
 
 I am not going to disappear from the project.  I will still
 be on the mailing list, answering questions when I can, and
 contribute code and fixes when I find time to do so.  Maybe,
 with the daily tasks taken off my hands, I will even be able
 to write bigger chunks of code.  But all of this will be on
 a much less regular basis than the daily flush of emails I
 am sending out now.
 
 I hope very much that you will all continue to enjoy a life
 in plain text :)
 
 With kind regards
 
 - Carsten
 
 
 ___
 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


Re: [Orgmode] Invisible parent tasks (request)

2010-11-16 Thread Samuel Wales
Carsten answered, but some notes, possibly relevant, but only indirectly.

;;org-enforce-todo-dependencies is set in custom and does blocking.
;;
;;;dimming (grey or invisible tasks) is this.  possibly slow and i am not
;;;sure it helps much in my case.  turning it off simplifies it so that i
;;;can look at colors more.  i might want to comment this out.
(setf org-agenda-dim-blocked-tasks nil)
;;what i might like instead of dimming blocked tasks is something that dims
;;any task (whether blocked or not) that has children in the same agenda
;;view.  for consistency, perhaps this should be any descendent and not
;;direct children only.  might be slow.  this idea needs work.
;;dimming any parent in the same agenda view might be nice also.

___
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: How to capture another file's column view

2010-11-16 Thread Fumito Hamamura
Carsten Dominik carsten.dominik at gmail.com writes:


You are right. I forgot the file: prefix.
Thank you.

Fumito





___
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: HTML export and blogging to blogger.com

2010-11-16 Thread Nick Dokos
Samuel Wales samolog...@gmail.com wrote:


   1) org source (my normally-preferred filled paragraphs) -
  c-u c-c c-e R - blogger
  - hard breaks are inserted so no filling can happen in
published blog entry
+ if large fonts and small column, will break
  awkwardly
  - blogger result attached

I tried this with your blogger-input.org and one change at the blogger.com
end: there is a Post Options button at the bottom of the text input box and
one of the options is

--8---cut here---start-8---
Edit HTML Line Breaks

[ ] Press Enter for line breaks
[x] Use br / tags
--8---cut here---end---8---

so I chose the latter and blithely pasted. Did you try that? If not, you
might want to give it a whirl: I think the output looks reasonable, but
it may be that I am satisfied too easily.

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


Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread John Hendy
On Tue, Nov 16, 2010 at 6:17 PM, Samuel Wales samolog...@gmail.com wrote:

 OK, more:

 I appreciate your considerable effort and I know that your perl
 solution works for you, but debugging it so that it works for my box
 also is not the approach that will work for all of us, and is not
 something I can do at this time.  A dependency on a specific version
 of perl or another part of the external environment is not a universal
 solution.


Good points. Didn't mean to be pushy! Just wanted to toss it out one more
time. Consider it more that I empathize with your frustration and since I've
been so happy with it I was hoping it could make your life easier as well.


 A native solution is best for everybody if we can implement it.


Perhaps this is right. Maybe my fix was more hackish and non-robust and it's
better to put in the effort to find a more universal solution for those in
this situation.


 My questions again are, is there a hook that can unfill, can HTML be
 made to unfill, or is there an unfill-region that works on subtrees.


Before hitting send I decided to look around and see what I found. Check
this out!! [1]

,-
| (defun unfill-region (begin end)
| Remove all linebreaks in a region but leave paragraphs, indented text
| (quotes, code) and lines starting with an asterisk (lists) intact
| (interactive r)
| (replace-regexp \\([^\n]\\)\n\\([^ *\n]\\) \\1 \\2 nil begin end))
`-

I tried it out and it worked great (added to .emacs, reloaded, and used M-x
unfill-region RET). I tried it with two headings each with multiple lines of
text under them and unfilled the whole buffer. It leaves the headers on
their own lines and turns each paragraph into a long line of text that
exported perfectly to a run-on html blob with C-u C-c C-e R.

Would that work?

[1] http://blog.bookworm.at/2007/08/emacs-unfill-region.html


John
___
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-article setup

2010-11-16 Thread John Hendy
On Tue, Nov 16, 2010 at 5:46 PM, Mario E. Munich mari...@ieee.org wrote:

 Dear all,

 I am trying to use the org-article class created by Tomas Dye. As you might
 guess, I am having some trouble and thus the email. I am using emacs 23.1.1
 on Ubuntu 10.10 and org-mode verision TAG=7.3.

 I have followed the instructions on worg:

 http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

 up to the point in which I need to tangle the org document.

 If I try to run the tangle command: M-x org-babel-tangle RET, I get the
 following error: No org-bable-execute function for python!

 I think that  the problem is that I do not have any setup for Babel in my
 .emacs, so I went to look for the standard Babel setup in the org manual and
 in worg.


Yup -- that's the error.



 - In the org Manual, I see chapter 14 devoted to Babel, but I do not see
 any information on how to set it up in my .emacs (maybe it is enabled by
 default since Babel is included in org, but I am not sure).


I concur and think that's weird. Even if it is on worg... perhaps the manual
should point there? There's a decent amount on babel in the manual so I
found it a bit odd that it didn't provide the setup syntax (like Thomas
did).


 - In worg, there is a page for Babel:
 http://orgmode.org/worg/org-contrib/babel/index.php and a corresponding
 Introductory Tutorial. In this page, there is a section called Initial
 Configuration in which there is a mention of a five-step process, but the
 corresponding list of steps only have 3 items.


5 vs. 3 is kind of funny. Some of those aren't really even steps. For your
case it's as easy as opening up .emacs and adding this:

(org-babel-do-load-languages
 'org-babel-load-languages
 '((python . t)))

Though as Thomas listed, you can have more. It looks like he actually puts
his right into the org file itself with a #+src block.

As for the rest of the steps, I actually wasn't able to get it to compile. I
get a bunch of these errors:

,-
| SyntaxError: invalid syntax
| File stdin, line 17
|print res
|^
| SyntaxError: invalid syntax
`-

I think I get those to go away with print (res) instead of res by itself.
I think I've had that error before and it's a python version issue. I'd
suggest changing it if it's accepted by older versions since python is
perhaps moving that direction? I run Arch Linux and would guess that I may
be on a later version than a lot of distros.

I also get this at the end in the minibuffer at the very end:
,-
| reference gantttest not found in this buffer
`-

I get not class file.



 I would appreciate if somebody could guide me towards a simple Babel
 configuration that would help me tangle the org-article.org document.


It'd probably be a good idea for someone to clean up worg and the manual a
bit. I can do some of those things -- Thomas, perhaps you want to handle the
org-article specific things if there are some compilation issues on my end
that find fixes and I can make worg a little clearer about babel setup? Not
sure who oversees the manual, but a redirect at the least to worg for .emacs
configuration would be helpful.


John


 Thanks a lot for all the help!

 -Mario


 ___
 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


Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote:

 Nick -- that was suggested to me when I posted about this topic a bit
 back as well. [1] That does work, but there's a catch. It applies the
 rule to every post that exists. If Samuel is just starting out, it's
 actually awesome (would have been for me). But... I had about 30
 longish posts in at the time and going back to insert br's at every
 line break would have been crazy.
 
 It is a viable solution for those starting out, so I'm glad it was
 brought up on the list again, though.
 
 John
 
 [1] http://www.mail-archive.com/emacs-orgmode@gnu.org/msg27941.html

Yup, I missed it that time. Thanks for pointing it out.

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


Re: [Orgmode] org-article setup

2010-11-16 Thread Thomas S. Dye

Hi John,

Apologies for having stupidly done some hacky development work on the  
master branch of org-article.  You must have pulled this weekend when  
things were *really* unsettled.  The errors you're getting now are  
ones I introduced but have since fixed.


The python dependency is from a work in progress that will eventually  
(and hopefully) support the minted package for source code markup and  
typesetting.   This is the kind of thing that should live in a git  
branch before it ends up throwing errors around your workspace.  So,  
more apologies.


I'll work at getting all the development stuff into a branch so master  
is stable again.


All the best,
Tom



On Nov 16, 2010, at 7:11 PM, John Hendy wrote:

On Tue, Nov 16, 2010 at 5:46 PM, Mario E. Munich mari...@ieee.org  
wrote:

Dear all,

I am trying to use the org-article class created by Tomas Dye. As  
you might guess, I am having some trouble and thus the email. I am  
using emacs 23.1.1 on Ubuntu 10.10 and org-mode verision TAG=7.3.


I have followed the instructions on worg:

http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

up to the point in which I need to tangle the org document.

If I try to run the tangle command: M-x org-babel-tangle RET, I get  
the following error: No org-bable-execute function for python!


I think that  the problem is that I do not have any setup for Babel  
in my .emacs, so I went to look for the standard Babel setup in the  
org manual and in worg.


Yup -- that's the error.


- In the org Manual, I see chapter 14 devoted to Babel, but I do not  
see any information on how to set it up in my .emacs (maybe it is  
enabled by default since Babel is included in org, but I am not sure).



I concur and think that's weird. Even if it is on worg... perhaps  
the manual should point there? There's a decent amount on babel in  
the manual so I found it a bit odd that it didn't provide the setup  
syntax (like Thomas did).


- In worg, there is a page for Babel: http://orgmode.org/worg/org-contrib/babel/index.php 
 and a corresponding Introductory Tutorial. In this page, there is a  
section called Initial Configuration in which there is a mention of  
a five-step process, but the corresponding list of steps only have  
3 items.


5 vs. 3 is kind of funny. Some of those aren't really even steps.  
For your case it's as easy as opening up .emacs and adding this:


(org-babel-do-load-languages
 'org-babel-load-languages
 '((python . t)))

Though as Thomas listed, you can have more. It looks like he  
actually puts his right into the org file itself with a #+src block.


As for the rest of the steps, I actually wasn't able to get it to  
compile. I get a bunch of these errors:


,-
| SyntaxError: invalid syntax
| File stdin, line 17
|print res
|^
| SyntaxError: invalid syntax
`-

I think I get those to go away with print (res) instead of res by  
itself. I think I've had that error before and it's a python version  
issue. I'd suggest changing it if it's accepted by older versions  
since python is perhaps moving that direction? I run Arch Linux and  
would guess that I may be on a later version than a lot of distros.


I also get this at the end in the minibuffer at the very end:
,-
| reference gantttest not found in this buffer
`-

I get not class file.


I would appreciate if somebody could guide me towards a simple Babel  
configuration that would help me tangle the org-article.org document.



It'd probably be a good idea for someone to clean up worg and the  
manual a bit. I can do some of those things -- Thomas, perhaps you  
want to handle the org-article specific things if there are some  
compilation issues on my end that find fixes and I can make worg a  
little clearer about babel setup? Not sure who oversees the manual,  
but a redirect at the least to worg for .emacs configuration would  
be helpful.



John

Thanks a lot for all the help!

-Mario


___
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


___
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: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
Hi Nick,

That is a great idea.

Unfortunately, that option is simply not there for me.

In Firefox and emacs-w3m, I only get:

Reader Comments
(*) Allow
( ) Don't allow
Backlinks
( ) Allow
(*) Don't allow

And strangely do not get what you get.  I tried reducing fonts in
Firefox also; the same thing showed up.

I wonder if we are using different versions of Blogger?

Then I went to Settings - Formatting and found this:

-

Convert line breaks 

If Yes is selected, single hard-returns entered in the Post Editor
will be replaced with single br / tags in your blog, and two
hard-returns will be replaced with two tags (br /br /).

-

But I set it to No and there was no difference; the paragraphs did not
get filled.

So I guess we are back to my 3 questions: unfill hook, HTML unfill, or
better unfill-region.


Samuel

___
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: HTML export and blogging to blogger.com

2010-11-16 Thread Nick Dokos
Samuel Wales samolog...@gmail.com wrote:


 In Firefox and emacs-w3m, I only get:
 
 Reader Comments
 (*) Allow
 ( ) Don't allow
 Backlinks
 ( ) Allow
 (*) Don't allow
 
 And strangely do not get what you get.  I tried reducing fonts in
 Firefox also; the same thing showed up.
 
 I wonder if we are using different versions of Blogger?
 

I get four options (w/Firefox):

Reader comments
Post date and time
Edit HTML Line Breaks
Compose Settings

I don't understand what is going on.

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


Re: [Orgmode] org-article setup

2010-11-16 Thread Thomas S. Dye

Aloha John and Mario,

I've moved my buggy development efforts to a branch and you can now  
pull a stable version of Org-article if you're so inclined.


All the best,
Tom

On Nov 16, 2010, at 7:11 PM, John Hendy wrote:

On Tue, Nov 16, 2010 at 5:46 PM, Mario E. Munich mari...@ieee.org  
wrote:

Dear all,

I am trying to use the org-article class created by Tomas Dye. As  
you might guess, I am having some trouble and thus the email. I am  
using emacs 23.1.1 on Ubuntu 10.10 and org-mode verision TAG=7.3.


I have followed the instructions on worg:

http://orgmode.org/worg/org-contrib/babel/examples/article-class.php

up to the point in which I need to tangle the org document.

If I try to run the tangle command: M-x org-babel-tangle RET, I get  
the following error: No org-bable-execute function for python!


I think that  the problem is that I do not have any setup for Babel  
in my .emacs, so I went to look for the standard Babel setup in the  
org manual and in worg.


Yup -- that's the error.


- In the org Manual, I see chapter 14 devoted to Babel, but I do not  
see any information on how to set it up in my .emacs (maybe it is  
enabled by default since Babel is included in org, but I am not sure).



I concur and think that's weird. Even if it is on worg... perhaps  
the manual should point there? There's a decent amount on babel in  
the manual so I found it a bit odd that it didn't provide the setup  
syntax (like Thomas did).


- In worg, there is a page for Babel: http://orgmode.org/worg/org-contrib/babel/index.php 
 and a corresponding Introductory Tutorial. In this page, there is a  
section called Initial Configuration in which there is a mention of  
a five-step process, but the corresponding list of steps only have  
3 items.


5 vs. 3 is kind of funny. Some of those aren't really even steps.  
For your case it's as easy as opening up .emacs and adding this:


(org-babel-do-load-languages
 'org-babel-load-languages
 '((python . t)))

Though as Thomas listed, you can have more. It looks like he  
actually puts his right into the org file itself with a #+src block.


As for the rest of the steps, I actually wasn't able to get it to  
compile. I get a bunch of these errors:


,-
| SyntaxError: invalid syntax
| File stdin, line 17
|print res
|^
| SyntaxError: invalid syntax
`-

I think I get those to go away with print (res) instead of res by  
itself. I think I've had that error before and it's a python version  
issue. I'd suggest changing it if it's accepted by older versions  
since python is perhaps moving that direction? I run Arch Linux and  
would guess that I may be on a later version than a lot of distros.


I also get this at the end in the minibuffer at the very end:
,-
| reference gantttest not found in this buffer
`-

I get not class file.


I would appreciate if somebody could guide me towards a simple Babel  
configuration that would help me tangle the org-article.org document.



It'd probably be a good idea for someone to clean up worg and the  
manual a bit. I can do some of those things -- Thomas, perhaps you  
want to handle the org-article specific things if there are some  
compilation issues on my end that find fixes and I can make worg a  
little clearer about babel setup? Not sure who oversees the manual,  
but a redirect at the least to worg for .emacs configuration would  
be helpful.



John

Thanks a lot for all the help!

-Mario


___
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


___
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-article setup

2010-11-16 Thread Thomas S. Dye

Aloha Mario,

Thanks for pointing this out.  I've removed reference to the old five- 
step process.


All the best,
Tom

On Nov 16, 2010, at 1:46 PM, Mario E. Munich wrote:

- In worg, there is a page for Babel: http://orgmode.org/worg/org-contrib/babel/index.php 
 and a corresponding Introductory Tutorial. In this page, there is a  
section called Initial Configuration in which there is a mention of  
a five-step process, but the corresponding list of steps only have  
3 items.


___
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-directory changed?

2010-11-16 Thread Richard Riley

Has something dramatic changed with how org loads files?

My org-directory setting is ~/org-files.

When I start up my agenda this morning after a git pull I get

insert-file-contents-literally: not a regular file:
/home/shamrock/org-files


cheers

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