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 wrote: > Neuwirth Erich 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 problem, so it is hard to tell. >

Re: [O] make test on OSX

2012-08-13 Thread Bastien
Hi Erich, Neuwirth Erich 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 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 with bugtrackers or anyt

[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 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 an

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 > 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, whi

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 pr

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

2012-08-13 Thread Eric Schulte
Achim Gratz 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. > > These wa

Re: [O] Tangling is broken in git master

2012-08-13 Thread Eric Schulte
Bastien writes: > Bernt Hansen 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 pushed up another ver

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 y

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Eric, Eric Schulte 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 Your commit loo

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

2012-08-13 Thread Achim Gratz
Bastien 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 stan

Re: [O] Tangling is broken in git master

2012-08-13 Thread Eric Schulte
Bastien writes: > Hi Eric, > > Eric Schulte 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

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Eric, Eric Schulte 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 it now, but appa

Re: [O] Tangling is broken in git master

2012-08-13 Thread Nick Dokos
Eric Schulte wrote: > Bastien writes: > > > Hi Eric, > > > > Eric Schulte 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 Or

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

2012-08-13 Thread Bastien
Achim Gratz writes: > Bastien 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.

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Hi Nick, Nick Dokos 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 for the user. Gett

Re: [O] Tangling is broken in git master

2012-08-13 Thread Nicolas Goaziou
Hello, Bastien writes: > Eric Schulte 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 -- l

Re: [O] Tangling is broken in git master

2012-08-13 Thread Nick Dokos
Bastien wrote: > Hi Nick, > > Nick Dokos 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 com

[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 sc

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 wrote: >> Hi John, >> >> John Hendy 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 describe the search

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 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 good news is that it

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 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 compatible with both E

Re: [O] Tangling is broken in git master

2012-08-13 Thread Bastien
Nicolas Goaziou 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))) > #+end_src Indeed

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 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 local directory.

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 cur

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 a

[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" 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: >> >> http://www.youtube.com/embed/TR7DPvE

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

[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 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 is to be able to > contro

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 iPa

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 t

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

2012-08-13 Thread Karl Voit
* Russell Adams 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 four years and I am

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

2012-08-13 Thread Nick Dokos
Karl Voit 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 | 0.03 | 0

[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 https://github.com/esc

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

2012-08-13 Thread Eric Schulte
brian powell 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 Async Webserver

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

2012-08-13 Thread Karl Voit
* Nick Dokos wrote: > Karl Voit 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 which I overlooked twice :-) --

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

2012-08-13 Thread Eric Schulte
Achim Gratz 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 developers) >> >

[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 and

Re: [O] Exporting inline code sections

2012-08-13 Thread Nick Dokos
Ken Williams 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 in org-edit-src-exit?)

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

2012-08-13 Thread Christian Egli
Yann Hodique writes: >> "Christian" == Christian Egli 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 this work in both >> versions

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

2012-08-13 Thread Achim Gratz
Eric Schulte writes: > I second the idea that a top level 'make elint' would be very useful for > developers (see the attached patch). I'll see to implement that when and if I get elint to process the Org sources without throwing bogus warnings and errors because it runs into some depth limit. Un

Re: [O] make test on OSX

2012-08-13 Thread Neuwirth Erich
I am not (yet?) fluent enough in elisp to be able to debug other people's code ;-) On Aug 13, 2012, at 9:21 AM, Bastien wrote: > Hi Erich, > > Neuwirth Erich 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