Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Achim Gratz
Bastien writes: One thing I need to understand: what are the warnings that you have when compiling within a single process and you don't when compiling with one process per file? Emacs Lisp as a dynamic language has no concept of a well-formed program that can be verified by just looking at

Re: [O] make test on OSX

2012-08-13 Thread Neuwirth Erich
Is there any way I can find out more? On Aug 13, 2012, at 5:44 AM, Bastien b...@gnu.org wrote: Neuwirth Erich erich.neuwi...@univie.ac.at writes: Any ideas why the tests are failing? It looks like there is a missing dependancy related to org-element somewhere. But I can't reproduce the

Re: [O] make test on OSX

2012-08-13 Thread Bastien
Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: Is there any way I can find out more? By looking for an actual bug related to the failed test? I have no other idea, sorry. -- Bastien

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Bastien
Please give me an example of a warning that is shown while compiling within a single Emacs process and not shown while compiling files with one Emacs process per file. -- Bastien

Re: [O] [OT] ELNODE is soon to be released as version 1.0

2012-08-13 Thread Sebastien Vauban
Hello Brian, brian powell wrote: * Some people have expressed interest in Elnode in the past: ELNODE is soon to be released as version 1.0 ** Video mentions Emacs OrgMode (and includes an example) and Node.js: http://www.youtube.com/embed/TR7DPvEi7Jg ** Elnode - the EmacsLisp Async

Re: [O] [GSoC] Org-sync v0.2

2012-08-13 Thread Aurélien Aptel
On Sun, Aug 12, 2012 at 7:34 PM, Christopher Allan Webber cweb...@dustycloud.org wrote: This is *very* exciting. I'm definitely interested in using this for MediaGoblin if I can. Thanks. I've just looked at MediaGoblin but I don't think it fits what Org-sync was designed for, which is sync

[O] A tidy file maketh a tidy mind?

2012-08-13 Thread 'Mash
Morning, I just want to know if there is there exists a 'tidy' module/command that can be run on a file to tidy it? I often find myself going back and adding extra line breaks and padding, and wondering if there exists something that can do this for me? Thanks, 'Mash

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Achim Gratz
Bastien bzg at gnu.org writes: Please give me an example of a warning that is shown while compiling within a single Emacs process and not shown while compiling files with one Emacs process per file. I don't know if something like that currently exists, if you want to check set _COMPILE_=slint2

Re: [O] [GSoC] Org-sync v0.2

2012-08-13 Thread Christopher Allan Webber
Aurélien Aptel writes: On Sun, Aug 12, 2012 at 7:34 PM, Christopher Allan Webber cweb...@dustycloud.org wrote: This is *very* exciting. I'm definitely interested in using this for MediaGoblin if I can. Thanks. I've just looked at MediaGoblin but I don't think it fits what Org-sync was

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Bastien
I tried _COMPILE_ = single and I tried ~$ emacs -batch -Q --eval (byte-compile-file \~/install/git/org-mode/lisp/ob.el\) I get warnings in the second case, not in the first case. Is there anything that _COMPILE_=single loads/expands on top of a bare Emacs when compiling using one Emacs

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: But we certainly shouldn't (and currently aren't?) inhibit the display of any warnings when the default make is run. I was surprised to run make compile-source and see additional warnings which weren't shown during regular make.

Re: [O] Tangling is broken in git master

2012-08-13 Thread Eric Schulte
Bastien b...@gnu.org writes: Bernt Hansen be...@norang.ca writes: That doesn't work. There's a missing ) at the end of the defalias and after I add that I get Er, sorry for the typo. I've reverted this commit for now, I'll see if I can get rid of cl-labels another way. I've just

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Bastien
Let's summarize. It is no a matter of exposing the user to the warnings or not. It is a matter of exposing the user to the warnings that might be useful to him -- i.e. the ones he might want to report to the list just to let the developers know, or in the context of a bug hunt. The warnings

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: I've just pushed up another version of this commit, which I believe removes cl-labels while still preserving tangling behavior. If you have a chance please re-check tangling with the latest Org-mode. `letrec' is not available on Emacs 24.1

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Achim Gratz
Bastien bzg at gnu.org writes: ~$ emacs -batch -Q --eval (byte-compile-file \~/install/git/org-mode/lisp/ob.el\) I get warnings in the second case, not in the first case. You should, because the command line you use does not set up the load-path correctly. The requires will now use the

Re: [O] Tangling is broken in git master

2012-08-13 Thread Eric Schulte
Bastien b...@gnu.org writes: Hi Eric, Eric Schulte eric.schu...@gmx.com writes: I've just pushed up another version of this commit, which I believe removes cl-labels while still preserving tangling behavior. If you have a chance please re-check tangling with the latest Org-mode.

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: I'm surprised that elisp doesn't provide any mechanism for local anonymous functions. (let ((my-local-func (lambda (a) (message a (funcall my-local-func Hello!)) is fine. It's just for recursive local function -- letrec provides

Re: [O] Tangling is broken in git master

2012-08-13 Thread Nick Dokos
Eric Schulte eric.schu...@gmx.com wrote: Bastien b...@gnu.org writes: Hi Eric, Eric Schulte eric.schu...@gmx.com writes: I've just pushed up another version of this commit, which I believe removes cl-labels while still preserving tangling behavior. If you have a chance please

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Bastien
Achim Gratz strom...@nexgo.de writes: Bastien bzg at gnu.org writes: ~$ emacs -batch -Q --eval (byte-compile-file \~/install/git/org-mode/lisp/ob.el\) I get warnings in the second case, not in the first case. You should, because the command line you use does not set up the load-path

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Can't the definition of letrec in emacs24 be lifted bodily into org-compat.el (or whatever the correct place is) as a compatibility-with-emacs-23 macro? I don't think it's worth the effort. The current code works and compiles without warnings

Re: [O] Tangling is broken in git master

2012-08-13 Thread Nicolas Goaziou
Hello, Bastien b...@gnu.org writes: Eric Schulte eric.schu...@gmx.com writes: I'm surprised that elisp doesn't provide any mechanism for local anonymous functions. (let ((my-local-func (lambda (a) (message a (funcall my-local-func Hello!)) is fine. It's just for recursive

Re: [O] Tangling is broken in git master

2012-08-13 Thread Nick Dokos
Bastien b...@gnu.org wrote: Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Can't the definition of letrec in emacs24 be lifted bodily into org-compat.el (or whatever the correct place is) as a compatibility-with-emacs-23 macro? I don't think it's worth the effort. The

[O] Capturing to a list in a dynamic 2nd level heading

2012-08-13 Thread Simon Brown
Hi all, Is it possible with org-capture to create a template that would create the following: * Log ** 2012 - Week 33 - One liner of interest - Another one liner of interest So that is a capture template that generates the 2nd level heading when required and the text entered is converted to a

Re: [O] Capturing to a list in a dynamic 2nd level heading

2012-08-13 Thread Christopher J. White
Hi Simon, I have a capture template that does almost exactly that, I just use a user entered subheading -- should be easy enough to tweak for your task. When chosen as a capture option, it asks for a discussion context and looks up a 2nd level heading below Discussion Items matching that

[O] Emacs shell-script to tangle org-babel at the command line.

2012-08-13 Thread Matthew Oesting
I recently wrote what I thought to be a very simply she'll script to tangle a file; simply call the script on a file, e.g. 'tangle corgi.org' and a file, 'corgi.rb' (assuming one uses Ruby) appears in the local directory. Tangling the file from within Emacs works normally. Tangling from this

Re: [O] Using org-mode as day planner

2012-08-13 Thread Martin Pohlack
On 12.08.2012 17:48, John Hendy wrote: On Sat, Aug 11, 2012 at 4:34 AM, Bastien b...@gnu.org wrote: Hi John, John Hendy jw.he...@gmail.com writes: Date trees are the obvious way to be able to do this, but they don't have any of the neat search functionality that I know of. Can you

Re: [O] Using org-mode as day planner

2012-08-13 Thread Jambunathan K
I am wondering why people aren't using org-element.el to extract intelligence from org buffers. We seem to be living in 2011s. It is already 2012. --

Re: [O] Using org-mode as day planner

2012-08-13 Thread Bastien
Jambunathan K kjambunat...@gmail.com writes: I am wondering why people aren't using org-element.el to extract intelligence from org buffers. We seem to be living in 2011s. It is already 2012. org-element.el is not yet part of a release. It is only available from the git repository. The

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Achim Gratz
Bastien writes: Do you get them with make ~$ make _COMPILE_=single Not now, but I've seen them before. I think this is one of those cases where an indirect require provides a dependency. How do you set up the load-path The current directory (which is lisp) is prepended to the load-path,

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: I'd suggest that that can be a source of bugs that would be avoided with a compatibility macro. `org-labels' is an alias for `cl-labels' (when available) or `labels'. There is no need for a compatibility macro here, as the current code is

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: You can have recursive local functions: #+begin_src emacs-lisp (let* (len ; For byte compiler. (len (lambda (l) (if (not l) 0 (1+ (funcall len (cdr l))) (funcall len '(1 2 3)))

Re: [O] Emacs shell-script to tangle org-babel at the command line.

2012-08-13 Thread Andrew Young
Hi Matthew, On Mon, Aug 13, 2012 at 2:15 PM, Matthew Oesting oesti...@me.com wrote: I recently wrote what I thought to be a very simply she'll script to tangle a file; simply call the script on a file, e.g. 'tangle corgi.org' and a file, 'corgi.rb' (assuming one uses Ruby) appears in the

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Achim Gratz
Bastien writes: However, I would suggest these changes to the current default.mk: These changes do not belong into default.mk — default.mk is the fallback for when no changes to local.mk have been made. - Have a target `make single' (useful for developers) - `make elint' would run the

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Achim Gratz
Eric Schulte writes: I don't find the strings single compile, compile-source or elint anywhere in the Org documentation. Perhaps there is different documentation for the Makefile? Yes, as mentioned several times in this thread: http://orgmode.org/worg/dev/org-build-system.html I'll add that

[O] Exporting inline code sections

2012-08-13 Thread Ken Williams
Hi, I noticed that exporting a document to HTML when exports is set to both gives an error. Here's an example document: - #+TITLE: Example Doc #+PROPERTY: exports both The result is src_R{3+4} =[1] 7=. - The stack trace looks like this:

Re: [O] [OT] ELNODE is soon to be released as version 1.0

2012-08-13 Thread joakim
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hello Brian, brian powell wrote: * Some people have expressed interest in Elnode in the past: ELNODE is soon to be released as version 1.0 ** Video mentions Emacs OrgMode (and includes an example) and Node.js:

Re: [O] Exporting inline code sections

2012-08-13 Thread Ken Williams
-Original Message- From: Ken Williams Sent: Monday, August 13, 2012 3:37 PM I'm still at version 7.8.03, apologies if this has been addressed in a later version already. FWIW, I just downloaded 7.8.11 and confirmed that the problem still exists there. I wonder if the inline-code

[O] table: referencing row of other table

2012-08-13 Thread Karl Voit
Hi! I want to use the column average of the first table to fill the column h1 in the second one. #+TBLNAME: 2012-08-12vkmeasure | tags/item |m1 |m2 |m3 | average | |---+---+---+---+-| | 4 | 0.02 | 0.03 | 0.02 |0.02 | | 5 | 0.06 |

Re: [O] Exporting inline code sections

2012-08-13 Thread Bastien
Hi Ken, Ken Williams ken.willi...@windlogics.com writes: FWIW, I just downloaded 7.8.11 and confirmed that the problem still exists there. Now fixed in git, thanks. I wonder if the inline-code code could use a little love in general. Another thing that would be nice to accomplish with it

Re: [O] [OT] ELNODE is soon to be released as version 1.0

2012-08-13 Thread Bastien
joa...@verona.se writes: I intend to use elnode for my own future personal org based website. Don't forget to send us the link when it's done, I'd love to see this. Thanks! -- Bastien

Re: [O] Emacs shell-script to tangle org-babel at the command line.

2012-08-13 Thread Matthew Oesting
You've hit upon it exactly; this solution works perfectly. Thank you, Andrew! This little tidbit, a few lines at the header, and a slightly different script now make my tangled Orgmode files executable at the command line. Ah, the joys of literate code. - M This message was sent from my

Re: [O] Exporting inline code sections

2012-08-13 Thread Ken Williams
-Original Message- From: Bastien Guerry [mailto:bastiengue...@googlemail.com] Sent: Monday, August 13, 2012 4:56 PM Now fixed in git, thanks. Such service! =) Yes. Patch welcome! I'll have a shot at it. I'm very bad at elisp though. The other thing I just noticed was that

[O] Semantics, Tagging, File systems, Tools, tagstore (was: [Orgmode] Re: contact management in org-mode?)

2012-08-13 Thread Karl Voit
* Russell Adams rlad...@adamsinfoserv.com wrote: On the semantic note, I found a utility called tmsu recently (http://tmsu.org/) which allows semantic tagging of files. There was a cool looking filesystem called Tagsistant too, but it unfortunately appears abandoned. I was doing research for

Re: [O] table: referencing row of other table

2012-08-13 Thread Nick Dokos
Karl Voit devn...@karl-voit.at wrote: Hi! I want to use the column average of the first table to fill the column h1 in the second one. #+TBLNAME: 2012-08-12vkmeasure | tags/item |m1 |m2 |m3 | average | |---+---+---+---+-| | 4 | 0.02 |

[O] [ANN] Editable HTML export of Org-mode files

2012-08-13 Thread Eric Schulte
Hi, I've recently put together a web server which runs in Emacs and exports local Org-mode files to HTML in such a way that they may be edited from within a web browser with the edits saved to local files on disk. The code is available from github. repository

Re: [O] [OT] ELNODE is soon to be released as version 1.0

2012-08-13 Thread Eric Schulte
brian powell briangpowel...@gmail.com writes: * Some people have expressed interest in Elnode in the past: ELNODE is soon to be released as version 1.0 ** Video mentions Emacs OrgMode (and includes an example) and Node.js: http://www.youtube.com/embed/TR7DPvEi7Jg ** Elnode - the EmacsLisp

Re: [O] table: referencing row of other table

2012-08-13 Thread Karl Voit
* Nick Dokos nicholas.do...@hp.com wrote: Karl Voit devn...@karl-voit.at wrote: I want to use the column average of the first table to fill the column h1 in the second one. #+TBLFM: $2 = remote(2012-08-12vkmeasure, @@#$5) Thanks! ... and now I also found the corresponding documentation

Re: [O] Org Build System (aka Makefile)

2012-08-13 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Bastien writes: However, I would suggest these changes to the current default.mk: These changes do not belong into default.mk — default.mk is the fallback for when no changes to local.mk have been made. - Have a target `make single' (useful for

[O] [GSoC] Org Merge Driver Update

2012-08-13 Thread Andrew Young
Hello Everyone, I've been working on a merge driver for org-mode documents over the summer as a Google Summer of Code project. I just wanted to show everyone some progress on the merge driver. There are some new examples you can see at the project page [1][2], and instructions on how to build

Re: [O] Exporting inline code sections

2012-08-13 Thread Nick Dokos
Ken Williams ken.willi...@windlogics.com wrote: The other thing I just noticed was that every time I edit a table.el table with C-c ', two more spaces get inserted to the left of the table when it's reinserted into the org buffer. I tried to find where in the code that's happening (probably

Re: [O] [PATCH 07/10] org-taskjuggler: make project umbrella task optional

2012-08-13 Thread Christian Egli
Yann Hodique yann.hodi...@gmail.com writes: Christian == Christian Egli christian.e...@sbs.ch writes: I'm trying to understand the use case here. If I understand correctly the container headline will no longer unconditionally generate a root task. So you could have multiple root tasks? Does