[O] Lieterate Programming for configuration settings

2012-03-05 Thread Vladimir Lomov
Hello, - 8 - #+TITLE: Literate Programming for configuration settings #+AUTHOR: Vladimir Lomov #+OPTIONS: toc:nil * Literate Programming I'm trying to use the Literate Programming to describe my set up of Openbox and my workflow

Re: [O] babel, executing code in background process

2012-03-05 Thread Yu
Hello! The trick would be in setting up the post-execution code block handling (namely results parsing and insertion) to run after external evaluation has completed. I don't think this is a high priority necessarily. When executing e.g. gnuplot or octave source code blocks for the sake of

Re: [O] [dev] Implement ref link types

2012-03-05 Thread Jambunathan K
On the Org side, when a link like [[something]] or [[something][text]] is encountered in a buffer, the search would go on like this: 1. Search any something or #+target: something[1]. 1. A link to an invisible target will be replaced with _nothing_ (that's the point of being

[O] Beamer export - mille grazie!

2012-03-05 Thread James Harkins
You know, I had some hiccups when getting started with Beamer export (as could be expected when learning any substantial feature of pretty much any software), but now that I've got a halfway decent workflow going with it... I LOVE IT! This is saving me tons of time already, compared to: -

Re: [O] org-mode as an accountability system?

2012-03-05 Thread Darlan Cavalcante Moreira
Also, if you have anything in your agenda that you don't want to send to him you can use tags to restrict what is shown in the agenda before you copy/export it. -- Darlan At Sun, 4 Mar 2012 14:08:40 + (UTC), Memnon Anon gegendosenflei...@googlemail.com wrote: Hi Peter, Peter Salazar

[O] what's wrong with this sbe?

2012-03-05 Thread Myles English
Hi, Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the table. #+name: workingDays #+BEGIN_SRC emacs-lisp :var hms=0 (require 'org-timer) (/ (org-timer-hms-to-secs hms) (* 60 60 8)) #+END_SRC #+call: workingDays(hms=236:30:00)

Re: [O] Export to multiple HTML files?

2012-03-05 Thread Christian Egli
Nicolas Goaziou n.goaz...@gmail.com writes: But is there such a function ready to use? I don't think so. Ready to use, no. But since you can specify your own publishing function, it should be doable. Actually if you use the mapping API[1] such a function should be fairly easy to write.

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Sebastien Vauban
Hi Myles, Myles English wrote: Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the table. #+name: workingDays #+BEGIN_SRC emacs-lisp :var hms=0 (require 'org-timer) (/ (org-timer-hms-to-secs hms) (* 60 60 8)) #+END_SRC #+call:

[O] [bug] org-agenda-write does not handle date stamps without day of week

2012-03-05 Thread Karl Voit
Hi! I verified the behavior below with the most current git version of Org-mode. Whenever I call my function to export the current agenda, it «converts» events that do have a beginning and end time to events that span the whole day (without begin and end times at all). ,[ my LISP command to

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Myles English
Thanks Seb, * TODO Fix the word wrapping in my emails :gnus: SCHEDULED: ASAP On Mon, 05 Mar 2012 15:09:49 +0100, Sebastien Vauban said: Hi Myles, Myles English wrote: Please could tell me where I am going wrong with this? I just can't get the source block to put a

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Eric Schulte
Myles English mylesengl...@gmail.com writes: Hi, Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the table. #+name: workingDays #+BEGIN_SRC emacs-lisp :var hms=0 (require 'org-timer) (/ (org-timer-hms-to-secs hms) (* 60 60 8))

[O] Including Latex Files

2012-03-05 Thread Markus Grebenstein
Dear List, I have a question regarding the #+INCLUDE markup: Using babel, I ran into trouble with latex equations and I do not have the time to sort things out (unbalance #+begin_latex...). Therefore, I decided to use auctex and latex files to edit the calculation parts of my thesis. I

Re: [O] Lieterate Programming for configuration settings

2012-03-05 Thread Eric Schulte
Hi Vladimir, [...] At first, I thought about table in org file with three columns: | Keybind | Code | Description | |-+--+-| but I don't know how to exclude second column in html export and how to generate xml code excluding the third column. See the attached

Re: [O] Is it possible to run shell script src blocks as root or to export individual blocks?

2012-03-05 Thread Eric Schulte
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Eric Schulte eric.schu...@gmx.com writes: Leo Alekseyev dnqu...@gmail.com writes: I was wondering if there was an easy way to execute some shell commands contained in a src block as root. Alternatively, is there a quick way to export

[O] Date-tree navigation question

2012-03-05 Thread Robert Horn
Is there a short simple key sequence that will take you to the last entry in a date-tree and open that headline? Slightly better would be a way to go to the last, and open the last N headlines. It could be generalized into go to end of current item and open last N items of whatever depth

[O] Problem with dates while generating HTML

2012-03-05 Thread François Pinard
Given the following header contents: --8---cut here---start-8--- * Problème date - [[file:2012-02-29.org::*Notes][2012-02-29]] - [[file:2012-02-29.org::*Notes][Du 2012-02-29]] --8---cut here---end---8--- here is how it is

Re: [O] Problem with dates while generating HTML

2012-03-05 Thread Nick Dokos
François Pinard pin...@iro.umontreal.ca wrote: Given the following header contents: * Problème date - [[file:2012-02-29.org::*Notes][2012-02-29]] - [[file:2012-02-29.org::*Notes][Du 2012-02-29]] here is how it is shown in the Web browser after publishing: I added Du as a prefix

[O] [babel] Replace results with ascii package caption

2012-03-05 Thread Thomas S. Dye
Aloha all, The code block at the bottom appends its results, rather than replacing them. Here are the header arguments: Name: test-replace-results Lang: R Header Arguments: :cache no :exportscode :hlines no :noweb yes

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Myles English
On Mon, 05 Mar 2012 17:09:48 +, Myles English said: On Mon, 05 Mar 2012 07:34:49 -0700, Eric Schulte said: Myles English mylesengl...@gmail.com writes: Hi, Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the

Re: [O] [babel] Replace results with ascii package caption

2012-03-05 Thread Eric Schulte
Would it be possible to swap the results and caption lines? e.g., this #+RESULTS: test-replace-results #+CAPTION: Test replace results | 0% | 25% | 50% | 75% | 100% | |--+--+--+--+--| | 0.02 | 0.28 | 0.49 | 0.78 | 0.98 | to this #+CAPTION: Test replace results

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Myles English
On Mon, 05 Mar 2012 07:34:49 -0700, Eric Schulte said: Myles English mylesengl...@gmail.com writes: Hi, Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the table. [etc] Hi Miles, To force the value of

Re: [O] [babel] Replace results with ascii package caption

2012-03-05 Thread Thomas S. Dye
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: Would it be possible to swap the results and caption lines? The caption lines are part of the ascii output. I think I'd have to swap them manually. e.g., this #+RESULTS: test-replace-results #+CAPTION: Test replace results | 0% | 25%

Re: [O] [babel] Replace results with ascii package caption

2012-03-05 Thread Eric Schulte
t...@tsdye.com (Thomas S. Dye) writes: Hi Eric, Eric Schulte eric.schu...@gmx.com writes: Would it be possible to swap the results and caption lines? The caption lines are part of the ascii output. I think I'd have to swap them manually. I didn't realize that this was being produced by

Re: [O] what's wrong with this sbe?

2012-03-05 Thread Eric Schulte
Myles English mylesengl...@gmail.com writes: On Mon, 05 Mar 2012 07:34:49 -0700, Eric Schulte said: Myles English mylesengl...@gmail.com writes: Hi, Please could tell me where I am going wrong with this? I just can't get the source block to put a result in the table.

Re: [O] [babel] Replace results with ascii package caption

2012-03-05 Thread Thomas S. Dye
Eric Schulte eric.schu...@gmx.com writes: t...@tsdye.com (Thomas S. Dye) writes: Hi Eric, Eric Schulte eric.schu...@gmx.com writes: Would it be possible to swap the results and caption lines? The caption lines are part of the ascii output. I think I'd have to swap them manually. I

Re: [O] Date-tree navigation question

2012-03-05 Thread Bernt Hansen
Robert Horn rjh...@alum.mit.edu writes: Is there a short simple key sequence that will take you to the last entry in a date-tree and open that headline? Slightly better would be a way to go to the last, and open the last N headlines. It could be generalized into go to end of current item

Re: [O] Participating in Google Summer of Code 2012

2012-03-05 Thread Thorsten
Eric Schulte eric.schu...@gmx.com writes: Hi Eric, Hi List, Some ideas that come to mind include; - implementing a multi-programming-language notebook like console interface build on top of Org-mode and Babel (with both Emacs and HTML interfaces) - adding support for asynchronous code

Re: [O] [Bug] Regression w/ insert into tables in overwrite-mode

2012-03-05 Thread Achim Gratz
Achim Gratz strom...@nexgo.de writes: Commit 00040e7 by David Maus has introduced a regression when inserting into org tables while overwrite mode is on. For each character inserted into a table cell, the cell (and the whole table row) gets shortened by one character. *Ping* David, are you

Re: [O] org-odt: cannot find factory styles

2012-03-05 Thread Matthew Landis
On 3/2/2012 3:38 PM, Jambunathan K wrote: If the Org is meant for a global distribution (as opposed to personal installation), the distributor has to specifically ask the users to copy the styles file todata-directory/etc/org. C-h v data-directory In your case, the data-directory is

Re: [O] Including Latex Files

2012-03-05 Thread Nicolas Goaziou
Hello, Markus Grebenstein p...@mgrebenstein.de writes: So I tried #+INCLUDE: myfile.tex latex The syntax is #+INCLUDE: myfile.tex src latex Regards, -- Nicolas Goaziou

[O] noweb documentation

2012-03-05 Thread Daimrod
Hi, it would be great if the documentation mentioned the syntax src-name(param…) because the only place it's mentioned is in the docstring of `org-babel-expand-noweb-references'. Currently, the manual mentions only the syntax src-name.

Re: [O] noweb documentation

2012-03-05 Thread Eric Schulte
Done, Daimrod daim...@gmail.com writes: Hi, it would be great if the documentation mentioned the syntax src-name(param…) because the only place it's mentioned is in the docstring of `org-babel-expand-noweb-references'. Currently, the manual mentions only the syntax src-name. -- Eric

[O] Percent justification in Beamer tables

2012-03-05 Thread François Pinard
Hi, Org people. When, in an Org table, a column is made up of numbers, each of which is immediately followed by a percent sign, table formatting within Emacs right adjusts such numbers in their column, which is nice. Moreover, if I publish such tables as HTML, numbers are right adjusted as well.

Re: [O] Percent justification in Beamer tables

2012-03-05 Thread Nick Dokos
François Pinard pin...@iro.umontreal.ca wrote: Hi, Org people. When, in an Org table, a column is made up of numbers, each of which is immediately followed by a percent sign, table formatting within Emacs right adjusts such numbers in their column, which is nice. Moreover, if I publish

[O] [BUG] LATEX_CLASS_OPTIONS not working

2012-03-05 Thread suvayu ali
Hi, I think there is a regression bug in latex export. The #+LATEX_CLASS_OPTIONS: a4paper directive is supposed to generate the following latex code: \documentclass{a4paper,article} Instead it generates: \documentclassa4paper{article} A minimal example is attached. Thanks, -- Suvayu

Re: [O] [BUG] LATEX_CLASS_OPTIONS not working

2012-03-05 Thread Nick Dokos
suvayu ali fatkasuv...@gmail.com wrote: Hi, I think there is a regression bug in latex export. The #+LATEX_CLASS_OPTIONS: a4paper directive is supposed to generate the following latex code: \documentclass{a4paper,article} Instead it generates: \documentclassa4paper{article}

Re: [O] [Bug] Formula editor (C-c ') does not parse first/last row/column specifications correctly

2012-03-05 Thread Achim Gratz
Achim Gratz strom...@nexgo.de writes: Consider the following org table [...] I've had a look in org-table.el, I pity the person who'll have to correct this... there are several stored and literal regex occurences that are interacting in various ways to produce this. I have found a few literal

[O] Push a dependent TODO item on top of a depending one

2012-03-05 Thread Alan E. Davis
It just occurred to me to try to implement a method of pushing a TODO item on top of another, in the manner of a Stack. The item on top of the stack is a task upon which performance of some other task depends. I need to call someone, so I have a task that appears on my agenda, to call him.