Re: [Orgmode] Using noweb with org-mode source

2011-01-05 Thread Christian Moe
Hi, Eric, Thanks, it's working now. I had tried ":results raw" before, and perhaps "replace" too. I had dropped them again, because it still didn't work. Why not was forehead-slappingly obvious after a good night's sleep... Hi, Phil, In addition to what Eric writes below (":results replace

Re: [Orgmode] :cache documentation patch

2011-01-05 Thread Thomas S. Dye
Hi Eric, Thanks for the detailed instructions. I'll follow this path next time. All the best, Tom On Jan 5, 2011, at 6:47 PM, Eric Schulte wrote: Hi Tom, Yes, the commit is important, this method actually shares all of your commit, including the author information and the commit message. I

Re: [Orgmode] Re: return link to :file when using #+call

2011-01-05 Thread Eric Schulte
Hi Myles, Currently I believe the best option is the solution you posted below, the file name is repeated because both the code block and the call line need to know the file name to create the file and the link respectively. Cheers -- Eric Myles English writes: > Myles English gmail.com> writ

Re: [Orgmode] Using noweb with org-mode source

2011-01-05 Thread Eric Schulte
Hi Christian, The following should remove the enclosing begin_src org blocks, and results in the org-mode exporting normally, rather than verbatim. Notice the :results header arguments on the last code block, such header arguments can be set on a file-wide basis to reduce code clutter. Best -- Er

Re: [Orgmode] :cache documentation patch

2011-01-05 Thread Eric Schulte
Hi Tom, Yes, the commit is important, this method actually shares all of your commit, including the author information and the commit message. I do this outside of magit, I tend to go to the magit buffer to make sure everything looks ok, then do M-! and type in the command line manually. I'm not

Re: [Orgmode] :cache documentation patch

2011-01-05 Thread Eric Schulte
Hi Christian, It's probably safer to stick with the worg guidelines than to follow my advice :) In the specific case of Tom's patches, I prefer the "git format-patch" approach I described because it allows Tom to write the commit message, and all I have to do is run a single command and the patch

Re: [Orgmode] [Babel] Output of multiple variables from octave source

2011-01-05 Thread Eric Schulte
Hi, I haven't used octave myself so I can't be certain, but using the =:results output= header should result in the behavior you are describing. e.g. #+srcname: test.m #+begin_src octave :results output clear variables x=5.1; y=3*x; sprintf('x=%.1f',x) sprintf('y=%.1f',y) #+end_s

Re: [Orgmode] [Babel] Finished my presentation on R using org-mode and Babel

2011-01-05 Thread Eric Schulte
Hi Bernd, I'm happy that this has worked well for you, and thanks for mentioning Org-mode in your presentation. Always happy to answer questions -- even if there is sometimes a significant time-lag in my replies. Best -- Eric Bernd Weiss writes: > Dear all, > > I appologize for this slightly

Re: [Orgmode] Re: Display of time/date ranges in the agenda

2011-01-05 Thread suvayu ali
On Wed, Jan 5, 2011 at 9:15 AM, Memnon Anon wrote: > Hi Tassilo, > > Tassilo Horn writes: > >> I have an entry >> >> ** Statustreffen (Bad Homburg) >>    <2011-01-17 Mon 12:00>--<2011-01-18 Tue 13:30> >> >> Monday     17 January 2011 W03 >>   uni:        12:00.. (1/2):  Statustreffen (Bad Hom

Re: [Orgmode] Using noweb with org-mode source

2011-01-05 Thread Phil Branigan
Thanks, Suvaya and Christian, Unfortunately, neither of these two suggestions really does what I had hoped. Using INCLUDE files will certainly allow me to reuse my text and export to different documents, but at the cost of cluttering up my directories with a bunch of files which have no other pur

Re: [Orgmode] Short title in beamer export

2011-01-05 Thread Chris Malone
Hi Tom, I didn't want to do this to start with because I didn't think LaTeX would be happy with overriding the title - it turns out it doesn't mind, so thanks for pointing that out! The problem with your suggestion is that the overriding doesn't take place (by default) until after the \maketitle

[Orgmode] Short title in beamer export

2011-01-05 Thread Chris Malone
Hi, Is there an org-mode way to use a short title for export to beamer? Some of the beamer templates (or manual setting) show the title of the talk in a footer or header, but the box-size is often too small. To counter-act this issue, the LaTeX \title command takes an optional short title, which

Re: [Orgmode] Using noweb with org-mode source

2011-01-05 Thread Christian Moe
Hi, This should get you part of the way: Use `org' as the language name, not `org-mode'. Enclose the noweb reference in another src block with noweb explicitly turned on. Reworked example follows. I can't seem to get rid of the code block around it, though, however I play with the header arg

Re: [Orgmode] Using noweb with org-mode source

2011-01-05 Thread suvayu ali
Hi Phil, On Wed, Jan 5, 2011 at 9:59 AM, Phil Branigan wrote: > In making up lecture and teaching materials, I would find it useful to be > able to use noweb references to replicate blocks of org-mode text directly, > rather than source code from latex or another language.  But org-mode isn't > o

[Orgmode] Using noweb with org-mode source

2011-01-05 Thread Phil Branigan
In making up lecture and teaching materials, I would find it useful to be able to use noweb references to replicate blocks of org-mode text directly, rather than source code from latex or another language. But org-mode isn't one of the babel-supported languages. Can anyone suggest a tricky way to

Re: [Orgmode] :cache documentation patch

2011-01-05 Thread Thomas S. Dye
Hi Eric, Will do. The earlier patch was made with magit. I used the d command, Diff working tree, then saved the output to the file I sent. If I understand correctly, the missing step was the commit. I should be able to follow a commit with the D command in magit, starting at HEAD~1 an

Re: [Orgmode] unnamed :results

2011-01-05 Thread Thomas S. Dye
Hi Eric, I went back and looked at this again. The same code block writes a named results block now, as it should. I must have put Org-mode in an unstable state earlier. Sorry for the noise. Tom On Jan 5, 2011, at 6:20 AM, Eric Schulte wrote: Hmm, I think the code has always named re

[Orgmode] Re: Executing functions remotely from agenda

2011-01-05 Thread Steve Hafner
On Wed, Jan 5, 2011 at 5:13 AM, Matt Lundin wrote: > Steve Hafner writes: > >> On Tue, Jan 4, 2011 at 9:22 PM, Matt Lundin wrote: >>> Steve Hafner writes: >>> I've written a few elisp functions to edit entries, and I would like to be able to execute them remotely from the agenda; but

Re: [Orgmode] :cache documentation patch

2011-01-05 Thread Christian Moe
Hi, Eric, Does this process produce the same output as the one described here: http://orgmode.org/worg/org-contribute.html#sec-3 Or is this a better way, and should the worg documentation be updated? I don't understand git, and depend on documentation to help me do the right thing. Yours, Ch

[Orgmode] Re: org-export: Cannot open load file: org-mode/lisp/org-latex

2011-01-05 Thread Jeff Kowalczyk
Jeff Kowalczyk yahoo.com> writes: > > I run Emacs bzr trunk (24) and Org git @de39bf. I tried pdflatex an outline > today (only ten minutes before the meeting, per coalmine-canary best practices > ;) ) and got the error: > > org-export: Cannot open load file: org-mode/lisp/org-latex This is wor

Re: [Orgmode] Reproducible Research Template

2011-01-05 Thread Andy Choens
On Wed, 2011-01-05 at 06:24 -1000, Thomas S. Dye wrote: > Most of my projects store data in a MySQL database. My projects > define queries that relate tables to one another, but the results > are > typically something that Org-mode understands---a flat table or a > single value. The repro

Re: [Orgmode] Synopsis view - moving trees around based on a synopsis

2011-01-05 Thread Cassio Koshikumo
That's a good idea. For some reason it hadn't occurred to me. I'll try to improve the code for moving the trees around when in synopsis view before posting it there. The current implementation works, but duplicates code and is a little ugly. Maybe using an advice, which is something I'm just start

[Orgmode] Re: Display of time/date ranges in the agenda

2011-01-05 Thread Memnon Anon
Hi Tassilo, Tassilo Horn writes: > I have an entry > > ** Statustreffen (Bad Homburg) ><2011-01-17 Mon 12:00>--<2011-01-18 Tue 13:30> > > Monday 17 January 2011 W03 > uni:12:00.. (1/2): Statustreffen (Bad Homburg) > Tuesday18 January 2011 > uni:12:00.. (2

Re: [Orgmode] Display of time/date ranges in the agenda

2011-01-05 Thread Michael Brand
On Wed, Jan 5, 2011 at 13:58, Tassilo Horn wrote: > --8<---cut here---start->8--- > Monday 17 January 2011 W03 > uni:12:00.. (1/2): Statustreffen (Bad Homburg) > Tuesday18 January 2011 > uni:..13:30 (2/2): Statustreffen (Bad H

Re: [Orgmode] :cache documentation patch

2011-01-05 Thread Eric Schulte
Applied, Thanks -- Eric p.s. would you mind submitting git formatted patches for these sort of updates in the future? It greatly simplifies the process of applying the patch. The process for creating a git formatted patch is as follows... 1. commit your changes to your local

Re: [Orgmode] unnamed :results

2011-01-05 Thread Eric Schulte
Hmm, I think the code has always named results blocks after the code block when the code block has a name. I would expect your "new" behavior below to have been the standard behavior since the early days of babel. Best -- Eric "Thomas S. Dye" writes: > Aloha all, > > In the course of updating

Re: [Orgmode] Documentation patch

2011-01-05 Thread Eric Schulte
Hi Tom, Thanks for this patch, it has now been applied. -- Eric "Thomas S. Dye" writes: > Aloha all, > > The attached patch documents multi-line headers for source code blocks: > > > Thomas S. Dye, Ph.D. > > T. S. Dye & Colleagues, Archaeologists, Inc. > > Phone: (808) 529-0866 Fax: (808) 529-

Re: [Orgmode] Reproducible Research Template

2011-01-05 Thread Charles C. Berry
On Tue, 4 Jan 2011, Andy Choens wrote: I am developing a reproducible research template for R. I am trying to implement most of a research "compendium" in org. I say "most" because I am going to allow the actual data to exist outside of org, simply because most of the data I work with is relatio

Re: [Orgmode] Reproducible Research Template

2011-01-05 Thread Thomas S. Dye
On Jan 4, 2011, at 9:55 AM, Andy Choens wrote: I am developing a reproducible research template for R. I am trying to implement most of a research "compendium" in org. I say "most" because I am going to allow the actual data to exist outside of org, simply because most of the data I work w

[Orgmode] Reproducible Research Template

2011-01-05 Thread Andy Choens
I am developing a reproducible research template for R. I am trying to implement most of a research "compendium" in org. I say "most" because I am going to allow the actual data to exist outside of org, simply because most of the data I work with is relational or very large, which makes storage in

[Orgmode] Re: Store link upon sending a message

2011-01-05 Thread Ulf Stegemann
Hi Bastien, Bastien wrote: > Ulf Stegemann writes: > >> (defun ulf-message-send-and-org-gnus-store-link (&optional arg) > > This is something I've been trying to achieve for very long! Great you > found a solution. A minor suggestion: the function should make sure > the buffer is not killed aft

[Orgmode] Re: Org -> OpenOffice/OpenDocumentText

2011-01-05 Thread Sébastien Gross
Jambunathan K writes: Hi, > I am not sure how to answer this question. I am inclined to ask why you > have hesitation in upgrading to the new (or the next) Org version? Actually I am using official git version of Orgmode yet. But as you pointed me to the correct link, I think I'd better use ja

[Orgmode] Export issue of URL when the text begins with a date

2011-01-05 Thread Vincent Belaïche
Hello, Here is an example org file: --- * some example [[file://localhost/c%3A/msys/1.0/temp/example.html][2011-01-01 example]] --- When I export this with `C-

[Orgmode] Display of time/date ranges in the agenda

2011-01-05 Thread Tassilo Horn
Hi all, I have an entry ** Statustreffen (Bad Homburg) <2011-01-17 Mon 12:00>--<2011-01-18 Tue 13:30> In the agenda, it shows up as: --8<---cut here---start->8--- Monday 17 January 2011 W03 uni:12:00.. (1/2): Statustreffen (Bad Homburg)

[Orgmode] Re: Executing functions remotely from agenda

2011-01-05 Thread Matt Lundin
Steve Hafner writes: > On Tue, Jan 4, 2011 at 9:22 PM, Matt Lundin wrote: >> Steve Hafner writes: >> >>> I've written a few elisp functions to edit entries, and I would like >>> to be able to execute them remotely from the agenda; but it seems no >>> hooks or other facilities exist to do so. Am

[Orgmode] Re: should the mail list be splitted resp. sub-tagged ?

2011-01-05 Thread Robert Pluim
Achim Gratz writes: > Robert Pluim writes: >> Triage is for *computers* to do, they're much better at it than humans. > > Then let your MUA strip the tag off for you and live a happier life. > >> Also, those markers in the subject are obnoxious and *really* annoying, >> and take up valuable scre

[Orgmode] Re: should the mail list be splitted resp. sub-tagged ?

2011-01-05 Thread Achim Gratz
Robert Pluim writes: > Triage is for *computers* to do, they're much better at it than humans. Then let your MUA strip the tag off for you and live a happier life. > Also, those markers in the subject are obnoxious and *really* annoying, > and take up valuable screen space. Please don't clutter

[Orgmode] Re: Introducing gnugol - an org-mode-output web search client

2011-01-05 Thread Achim Gratz
Dave Taht writes: > A fix for one of the problems reported on this list (by bart, thx!) was > to make sure that the path > > /usr/local/lib > > was in /etc/ld.so.conf or in /etc/ld.so.conf.d and to run > > sudo ldconfig > > after installing libjannson. > > I've updated the documentation to reflect

[Orgmode] Re: Navigating sparse tree results

2011-01-05 Thread Sébastien Vauban
Hi suvayu, suvayu ali wrote: > Is there any way to move to the next match after a sparse tree > command. Say I search for a regexp with the sparse tree command, how do > I to move to the next highlighted match? I was hoping something like > `next-error' or `C-s' for isearch[fn:1]. I find the idea

[Orgmode] Re: should the mail list be splitted resp. sub-tagged ?

2011-01-05 Thread Robert Pluim
Nick Dokos writes: > [Forgot to reply-all - sorry about that. Apologies to Robert for > the duplicate email.] > This is why I have Mail-Copies-To: never in my headers :) No biggie. > Robert Pluim wrote: > >> Nick Dokos writes: >> >> > Štěpán Němec wrote: >> > >> >> FWIW, I do. Having [Org]