[Orgmode] Re: A python module for orgmode files

2010-12-13 Thread Charles Cave
Jonathan BISSON gmail.com> writes: > > Hi all, > > A new project : A python module for orgmode files > > https://github.com/bjonnh/PyOrgMode I wrote a Python Orgnode module at least a year ago. Have a look at this and feel free to adapt what you find of interest. My module is designed to rea

Re: [Orgmode] in the orgmode site, a broken link

2010-12-13 Thread David Maus
At Wed, 8 Dec 2010 19:53:30 +0100, titi toto wrote: > > At this address : > http://orgmode.org/worg/org-tutorials/org-appearance.php#sec-2 > in the "Org-mode ready color-themes" section, the link doesn't work because > it is pointing to file:///home/cdominik/Private/Dropbox/Worg/ > org-color-them

[Orgmode] Re: Export LaTeX file to different directory?

2010-12-13 Thread Richard Lawrence
Jeff Horn writes: > If you want to publish a single project, one that dumps all the files > in the tmp directory, it would publish all files in the source > directory (definitely not what the OP had in mind, I think). If you > publish "only this file," it might work. Yes, there is a "Publish cur

Re: [Orgmode] A python module for orgmode files

2010-12-13 Thread Jeff Horn
On Mon, Dec 13, 2010 at 7:24 PM, Jonathan BISSON wrote: > On 12/14/2010 01:03 AM, Chris Malone wrote: >> I guess the real question is: did you write the org-mode-parsing Python >> code using org-mode? ;-) > > No but I was thinking that would be nice to fold classes and get TODO items > (and even s

Re: [Orgmode] A python module for orgmode files

2010-12-13 Thread Jonathan BISSON
On 12/14/2010 01:03 AM, Chris Malone wrote: > I guess the real question is: did you write the org-mode-parsing Python > code using org-mode? ;-) No but I was thinking that would be nice to fold classes and get TODO items (and even scheduled ones) Maybe using # as a "star". I don't know if it it

Re: [Orgmode] A python module for orgmode files

2010-12-13 Thread Chris Malone
I guess the real question is: did you write the org-mode-parsing Python code using org-mode? ;-) Looks promising, and I'll see if there is anything I can contribute, although I am currently more familiar with Python than org-mode. Chris On Mon, Dec 13, 2010 at 6:57 PM, Jeff Horn wrote: > Thank

Re: [Orgmode] A python module for orgmode files

2010-12-13 Thread Jeff Horn
Thanks for sharing! I'm just learning Python, but grok org-mode well enough to use it everyday. I'll take a look and contribute if I can! Jeff On Mon, Dec 13, 2010 at 6:31 PM, Jonathan BISSON wrote: > Hi all, > > A new project : A python module for orgmode files > > https://github.com/bjonnh/PyO

Re: [Orgmode] MobileOrg: "Unexpceted error" when syncing data from Dropbox

2010-12-13 Thread Richard Moreland
Hi All, I've had a few emails on this and I spent a while this evening trying to recreate it. Unfortunately, I've been unable to make this happen. It sounds like there are 2 errors people are seeing: - "Unexpected error" when syncing - "Bad file encoding" If anyone is able to take a snapshot of

[Orgmode] [PATCH] Remove stray apostrophe

2010-12-13 Thread Matt Lundin
* lisp/org.el: Remove stray apostrophe at the beginning of org.el --- lisp/org.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index c4fe6a0..1f17476 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1,4 +1,4 @@ -';;; org.el --- Outline-based no

[Orgmode] A python module for orgmode files

2010-12-13 Thread Jonathan BISSON
Hi all, A new project : A python module for orgmode files https://github.com/bjonnh/PyOrgMode Hope someone would find this useful/helpful. You can also contribute as much as you wish/can ;) The code is not really clean (I'm working on docstrings and cleaning-up) but should be usable. Please

[Orgmode] Re: Turn off all folding (drawers, headlines) during structure moves?

2010-12-13 Thread Bernt Hansen
Jeff Kowalczyk writes: > I prefer to work with all the Org elements visible, and get good results with > #+STARTUP: showeverything . > > Even with this setting, during structure editing, drawers (e.g. :CLOCK:) fold > when a headline is moved up or down in the structure, and a headline killed > an

Re: [Orgmode] Re: [Babel] How to pass variables to SQL blocks?

2010-12-13 Thread Eric Schulte
Sébastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >> Sébastien Vauban writes: >>> (I thought this feature would be implemented using "real" SQL vars, hence >>> my @ >>> prefix. But viewing the code shows the replacement is made outside of the >>> SQL >>> snippet's knowledge.) >> >>

Re: [Orgmode] MobileOrg: "Unexpceted error" when syncing data from Dropbox

2010-12-13 Thread Martin Stemplinger
Hallo Matthew Jones, am 13.12.2010 schriebst Du: > Have you guys tried reporting the issue directly to Richard? > No I did not think of it :-(. Following the descriptin found at https://gist.github.com/605245 the problem disappeared. even if I don't understand why. Thanks for the hint and sorry

[Orgmode] Re: Fontification of blocks

2010-12-13 Thread Sébastien Vauban
Hi David, "David O'Toole" wrote: > 2010/12/10 Sébastien Vauban : >> In order to make the blocks stand out more clearly in the mix of prose, code >> and table results of many Babel Org files, I've added 2 new faces: >> >> - org-block-begin-line >> - org-block-end-line >> >> These apply to the line

[Orgmode] Re: [Babel] How to pass variables to SQL blocks?

2010-12-13 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: > Sébastien Vauban writes: >> (I thought this feature would be implemented using "real" SQL vars, hence my >> @ >> prefix. But viewing the code shows the replacement is made outside of the SQL >> snippet's knowledge.) > > I agree that using real SQL variables would

[Orgmode] Re: [PATCH] org: rework property set

2010-12-13 Thread Bernt Hansen
Thanks Julien, This patch format is better. Could you put the comments like 'I may have done this badly, ...' and 'It works but there maybe some corners case ...' after the --- and before the diffstat? This isn't really useful to keep permanently in the org-mode history if this patch is accepted

Re: [Orgmode] [org-babel] Dynamic Tangle?

2010-12-13 Thread Eric Schulte
Hi Nathan, The easiest way I can think of to accomplish templates would be through some abuse of code block evaluation. Maybe something like the following would work... ** tangle templates #+source: template-heading #+begin_src emacs-lisp some stuff here #+end_src #+source: template-footing #

[Orgmode] Re: Fontification of blocks

2010-12-13 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: > Sébastien Vauban writes: >> In order to make the blocks stand out more clearly in the mix of prose, >> code and table results of many Babel Org files, I've added 2 new faces: >> >> - org-block-begin-line >> - org-block-end-line >> >> These apply to the line just b

[Orgmode] Re: Debugger entered--Lisp error: (void-function -mode)

2010-12-13 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: > Does this error still exist? Yes, I do think so, but... > If so could you send a small example org-mode file which reproduces the > problem? I'm not able to reproduce it right now... Thanks! Best regards, Seb -- Sébastien Vauban

[Orgmode] Re: Agenda clock reports and tag filters

2010-12-13 Thread Sébastien Vauban
Hi Bernt, Bernt Hansen wrote: > Sébastien Vauban writes: > >> Now, regarding the contents of the table itself, I have a small question: >> *how* can we configure the report in order *to stop showing lines* (= files) >> that have *zero time*? > > I use the following org-agenda-clockreport-parameter

Re: [Orgmode] [Babel] The first line of the code blocks disappears in the tangled file

2010-12-13 Thread Eric Schulte
I am able to reproduce this error when evaluating a latex code block, so for example #+begin_src org :results latex :results replace ,- eric ,- schulte #+end_src #+results: #+BEGIN_LaTeX \begin{itemize} \item schulte \end{itemize} #+END_LaTeX This is due to the fact that org mode code blocks

Re: [Orgmode] [babel] void-function org-babel-load-file

2010-12-13 Thread Eric Schulte
Hi Karl, Are you sure you are using the latest version of Org-mode? I have the following in my init.el file (this is the whole file) and I have not had any problems. #+begin_src emacs-lisp (setq warning-suppress-types nil eshell-output-filter-functions nil) (setq dotfiles-dir (file-n

Re: [Orgmode] Coding systems in Babel

2010-12-13 Thread Eric Schulte
Hi Vincent, This may be a by product of your local Emacs settings. I say this only because when I execute the same code block I get a different result, e.g. ** utf8 and latin-1 encodings #+tblname: toto | é | #+begin_src python :var t=toto :preamble # -*- coding: latin1 -*- :return [len(babel)

Re: [Orgmode] Re: [Babel] How to pass variables to SQL blocks?

2010-12-13 Thread Eric Schulte
Sébastien Vauban writes: > > (I thought this feature would be implemented using "real" SQL vars, hence my @ > prefix. But viewing the code shows the replacement is made outside of the SQL > snippet's knowledge.) > I agree that using real SQL variables would be preferable. If you want to submit

Re: [Orgmode] Fontification of blocks

2010-12-13 Thread Eric Schulte
Hi Seb, This looks like a very nice addition. Could you refactor your patch so that this behavior is controlled by a user configurable defcustom variable? Thanks -- Eric Sébastien Vauban writes: > Hi, > > In order to make the blocks stand out more clearly in the mix of prose, code > and table

Re: [Orgmode] Error running ditaa

2010-12-13 Thread Eric Schulte
Hi Dov, I agree with your point that the ditaa and dot aspects of org-export-blocks could be fruitfully refactored, however those parts of org-export-blocks are nearly deprecated and are only retained for backwards compatibility. Please use code blocks [1] for a more interactive and powerful mean

Re: [Orgmode] Re: eval: Invalid read syntax: "#"Error during redisplay: (void-function -mode)

2010-12-13 Thread Eric Schulte
Hi Nick, Thanks for your thorough investigation below. I walked through the steps you outlined locally and ran into the same problems, one surprising issue is that if you export the subtree by first narrowing to the subtree with org-narrow-to-subtree and then export the problem does not present i

Re: [Orgmode] extending CDLATEX

2010-12-13 Thread Xiao-Yong Jin
On Mon, 13 Dec 2010 14:06:29 -0500, Marvin Doyley wrote: > Hi there, > I would like extend CDLATEX to include additional latex symbols that I > frequently use. Does > anybody know how to do this ? The instructions are in the beginning of the file. Basically, you can customize the variable `cdlat

[Orgmode] extending CDLATEX

2010-12-13 Thread Marvin Doyley
Hi there, I would like extend CDLATEX to include additional latex symbols that I frequently use. Does anybody know how to do this ? cheers M ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://

[Orgmode] Re: Agenda clock reports and tag filters

2010-12-13 Thread Bernt Hansen
Sébastien Vauban writes: > Now, regarding the contents of the table itself, I have a small question: > *how* can we configure the report in order *to stop showing lines* (= files) > that have *zero time*? > > For example, this is what I have: > > | File | Headline

[Orgmode] Turn off all folding (drawers, headlines) during structure moves?

2010-12-13 Thread Jeff Kowalczyk
I prefer to work with all the Org elements visible, and get good results with #+STARTUP: showeverything . Even with this setting, during structure editing, drawers (e.g. :CLOCK:) fold when a headline is moved up or down in the structure, and a headline killed and yanked to a new location will yank

Re: [Orgmode] Re: Export LaTeX file to different directory?

2010-12-13 Thread Jeff Horn
On Mon, Dec 13, 2010 at 1:34 PM, Richard Lawrence wrote: > When you define a publishing target in org-publish-project-alist, you > can specify both the :base-directory and :publishing-directory options. > For example: > > (setq org-publish-project-alist >      '(("orgfiles" >         :base-directo

[Orgmode] Re: Export LaTeX file to different directory?

2010-12-13 Thread Richard Lawrence
Hi Joost, > If I export (part of) an org-mode file to LaTeX, the LaTeX file is created in > the same directory as the org-mode file. Is there a way to specify the file > should go somewhere else? Googling and looking through the manual didn't give > me > anything concrete. There is apparently a p

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread Jeff Horn
On Mon, Dec 13, 2010 at 12:15 PM, Joost Kremers wrote: > i'm using org version 7.4, if that's relevant at all. the variable > org-export-publishing-directory is defined in org-exp.el (with defvar and a > FIXME...), but it's not used anywhere in a meaningful way, AFAICT. That just made me think...

Re: [Orgmode] Re: Keep URLs from automagically turning into links in HTML export?

2010-12-13 Thread Uriel Avalos
On Mon, 13 Dec 2010 16:53:55 +0100 Giovanni Ridolfi wrote: > Oscar Carlsson writes: > > Uriel, if you reply please, CC the list,: > > emacs-orgmode@gnu.org > > I sent a reply to Oscar's post to the list, but Oscar did not > include you :-/, that's why I'm writing directly to you. > > > Urie

[Orgmode] Re: Agenda clock reports and tag filters

2010-12-13 Thread Sébastien Vauban
Hi Bernt and Carsten, Bernt Hansen wrote: > Carsten Dominik writes: >> On Dec 10, 2010, at 11:08 PM, Bernt Hansen wrote: >>> Carsten Dominik writes: Try `C-u R'. >>> >>> Awesome :) .. and I'm up-to-date now ... I just didn't know about the >>> prefix for R in the agenda. :) >> >> :) I only

[Orgmode] [PATCH] org: rework property set

2010-12-13 Thread Julien Danjou
* org-capture.el (org-capture-fill-template): Use `org-set-property' directly. * org.el (org-set-property): Split property and values reading. (org-read-property-name, org-read-property-value) (org-set-property-function): New functions. (org-property-set-functions-alist): New variable. The initia

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread Joost Kremers
On Mon, Dec 13, 2010 at 10:57:45AM -0500, Nick Dokos wrote: > Joost Kremers wrote: > > If I export (part of) an org-mode file to LaTeX, the LaTeX file is created > > in > > the same directory as the org-mode file. Is there a way to specify the file > > should go somewhere else? Googling and looki

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread suvayu ali
Hi, On Mon, Dec 13, 2010 at 4:43 PM, Joost Kremers wrote: > it works if i export a subtree (C-c C-e 1 l), but not if i export a region > (set > mark, highlight region, then C-c C-e l). I think I had missed your earlier comment about exporting regions. > also, it doesn't expand a tilde ~ to my

Re: [Orgmode] MobileOrg: "Unexpceted error" when syncing data from Dropbox

2010-12-13 Thread Matthew Jones
Have you guys tried reporting the issue directly to Richard? http://mobileorg.ncogni.to/support/ or posting a bug: https://github.com/richard/mobileorg/issues This is a high volume mailing list and its easy for things to get drowned out... talking to the maintainer directly would probably get y

Re: [Orgmode] Worg down?

2010-12-13 Thread Bastien
Hi Jeff, Jeff Horn writes: > Going to worg at 19:50 EST produced an "internal server error" from > two machines on my network. http://orgmode.org was down for a while at the time you wrote your email and later today, for a few minutes. I allocated more memory to the machine hosting Org and Wor

Re: [Orgmode] MobileOrg: "Unexpceted error" when syncing data from Dropbox

2010-12-13 Thread Rodney Price
MobileOrg has been throwing this error for me since the first day I tried it. (with iPod Touch) I've given up on solving it. I've tried everything mentioned below repeatedly, and I just don't have time to mess with it any longer. The purpose of this post is just to say "me too" and "please fix M

Re: [Orgmode] [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-13 Thread Matt Lundin
Carsten Dominik writes: > On Dec 13, 2010, at 1:53 PM, Matt Lundin wrote: >> BTW, the two optimization patches do not yet appear in the main git >> repository: >> >> http://repo.or.cz/w/org-mode.git > > Should be fixed now - please verify. > Yes. Everything is there now. Thanks! Matt ___

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread Joost Kremers
On Mon, Dec 13, 2010 at 12:52:41PM +0100, suvayu ali wrote: > I just tested this, it seems to work as expected. > > > * Smearing :smear: > :PROPERTIES: > :EXPORT_FILE_NAME: tmp/smearing.html > :END: > > ** Some sub-tree 1 > > ** Som

Re: [Orgmode] Re: Keep URLs from automagically turning into links in HTML export?

2010-12-13 Thread Giovanni Ridolfi
Oscar Carlsson writes: > Uriel Avalos writes: > >> Suppose you have the following org file: >> >> * Hello World >> http://testlink.com >> >> How do you keep that URL from auto-magically turning into an HTML >> anchor (http://testlink.com>http://testlink.com) in the >> export? >> > In case I woul

Re: [Orgmode] Bug: capture with PROPERTIES [7.4 commit-4760c3b94...]

2010-12-13 Thread Giovanni Ridolfi
Giovanni Ridolfi writes: - sorry for the double post of Friday - > Emacs : GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) > of 2010-05-08 on G41R2F1 I can confirm the bug in 7.4 commit 4760c3b9482cfeda02d24590e2fb7c70a9c1d0cd As the debug-on-error gave me not error :-( I put some (debug) calls in

[Orgmode] Re: Keep URLs from automagically turning into links in HTML export?

2010-12-13 Thread Oscar Carlsson
Uriel Avalos writes: > Suppose you have the following org file: > > * Hello World > http://testlink.com > > How do you keep that URL from auto-magically turning into an HTML > anchor (http://testlink.com>http://testlink.com) in the > export? > > ___ > E

Re: [Orgmode] Lists made stronger: lists within lists

2010-12-13 Thread Carsten Dominik
On Dec 13, 2010, at 3:49 PM, Karl Maihofer wrote: Nicolas, great! I just moved around some list items with inline tasks in my 800+ pages document. And it works perfect. I will do some more tests tonight. Thanks to you and everyone for testing. Critical for this kind of work. Greetings

Re: [Orgmode] [PATCH] org-agenda: rewrite mode-line

2010-12-13 Thread Carsten Dominik
XEmacs users, please read this. On Dec 12, 2010, at 7:55 PM, Julien Danjou wrote: On Sun, Dec 12 2010, Carsten Dominik wrote: what is the purpose of this patch, why is it needed? I generally will not accept patches that lack this information. Sorry, it seems quite obvious to me. Hi Julien

Re: [Orgmode] Lists made stronger: lists within lists

2010-12-13 Thread Karl Maihofer
Nicolas, great! I just moved around some list items with inline tasks in my 800+ pages document. And it works perfect. I will do some more tests tonight. Thanks a lot! Karl Zitat von Nicolas Goaziou : Hello, As I had promised it here a few days ago, I just pushed a testing branch allow

[Orgmode] Keep URLs from automagically turning into links in HTML export?

2010-12-13 Thread Uriel Avalos
Suppose you have the following org file: * Hello World http://testlink.com How do you keep that URL from auto-magically turning into an HTML anchor (http://testlink.com>http://testlink.com) in the export? ___ Emacs-orgmode mailing list Please use `Repl

Re: [Orgmode] [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-13 Thread Carsten Dominik
On Dec 13, 2010, at 1:53 PM, Matt Lundin wrote: Carsten Dominik writes: Great work on these optimizations, Matt, thanks! I guess this one could be faster still by only searching for that one keyword is `specific' is set. Patch applied. Thanks! I considered the additional optimization

Re: [Orgmode] [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-13 Thread Matt Lundin
Carsten Dominik writes: > Great work on these optimizations, Matt, thanks! > > I guess this one could be faster still by only searching for > that one keyword is `specific' is set. > > Patch applied. Thanks! I considered the additional optimization, but being able to use org-maybe-keyword-ti

Re: [Orgmode] [OT] recutils

2010-12-13 Thread Jean-Marie Gaillourdet
Hi, jema...@gnu.org (Jose E. Marchesi) writes: > > I would highly appreciate any comment or suggestion on improving the > > format, the utilities, or whatever. > > Wow! The ability to have a _relational_ database with foreign keys > in a simple text file is so great news for

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread suvayu ali
Hi Joost, On Mon, Dec 13, 2010 at 12:34 PM, Joost Kremers wrote: > On Mon, Dec 13, 2010 at 12:07:56PM +0100, suvayu ali wrote: >> For setting the directory you >> could try something like 'directory/filename.pdf' instead of just the >> usual file name. (untested) I am not aware of any directory o

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread Joost Kremers
On Mon, Dec 13, 2010 at 12:07:56PM +0100, suvayu ali wrote: [EXPORT_FILE_NAME] > I think you have to set it as a property for the sub-tree you are > trying to export. So whenever you export only that sub-tree, the file > name will be taken from that property. I tried various incantations, includin

Re: [Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread suvayu ali
On Mon, Dec 13, 2010 at 11:47 AM, Joost Kremers wrote: > There is apparently a property EXPORT_FILE_NAME, but setting > this doesn't seem to have any effect. (Though I may be using it wrong, there > wasn't any description or example of it in the manual... Plus, I'd like to be > able to specify jus

[Orgmode] Export LaTeX file to different directory?

2010-12-13 Thread Joost Kremers
Hi all, If I export (part of) an org-mode file to LaTeX, the LaTeX file is created in the same directory as the org-mode file. Is there a way to specify the file should go somewhere else? Googling and looking through the manual didn't give me anything concrete. There is apparently a property EXPOR

Re: [Orgmode] [PATCH 2/2] Make timestamp search in org-entry-properties more efficient.

2010-12-13 Thread Carsten Dominik
Great work on these optimizations, Matt, thanks! I guess this one could be faster still by only searching for that one keyword is `specific' is set. Patch applied. - Carsten On Dec 13, 2010, at 4:05 AM, Matt Lundin wrote: * lisp/org.el: (org-entry-properties) Stop scanning for timestamps

[Orgmode] Re: Example for beamer export with blocks and twocolumn

2010-12-13 Thread Loris Bennett
Eric S Fraga writes: > Loris Bennett writes: > > [...] > >> Thanks for the reply. However, I my problem is not with the main >> presentation part of the org file. >> >> What I would really like to see is >> >> 1. the preamble to the presentation where the MACROs LaTeX_CLASS options >> etc. are g