Re: [Orgmode] Re: conditional export based on target

2010-11-02 Thread Juan Pechiar
On Tue, Nov 02, 2010 at 04:41:05PM -0300, Ezequiel Birman wrote: #+source: tree1_latex #+BEGIN_SRC latex :exports (if (and (boundp 'latexp) latexp) results none) \begin{tikzpicture} ... \end{tikzpicture} #+end_src I still don't know how to export the TikZ code to latex but a png or

Re: [Orgmode] novice - inline src ?

2010-11-02 Thread Juan Pechiar
On Wed, Nov 03, 2010 at 03:34:58PM +1300, Adam wrote: Am a novice, and just trying my first src emacs lisp. Can a results output be included in the middle of a line of text ? Hi, Yo can include inline code blocks thus: The date today is src_emacs-lisp{(format-time-string %a %e %b %Y )}. The

Re: [Orgmode] Sorting table columns (*not* content)

2010-11-01 Thread Juan Pechiar
If you don't mind losing h-lines, you can transpose the table, sort rows, and transpose back. This code (which I previously posted to the list) transposes a table: #+begin_src: emacs-lisp (defun org-transpose-table-at-point () Transpose orgmode table at point, eliminate hlines (interactive)

Re: [Orgmode] How to match items with tags and special todo keyword

2010-10-26 Thread Juan Pechiar
Hi Bar, You should use C-c a m, and use a search string of the form mytag+TODO=WAITING This matches for a specific TODO state (for example, WAITING). Check the corresponding manual section here: http://orgmode.org/manual/Matching-tags-and-properties.html#Matching-tags-and-properties BR

Re: [Orgmode] Table of Contents

2010-10-24 Thread Juan Pechiar
On Sun, Oct 24, 2010 at 10:58:00PM -0200, Flavio Souza wrote: I'd like to know if there is a way to change the Table of Contents title, when publishing a HTML file. The reason is that I'd like to translate Table of Contents to Portuguese automatically. Hi Flavio, Have a look at

Re: [Orgmode] conditional export based on target

2010-10-23 Thread Juan Pechiar
On Thu, Oct 07, 2010 at 01:24:28AM -0300, Ezequiel Birman wrote: Is there something like conditional export? I'd like to use tikz when exporting to latex but my own hand-made ascii drawing when exporting to ascii/latin1/utf8. Hi, I've been thinking on your request, and today this appeared on

Re: [Orgmode] Wanted: org-publish-org-to-ascii

2010-10-13 Thread Juan Pechiar
On Wed, Oct 13, 2010 at 07:59:23PM +0200, Manuel Danzl wrote: I'm a happy org-mode user since a few month's and I'm using org-publish to write on some work related documentation. Now my collegues asked me to export the docs not only to html but also to plain text! Unfortunately, org-mode

Re: [Orgmode] bug? scheduled keyword inside org items.

2010-10-11 Thread Juan Pechiar
I'd imagine enclosing the email text in a #+BEGIN_EXAMPLE block would make sense (semantically) and also avoid interpretation of SCHEDULED keyword. But even using #+BEGIN_COMMENT block, timestamps and SCHEDULED are found by the agenda. A workaround for your problem can be setting those

Re: [Orgmode] Feature request

2010-10-10 Thread Juan Pechiar
On Sun, Oct 10, 2010 at 09:50:47AM -0400, David Abrahams wrote: I have to reschedule quite a few items daily. Often they're yesterday's items that I need to reschedule for today. `C-c C-s . RET' is a bit much typing for that I use S-right on the agenda buffer, which is quite easy.

Re: [Orgmode] Any equal setting of #+STARTUP: nologdone?

2010-10-08 Thread Juan Pechiar
On Fri, Oct 08, 2010 at 04:39:26PM +0800, Water Lin wrote: I am using following setting --- #+STARTUP: nologdone --- to avoid done log note while I mark one entry as DONE. But I want to set it as a global setting to avoid use it for every org file. Hi Water, The

Re: [Orgmode] Re: *.org files showing up as exec files in Snow Leopard

2010-09-23 Thread Juan
On Thu, Sep 23, 2010 at 11:56:43AM -0600, Erik L. Arneson wrote: On Thu, 23 Sep 2010, Graham Smith wrote: I'm not sure how important this is, but having just upgraded to Snow Leopard, all my *.org files are now black with a green exec in the corner and trying to open them is giving a

Re: [Orgmode] Agenda and weather forecast | language and units

2010-09-09 Thread Juan Pechiar
Hi, The google API determines the unit system (C or F) based on the language parameter (smart guys?!). Ths parameter goes after the city in the call to org-google-weather: E.g. %%(org-google-weather Montevideo,Uruguay es) This extension is magic! Regards, .j. P.S. Cannot install into

Re: [Orgmode] Agenda and weather forecast | alternative icon set

2010-09-09 Thread Juan
On Thu, Sep 09, 2010 at 08:19:17AM +0200, Julien Danjou wrote: If anybody is interested, I've wrote an small extension to put some weather forecasts in the agenda. For those not on a linux/gnome system, you can get an icon set from google. Ref: post at

Re: [Orgmode] Re: Agenda and weather forecast | multiple forecasts

2010-09-09 Thread Juan
A simple way is to use the category declaration: #+CATEGORY: Paris %%(org-google-weather Paris FR) #+CATEGORY: Caen %%(org-google-weather Caen FR) #+CATEGORY: Agenda ... other stuff Regards, .j. On Thu, Sep 09, 2010 at 12:06:22PM +, d.tchin wrote: I would like to ask one question. I would

Re: [Orgmode] questions about table mode and spreadsheets

2010-09-06 Thread Juan
A very complex way of not adding the extra column: | name | a | b | c | |--++---+---| | foo | 1 | 2 | 3 | | bar | 3 | 2 | 1 | | bar | 4 | 5 | 6 | |--++---+---| | | 7 | | | #+TBLFM: @5$2='(apply '+ (mapcar* (lambda(x y) (if (string= x bar) y 0)) '(@i$...@ii$1)

Re: [Orgmode] Ditaa and babel goofing again?

2010-09-01 Thread Juan
Had the same problem somewhere in july. I think it was after the following commit: commit 7d2dc48b2aae27a66cc9813797c14dd457c209f4 Author: Gregory J. Grubbs greg...@dynapse.com Date: Sun Jul 18 09:01:24 2010 + Quote path argument in ob-ditaa * lisp/ob-ditaa.el

Re: [Orgmode] org-table: Table Navigation esp. for multi-line cells?

2010-08-27 Thread Juan Pechiar
Hi Livin, As far as I know, orgmode does not support multi-line cells. The example table you provided contains 7 rows (+ formatting at top) plus 2 h-lines (horizontal separator). h-lines separate table sections (e.g. headings from contents). In this context, the behaviour you are reporting

Re: [Orgmode] EmacsForMacOSX - copy paste in orgmode

2010-08-18 Thread Juan
Hi, I can copy/paste with no problems between mac applications an emacs (emacsformacosx). I have to OPTION-C / V on mac apps, and C-y or M-w on Emacs. I have the same configuration as you for mac-related stuff.. Regards, .j. On Wed, Aug 18, 2010 at 12:01:18PM +0200, Erwin Panen wrote: Do you

Re: [Orgmode] need detailed instructions for submitting the patch

2010-08-09 Thread Juan
On Tue, Aug 10, 2010 at 01:59:57AM +0400, Ivanov Dmitry wrote: The http://orgmode.org/worg/org-contribute.php#sec-3 says: Git can be used to make patches and send them via email - this is perfectly fine for minor changes. These patches will be automatically registered at John Wiegley's

Re: [Orgmode] Re: [BABEL] Output with octave + [PATCH] x2

2010-08-01 Thread Juan
Hi, I'm starting to work with ob-octave and found several problems: The first, for which I have a fix (see patch below) is that octave's output was passed on as a string instead of being interpreted as a table: 8 diff --git

[Orgmode] Re: [BABEL] Octave issues

2010-08-01 Thread Juan
On Sun, Aug 01, 2010 at 06:19:30PM -0400, Dan Davison wrote: Juan pech...@computer.org writes: Thanks very much. I've applied your patch with one minor change: (format %s (or var nil)) However, is there a better way to receive an elisp nil value in octave? [] can be used for an empty

Re: [Orgmode] startup in column view

2010-07-30 Thread Juan
On Fri, Jul 30, 2010 at 05:46:22PM +0530, Puneeth wrote: Is there a way to get a file to open in Column view? You can use the startup hooks to call the column view functions you need. http://orgmode.org/worg/org-configs/org-hooks.php You probably need to call 'org-columns .j.

Re: [Orgmode] lookup functions in spreadsheet/table

2010-07-30 Thread Juan
Hi Neil, One possible solution is to have a babel block defining an elisp function for note to grade transformation, and then using that function in your table. Something like this (partly tested): #+begin_src emacs-lisp (defun grade (x) (cond ( ( x 20) C) ( ( x 50) B) ( t A) ))

Re: [Orgmode] Help installing org-mode on a MAC please?

2010-07-29 Thread Juan
On Thu, Jul 29, 2010 at 03:37:29PM +0200, Erwin Panen wrote: Now I copied over my .emacs config file from my winXP box to my Mac. Of course this is a lot different if only for the path and pathstructure. In order to have the same .emacs both in mac linux, I use the following contitionals in

Re: [Orgmode] Re: Installing/updating org on the mac woes

2010-07-22 Thread Juan
This is what I do. I use emacs 24 (downloaded from emacsformacosx.com), not aquamacs emacs. I make a local copy of Makefile with the following changes to the header: ##-- ## YOU MUST EDIT THE FOLLOWING LINES

Re: [Orgmode] Re: Installing/updating org on the mac woes

2010-07-22 Thread Juan
On Thu, Jul 22, 2010 at 02:07:47PM -0500, Marcelo de Moraes Serpa wrote: Thanks. What's the output of M-x org-version for you ? 7.01 trans. .j. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

Re: [Orgmode] Some problems with times in a spreadsheet

2010-07-21 Thread Juan
On Wed, Jul 21, 2010 at 12:33:42PM +0200, Cecil Westerhof wrote: | # | Total hours | 16@ 15' 0 | 18@ 5' 0 | | ^ | | totalTime1 | totalTime2 | |---+-++| #+TBLFM: $totalTime1=vsum(@-i...@-i); f2 :: $totalTime2=vsum(@-i...@-i); f2 First of all I

Re: [Orgmode] Re: [PATCH] org-capture with LISP function template

2010-07-19 Thread Juan
+0200, Carsten Dominik wrote: the function must be a symbol in this setup, not a string. I am rejecting this patch. On Jul 19, 2010, at 3:45 AM, Juan Pechiar wrote: Below is a patch for org-capture when the template is given by a LISP function. Problem was that the function is inside

[Orgmode] [PATCH] org-capture with LISP function template

2010-07-18 Thread Juan Pechiar
Hi Carsten + crowd, Below is a patch for org-capture when the template is given by a LISP function. Problem was that the function is inside a string (not a LISP form), so the string has to be evaluated explicitly. Now it's working for me. I use it to get a template formed by URL/title and

Re: [Orgmode] Integrate APPTs with OSX

2010-07-14 Thread Juan
On Wed, Jul 14, 2010 at 11:41:58AM -0500, Marcelo de Moraes Serpa wrote: Is there a way to integrate org-mode APPT's (emacs APPT system) to show the reminders using growl or another OSX-like GUI feature? Has anyone ever done it before? There is this post for using gnome zenity for APPT:

Re: [Orgmode] Help installing org-mode on a MAC please?

2010-07-12 Thread Juan
Hi Erwin, I'm using Mac also (not Aquamacs emacs, but EmacsForMacOSX instead). XEmacs is a completely different branch of Emacs, which I don't think is available for OSX. Then there is the text-mode emacs you run from the terminal. And then there is the emacs you installed (Aquamacs), which

Re: [Orgmode] can you require a certain template with lognotedone?

2010-07-12 Thread Juan
Michael, Have a look at org-log-note-headings customization variable, together with org-log-done and friends. All these are quite static text you can configure, so probably then do not accomplish what you ask for. Maybe a good-enough solution is to store your template as a register and then

[Orgmode] [CODE SNIPPET] transpose table at point

2010-07-08 Thread Juan
The below code snippet is an interactive function to transpose an org-mode table. Just works for normal tables (no formulas, etc.). Evaluate the code below (by throwing into .emacs, or by calling C-x C-e after the defun()), and call M-x org-transpose-table-at-point with the cursor on a table.

Re: [Orgmode] Literal examples and indentation

2010-07-04 Thread Juan
at 02:51:55PM -0300, Juan wrote: How are you 'rendering'? To HTML, PDF, ASCII? On Thu, Jul 01, 2010 at 11:51:39AM +0200, Francis Moreau wrote: When I include literate example like this: #+BEGIN_EXAMPLE Some example from a text file. #+END_EXAMPLE The example is indented with 2 spaces

Re: [Orgmode] Org-jekyll - org-publish-initialize-files-alist

2010-07-02 Thread Juan Reyero
Nathan, I've just pushed a version of org-jekyll that should solve the problem, following Sebastian's suggestions, and it's available at http://github.com/juanre/org-jekyll. Sorry it's taken me so long to respond; I am pretty much off-line lately for personal reasons. And thanks for bringing it

Re: [Orgmode] Literal examples and indentation

2010-07-01 Thread Juan
Francis, How are you 'rendering'? To HTML, PDF, ASCII? Regards, .j. On Thu, Jul 01, 2010 at 11:51:39AM +0200, Francis Moreau wrote: When I include literate example like this: #+BEGIN_EXAMPLE Some example from a text file. #+END_EXAMPLE The example is indented with 2 spaces when rendered.

[Orgmode] org-capture file+function match [PATCH] + question

2010-06-30 Thread Juan
Hi Carsten, Below is a patch for file+function matching (nth 1 instead of nth 2 when calling the match function). Question: I'm having trouble with both file+function and file+regexp capture targets. My actual capture text ends up at the end of the file (or top of file if :prepend is set),

Re: [Orgmode] Estimate ranges in column view

2010-06-30 Thread Juan
to sign (with an ugly FSF sticker for your laptop) - sign contract, mail back Then nothing happens (at least in my case). But someone at FSF should also sign the contract, and you should get some feedback. Regards, Juan Pechiar ___ Emacs-orgmode

[Orgmode] [PATCH] org-capture on file+regexp

2010-06-25 Thread Juan
Hi, Below is a patch for capturing on file+regexp (was using the file name as regexp). Regards, .j. P.S. Now I have to figure out why org-capture-place-entry inserts a new level 1 if (not target-entry-p) instead of keeping the point where it was (i.e. regexp match).

Re: [Orgmode] Sort headings by priorities (in *.org file, not in agenda)

2010-06-20 Thread Juan
On Sun, Jun 20, 2010 at 06:51:08PM +0200, Friedericksen Hope wrote: is it possible to sort headings of a specific level or headings in a region by priorities? And if yes, how can I do that? From info: `C-c ^' Sort same-level entries. When there is an active region, all entries in

Re: [Orgmode] Worldcup + time zone question

2010-06-07 Thread Juan Pechiar
Here is a quick and dirty function to update all timestamps in a buffer by N hours: 8 (defun uphours ( n ) update all timestamps n hours (interactive nAdd hours: ) (save-excursion (goto-char (point-min)) (while (re-search-forward [[] nil t)

[Orgmode] latex-export + columnview: misinterpretation of section prefixes as emphasis

2010-05-30 Thread Juan Pechiar
Hi! The test file below contains a columnview table showing section headers. Export to HTML works OK: the asterisks inside the table are transformed into indentation. Export to LaTeX: asterisk pairs are interpreted as emphasis, resulting in an incorrect renering of asterisks and bold asterisks.

[Orgmode] use of org-export-latex-verbatim-wrap

2010-05-26 Thread Juan Pechiar
Trying to adjust the style for fixed-width sections in LaTeX export (drawers in particular), I found org-latex.el defines a customizable wrapper for verbatim sections: (defcustom org-export-latex-verbatim-wrap '(\\begin{verbatim}\n . \\end{verbatim}\n) Environment to be wrapped

[Orgmode] Re: Code snippet for Message Sequence Diagram export

2010-05-23 Thread Juan
Dan, Below is the final proposal for org-babel-mscgen.el. Already sent form to ass...@gnu.org, got no answer (I assume it is OK). I remade all of the code, so almost no traces from org-babel-ditaa. On Mon, May 17, 2010 at 10:24:10PM -0300, Juan wrote: On Mon, May 17, 2010 at 07:04:14PM -0400

Re: [Orgmode] Code snippet for Message Sequence Diagram export

2010-05-17 Thread Juan
Below goes code snippet using org-babel instead of org-export. On Mon, May 17, 2010 at 09:13:29AM +0100, Eric S Fraga wrote: On Sun, 16 May 2010 17:18:39 -0300, Juan pech...@computer.org wrote: The following code adds an export block of type 'mscgen'. The block body will be processed

[Orgmode] Re: Code snippet for Message Sequence Diagram export

2010-05-17 Thread Juan
On Mon, May 17, 2010 at 07:04:14PM -0400, Dan Davison wrote: Juan pech...@computer.org writes: Below goes code snippet using org-babel instead of org-export. ... Thanks, we'd be pleased to include this in org-babel. First question is: if you haven't already, can you sign FSF copyright

[Orgmode] Code snippet for Message Sequence Diagram export

2010-05-16 Thread Juan
. ;; Author: Juan Pechiar ;; Version: 0.1 2010-05-16 ;; This is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version

[Orgmode] Re: Another blog written with org-mode with org-jekyll

2010-02-10 Thread Juan Reyero
On Wed, Feb 10, 2010 at 11:41 AM, Rick Moynihan rick.moyni...@gmail.com wrote: Hi all, I thought some of you might like to know that my blog is now up and running.  I write my posts in org-mode, and export with org-jekyll. You can find it here: http://sourcesmouth.co.uk/ This is great! I

Re: [Orgmode] Announcing org-jekyll

2010-02-02 Thread Juan Reyero
the attachments directory. Best, Juan -- http://juanreyero.com/ http://unarueda.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Re: [Orgmode] Announcing org-jekyll

2010-02-02 Thread Juan Reyero
On Tue, Feb 2, 2010 at 11:37 AM, Rick Moynihan rick.moyni...@gmail.com wrote: On 1 February 2010 19:14, Juan Reyero joa...@gmail.com wrote: On Mon, Feb 1, 2010 at 12:23 PM, Rick Moynihan rick.moyni...@gmail.com wrote: On 29 January 2010 23:16, Juan Reyero joa...@gmail.com wrote: Full

Re: [Orgmode] Announcing org-jekyll

2010-02-01 Thread Juan Reyero
On Mon, Feb 1, 2010 at 12:23 PM, Rick Moynihan rick.moyni...@gmail.com wrote: On 29 January 2010 23:16, Juan Reyero joa...@gmail.com wrote: Full description: http://juanreyero.com/open/org-jekyll/ Source code: http://github.com/juanre/org-jekyll I'm not entirely clear on how the org-publish

[Orgmode] Announcing org-jekyll

2010-01-29 Thread Juan Reyero
. It also includes some support for localization. Full description: http://juanreyero.com/open/org-jekyll/ Source code: http://github.com/juanre/org-jekyll Best regards, Juan -- http://juanreyero.com/ http://unarueda.com ___ Emacs-orgmode mailing list

[Orgmode] Setting up org-ctags and exporting ctags links

2010-01-15 Thread Juan Reyero
for this purpose. I wonder, has anybody used it to actually export HTML with ctags links? I'd like my web publishing to take advantage of the great ctags package. Best, Juan -- http://juanreyero.com/ ___ Emacs-orgmode mailing list Please use `Reply All

Re: [Orgmode] Need help exporting subtrees to html

2010-01-01 Thread Juan Reyero
On Thu, Dec 31, 2009 at 8:51 PM, Eric Schulte schulte.e...@gmail.com wrote: Juan Reyero joa...@gmail.com writes: On Thu, Dec 31, 2009 at 6:15 PM, Eric Schulte schulte.e...@gmail.com wrote: Juan Reyero joa...@gmail.com writes: On Thu, Dec 31, 2009 at 9:15 AM, Carsten Dominik carsten.domi

Re: [Orgmode] Date tree view in org files created by remember.el

2010-01-01 Thread Juan Reyero
))) Did you remember to load it? (require 'remember) (org-remember-insinuate) Best, Juan -- http://juanreyero.com/ http://unarueda.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http

Re: [Orgmode] Date tree view in org files created by remember.el

2010-01-01 Thread Juan Reyero
Hi Avinash, On Fri, Jan 1, 2010 at 6:43 PM, Avinash Kulkarni avinas...@gmail.com wrote: Hi Juan, Thank you for the reply. Yeah, I already had those 2 lines in my .emacs file - and your template setup looks just like mine. I am using the Emacs Cocoa build from www.emacsformacosx.com, and its

Re: [Orgmode] Need help exporting subtrees to html

2009-12-31 Thread Juan Reyero
On Thu, Dec 31, 2009 at 9:15 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Dec 27, 2009, at 8:31 PM, Juan Reyero wrote: On Sun, Dec 27, 2009 at 7:35 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Dec 27, 2009, at 5:34 PM, Juan Reyero wrote: I have written a function

Re: [Orgmode] Need help exporting subtrees to html

2009-12-31 Thread Juan Reyero
On Thu, Dec 31, 2009 at 6:15 PM, Eric Schulte schulte.e...@gmail.com wrote: Juan Reyero joa...@gmail.com writes: On Thu, Dec 31, 2009 at 9:15 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Dec 27, 2009, at 8:31 PM, Juan Reyero wrote: On Sun, Dec 27, 2009 at 7:35 PM, Carsten Dominik

[Orgmode] Need help exporting subtrees to html

2009-12-27 Thread Juan Reyero
is in github, http://github.com/juanre/org-jekyll). In summary, what I need is an org-export-as-html that treats the least indented outline as a 0-indentation. Best, Juan -- http://juanreyero.com/ http://unarueda.com ___ Emacs-orgmode mailing list Please

Re: [Orgmode] Need help exporting subtrees to html

2009-12-27 Thread Juan Reyero
Hi Carsten, On Sun, Dec 27, 2009 at 7:35 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Dec 27, 2009, at 5:34 PM, Juan Reyero wrote: I have written a function to export org-mode subtrees as jekyll posts, http://juanreyero.com/open/org-jekyll/  The idea is that any entry in an org

Re: [Orgmode] Org-mode tricks for team management

2009-12-04 Thread Juan Reyero
off That'd be neat... Best regards, Juan -- http://juanreyero.com/ http://unarueda.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

[Orgmode] Org-mode tricks for team management

2009-12-03 Thread Juan Reyero
agenda queries and quick tagging. I am very grateful to Carsten and all the people contributing to org-mode and this list. It's made a great positive impact in my work. Best, Juan --- http://juanreyero.com ___ Emacs-orgmode mailing list Please use

[orgmode] Solutions of blogging tools for org-mode

2009-10-20 Thread Juan Reyero
Greetings, I want to move my blogs from Wordpress to org-mode. I have found blorg, org-blog and blorgit, but the first two look like they're not being worked on (but maybe that's because they are finished), and the third one seems to be much more than what I need, as it gives you a web-based

Re: [orgmode] Solutions of blogging tools for org-mode

2009-10-20 Thread Juan Reyero
On Tue, Oct 20, 2009 at 12:23 PM, David Bremner brem...@unb.ca wrote: Juan Reyero wrote: I am looking for in a blogging engine is a way to mark entries as belonging to the blog, and generation of an RSS feed that includes them; all other things, including publishing and HTML export, are already

Re: [Orgmode] Buffer-wide definitions in org-babel

2009-10-09 Thread Juan Reyero
Hi Dan, On Thu, Oct 8, 2009 at 4:11 PM, Dan Davison davi...@stats.ox.ac.uk wrote: Juan Reyero joa...@gmail.com writes: #+begin_src python :session :results output  2 #+end_src #+resname: : 2 : 2 (expected nothing, which is what I get if I remove the :session). An understandable

Re: [Orgmode] Buffer-wide definitions in org-babel

2009-10-08 Thread Juan Reyero
Eric, Thanks a lot for your quick response. I have tried your suggestion and it does work, but it behaves in an unexpected way when I do some minor modifications. Please see below. On Wed, Oct 7, 2009 at 8:48 PM, Eric Schulte schulte.e...@gmail.com wrote: I am trying to define buffer-wide

Re: [Orgmode] Buffer-wide definitions in org-babel

2009-10-08 Thread Juan Reyero
Hi, On Wed, Oct 7, 2009 at 9:17 PM, Eric Schulte schulte.e...@gmail.com wrote: As you described below the :session environment can be used to deal with the need for required stage setting source-code blocks, however there is currently no way when directly executing a block to specify that some

[Orgmode] Buffer-wide definitions in org-babel

2009-10-07 Thread Juan Reyero
Greetings, I am trying to define buffer-wide initializations in org-babel, so that I can import a python module once and then use its exported symbols in all the code chunks throughout the buffer. Is there a way to do it? I have tried all the obvious approaches and none seems to work. (My hope

<    5   6   7   8   9   10