[Orgmode] TAB character in source code blocks

2010-09-09 Thread Erik Iverson
Hello, I'm using org source blocks to write a Makefile. #+begin_src makefile :tangle Makefile target: dependencies command #+end_src At least in GNU make, commands must start with a TAB. However, after I close the code edit buffer with C-c ', the resulting whitespace in the org-mode bu

Re: [Orgmode] Re: Org now fontifies code blocks

2010-09-08 Thread Erik Iverson
Sébastien Vauban wrote: Hi Bastien and Dan, Bastien wrote: Dan Davison writes: (We badly need a customize group for these org-src but non-babel variables[1]. That suggests to me subsuming the "Babel" group (Should be "Org Babel" for consistency?) within a new group, perhaps "Org Code" or "

Re: [Orgmode] org-babel and gnuplot

2010-09-07 Thread Erik Iverson
On 09/07/2010 10:12 PM, Nick Parker wrote: Hi John, I would actually like to plot different lines per distance, each that correlate to a date and elapsed-time (x and y axis respectively). I get an error with the :file notation, though I read that in a sample babel gnuplot example for generatin

Re: [Orgmode] Why :ID: properties?

2010-09-07 Thread Erik Iverson
Did you recently start using MobileOrg? I think it uses them (by default) to keep track of headlines. See the MobileOrg part of the manual on how to turn them off if that is indeed the issue. On 09/07/2010 09:10 AM, Rainer M Krug wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi suddenl

Re: [Orgmode] Re: Org now fontifies code blocks

2010-09-06 Thread Erik Iverson
On 09/06/2010 11:59 AM, Richard Riley wrote: Eric S Fraga writes: On Thu, 02 Sep 2010 08:51:16 -0700, Dan Davison wrote: I've just pushed changes which mean that Org now fontifies code in code blocks. Currently, this is turned on by default, so it would be helpful if people could report any

Re: [Orgmode] A few stats and figures about org/worg and the mailing list

2010-09-05 Thread Erik Iverson
On 09/05/2010 05:52 PM, Sebastian Rose wrote: Bastien writes: http://orgmode.org/worg/org-worg-stats.php http://orgmode.org/worg/org-mailing-list.php#sec-3 Thanks to Eric Schulte for write the babel file which produced the commits stats (I'll update this graph from time to time.) This is so

Re: [Orgmode] Comments in tangled source

2010-09-03 Thread Erik Iverson
On 09/03/2010 10:54 PM, aditya siram wrote: Hi all, I have a heading like this : * Root Comments about root. #+begin_src haskell :noweb yes :comments yes :tangle Main.hs main = print "hello world" #+end_src When I tangle the file, I would expect the "Comments about root" to be a comment above

Re: [Orgmode] horiontal alignment of tables in latex export?

2010-09-03 Thread Erik Iverson
See org-export-latex-tables-centered: (defcustom org-export-latex-tables-centered t "When non-nil, tables are exported in a center environment." :group 'org-export-latex :type 'boolean) Matt Price wrote: Are tables always aligned in the center of the page when exported to latex? I have a

Re: [Orgmode] horiontal alignment of tables in latex export?

2010-09-03 Thread Erik Iverson
Matt Price wrote: Are tables always aligned in the center of the page when exported to latex? I have a simple table that I want to put on the left hand side of the page instead. The html output is just what I want, but the pdf generated via latex puts the table in the (horizontal) center of

Re: [Orgmode] Re: [BABEL] [PROPOSAL] Seemless editing of Babel Blocks

2010-09-02 Thread Erik Iverson
If you really want to use language major mode commands without leaving the Org buffer, I suggest investigating Lennart Borgman's nxhtml package[1]. This features a function `org-mumamo-mode' which automatically switches Org code blocks into native major modes. I have encountered one bug whch ma

Re: [Orgmode] Org now fontifies code blocks

2010-09-02 Thread Erik Iverson
Dan, Thank you to David and yourself for this great feature. I have absolutely no opinion about the default on/off, except to say it looks great on. Is your TAB key patch[1] in master yet? http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28640.html Dan Davison wrote: I've just pushed ch

Re: [Orgmode] [babel] silent code block evaluation on export

2010-09-01 Thread Erik Iverson
On 09/01/2010 08:37 PM, Eric Schulte wrote: "Eric Schulte" writes: Hi Erik, I believe that when a session is specified then all code blocks will be evaluated but their results will not be included in the exported output. To clarify the above, if a code block has a :session header argument

Re: [Orgmode] Ditaa and babel goofing again?

2010-09-01 Thread Erik Iverson
I see the following in my *Messages* buffer after running. executing Ditaa code block... java -jar /home/fileserv/tacc/eriki/emacs/lisp/org-mode/contrib/scripts/ditaa.jar /tmp/babel-31845pim/ditaa-318455Fo example.png DiTAA version 0.8, Copyright (C) 2004--2009 Efstathios Sideris Running w

Re: [Orgmode] org-edit-src-code : same window?

2010-09-01 Thread Erik Iverson
See the org-src-window-setup variable. I think you want it set to current-window. Richard Riley wrote: Is there a way to configure emacs/org so that C-c ' which calls org-edit-src-code for me opens the source in the same window rather than splitting the window and continuing to show the then r

Re: [Orgmode] Re: [BUG] some nasty bugs with PROPERTIES drawers

2010-08-31 Thread Erik Iverson
Paul Sexton wrote: David Maus ictsoc.de> writes: I cannot reproduce this wiht Org-mode version 7.01trans (pulled yesterday) on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-08-14 on raven, modified by Debian There is a documentation file, README.org, that accompanies org

[Orgmode] [babel] silent code block evaluation on export

2010-08-31 Thread Erik Iverson
Hello! I have pasted an org-mode file with my question, it's easies to explain by copying the below file and exporting it to HTML. Thanks, --Erik * Silent code block evaluation on export. The goal is to /run/ a code block on expor

Re: [Orgmode] a bit offtopic, fonts in exported PDF documents - oops

2010-08-30 Thread Erik Iverson
Nick Dokos wrote: Carsten Dominik wrote: Hi, I have not followed this thread closely, so if the discussion ends in something we should change in Org, please write to me and let me know explicitly. Thanks! Erik Iverson might have a different take but my take is that there is no major

Re: [Orgmode] Re: [PATCH] Latest git pull has bug in (org-babel-remove-temporary-directory)

2010-08-27 Thread Erik Iverson
Hello, It looks like the delete-directory bug was fixed, but on emacs 23.2 at least, (delete-file) only takes one argument, so org-babel-remove-temporary-directory is still throwing an error in my case, since we have: (delete-file file nil) --Erik Detlef Steuer wrote: Hi Eric,

Re: [Orgmode] Re: a bit offtopic, fonts in exported PDF documents

2010-08-26 Thread Erik Iverson
Markus Heller wrote: Erik Iverson writes: John, Thank you for your reply. For those that don't want to read all that follows, please note my conclusion, given here: Since orgmode is automatically telling latex to use T1 encoding, perhaps we should somewhere document to the user that

Re: [Orgmode] Bug: export aborts if ':eval query/never' in source code blocks

2010-08-26 Thread Erik Iverson
Eric, As a follow-up on a related issue: What if I want to eval a code block for some side-effect, but *not* include code or results in export. This assumes I'm using :session. Is there a way to currently do that? Setting :exports none seems to block evaluating of the code, can the :eval argum

Re: [Orgmode] a bit offtopic, fonts in exported PDF documents - oops

2010-08-26 Thread Erik Iverson
Alan L Tyree wrote: On Thu, 26 Aug 2010 12:34:08 -0500 Erik Iverson wrote: Hello, I'm wondering if anyone can 1) reproduce what I'm seeing 2) help in understanding what's going on. If I export an Org file to LaTeX, the resulting .tex file contains the following in its he

Re: [Orgmode] a bit offtopic, fonts in exported PDF documents

2010-08-26 Thread Erik Iverson
Alan, Hi Erik, I'm on Debian Squeeze, and I don't seem to have this problem. The fonts reported in the Properties are LMRoman and they look ok in Evince. I have all the latex extras installed. If you've seen my recent follow-up, that makes sense to me. So you are somehow getting LMRoman as y

Re: [Orgmode] a bit offtopic, fonts in exported PDF documents

2010-08-26 Thread Erik Iverson
ckage manager, it might pay to do a "texlive-full" type install, instead of just doing the bits and pieces of latex packages as I've been doing! Unfortunately, I think with at least Ubuntu, that's not the default, so many users may be having the same issue as I am, without even re

Re: [Orgmode] Bug: export aborts if ':eval query/never' in source code blocks

2010-08-26 Thread Erik Iverson
Which version of org-mode? I can't replicate on git version from minutes ago.. Paul Sexton wrote: #+BEGIN_SRC R :eval query ... #+END_SRC If the above is in an org file, the user runs an export (C-c C-e), and the user types 'no' when asked whether to evaluate the code block, then the whole expo

[Orgmode] a bit offtopic, fonts in exported PDF documents

2010-08-26 Thread Erik Iverson
Hello, I'm wondering if anyone can 1) reproduce what I'm seeing 2) help in understanding what's going on. If I export an Org file to LaTeX, the resulting .tex file contains the following in its header: \usepackage[T1]{fontenc} \usepackage{t1enc} Long story short: The resulting .PDF file from

Re: [Orgmode] mathjax HTML export question

2010-08-24 Thread Erik Iverson
Jan Böcker wrote: On 08/23/2010 08:12 PM, Erik Iverson wrote: Is there something that I'm missing, or that could be "better" with a local installation of MathJax? I don't know what "reverts to image fonts in Firefox" means, but whatever is happening on my e

Re: [Orgmode] [babel] "No org-babel-execute function for R!" after update

2010-08-24 Thread Erik Iverson
On 08/24/2010 09:06 AM, Graham Smith wrote: Erik You need to setup the variable org-babel-do-load-languages as in the following: http://orgmode.org/org.html#Languages So I see, this has obviously changed as it was working without this before. BUT all working now, so thanks. Great, see http

Re: [Orgmode] [babel] "No org-babel-execute function for R!" after update

2010-08-24 Thread Erik Iverson
Graham, You need to setup the variable org-babel-do-load-languages as in the following: http://orgmode.org/org.html#Languages On 08/24/2010 03:24 AM, Graham Smith wrote: I have been away from emacs/org/babel for a coupe of months and I have just updated the Emacs starter kit for orgmode (htt

Re: [Orgmode] file+olp problem in org-capture.

2010-08-24 Thread Erik Iverson
Tim, I ran into the exact same issue yesterday, in fact, our examples are almost identical! Here is the reply I received from David. http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29029.html I didn't tried his solution yet, but it should work. On 08/24/2010 03:16 AM, Tim O'Callaghan wro

Re: [Orgmode] How to customize the org-mode's BEGIN_SRC HTML output

2010-08-23 Thread Erik Iverson
Hello Will, I assume you don't want the htmlize.el functionality, which syntax highlights the source code according to how you have it in Emacs? The way I ultimately ended up doing something similar was to post-process the html file generated by the export process, (there is probably a hook so y

[Orgmode] mathjax HTML export question

2010-08-23 Thread Erik Iverson
Hello, I'm really enjoying MathJax HTML export in the development version of org-mode! I do have one question though: Jan Böcker writes in this post, http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28630.html , that: "I found that when an HTML file on the local hard disk uses MathJax from

Re: [Orgmode] org-capture templates with file+olp target

2010-08-22 Thread Erik Iverson
Below is the simplest example I could come up with, just create a ~/test.org file and try it out. Oops, /tmp/test.org I suppose. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gn

[Orgmode] org-capture templates with file+olp target

2010-08-22 Thread Erik Iverson
Hello, Using latest org-mode from git. I'm trying to set up a simple org-capture template, to write to a file test.org. The first two lines below simply define a path to some org mode file. My confusion with the template is when I invoke org-capture -- I have it set to C-c c --, and then hit `

[Orgmode] [PATCH] [babel] R :session should respect ess-ask-for-ess-directory set by user

2010-08-21 Thread Erik Iverson
Hello, I have (setq ess-ask-for-ess-directory nil) in my .emacs. I.e., I don't want to be asked to set my working directory. As it stands, if we run an R code block with the :session argument and no :dir argument, ess-ask-for-ess-directory gets set to t. I would prefer if I had it previously s

[Orgmode] Re: Babel: interweaving code and results?

2010-08-18 Thread Erik Iverson
Dan Davison wrote: Erik Iverson writes: David, On 08/18/2010 08:09 AM, David Hajage wrote: Hello, I am back with babel and R with a new question. Is it possible to interweave each line of code with its results? An example to explain what I mean: #+SRCNAME: foo #+BEGIN_SRC R :results

Re: [Orgmode] Babel: interweaving code and results?

2010-08-18 Thread Erik Iverson
David, On 08/18/2010 08:09 AM, David Hajage wrote: Hello, I am back with babel and R with a new question. Is it possible to interweave each line of code with its results? An example to explain what I mean: #+SRCNAME: foo #+BEGIN_SRC R :results output :exports results 2+2 3+3 #+END_SRC

Re: [Orgmode] Git pull breaks agenda?

2010-08-16 Thread Erik Iverson
Yes, I notice this too. From the *Messages* buffer, Preparing diary...done if: Wrong type argument: listp, #(" 8:00.. 10:00.. work: 11:00.. Monthly meeting 12:00.. 1

Re: [Orgmode] [Patch] Org-fontify

2010-08-13 Thread Erik Iverson
Hello! Having not tried this out, are the aims different than David O'Toole's mode-specific fontification of org-mode source blocks? http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28160.html See a picture of what he's done here: http://imagebin.ca/view/iRVK_as7.html Sébastien Vauban w

Re: [Orgmode] [Org-Babel] and R... non-numeric cells

2010-08-12 Thread Erik Iverson
Which version of org-mode are you using? I do not see what you claim to see. What do you get when you run the following: #+TBLNAME: mytbl |column1|column2| ||---| | 45 |34 | | 77 |56 | #+BEGIN_SRC R :var tbl=mytbl :results output str(tbl)

Re: [Orgmode] [Org-Babel] and R... non-numeric cells

2010-08-12 Thread Erik Iverson
Hello, I'm *guessing* that this is more likely an issue of R than of org-mode. Have you tried tangling the code and simply running the scripts through R? Essentially, the as.matrix function call is returning a character matrix, which could mean your object 'alldata' has some factors instead of

Re: [Orgmode] [babel] confusion about org-confirm-babel-evaluate

2010-08-12 Thread Erik Iverson
Eric S Fraga wrote: On Thu, 12 Aug 2010 09:59:02 -0500, Erik Iverson wrote: Eric S Fraga wrote: On Thu, 12 Aug 2010 08:44:42 -0500, Erik Iverson wrote: Can you try setting it via setq (i.e., globally) and see what happens? On 08/12/2010 07:53 AM, Eric S Fraga wrote: Hello all, Back

Re: [Orgmode] [babel] confusion about org-confirm-babel-evaluate

2010-08-12 Thread Erik Iverson
Nick Dokos wrote: Eric S Fraga wrote: Hello all, Back from a short holiday and trying to catch up on work... and so I may have missed something in the org mailing list (although I've searched...). I have a large file which includes many babel code blocks (mostly maxima) that I wish to have

Re: [Orgmode] [babel] confusion about org-confirm-babel-evaluate

2010-08-12 Thread Erik Iverson
Eric S Fraga wrote: On Thu, 12 Aug 2010 08:44:42 -0500, Erik Iverson wrote: Can you try setting it via setq (i.e., globally) and see what happens? On 08/12/2010 07:53 AM, Eric S Fraga wrote: Hello all, Back from a short holiday and trying to catch up on work... and so I may have missed

Re: [Orgmode] [babel] confusion about org-confirm-babel-evaluate

2010-08-12 Thread Erik Iverson
Can you try setting it via setq (i.e., globally) and see what happens? On 08/12/2010 07:53 AM, Eric S Fraga wrote: Hello all, Back from a short holiday and trying to catch up on work... and so I may have missed something in the org mailing list (although I've searched...). I have a large file

Re: [Orgmode] [babel] strategies for generating multiple graphics files from same code block

2010-08-09 Thread Erik Iverson
ngle, but don't export #+begin_src R :file figure1.pdf :exports none :tangle fig1.R :noweb yes <> #+end_src Export, but don't tangle #+begin_src R :file figure1.png :exports both :noweb yes <> #+end_src This is not too bad, but maybe there's an a

[Orgmode] [babel] strategies for generating multiple graphics files from same code block

2010-08-09 Thread Erik Iverson
don't export #+begin_src R :file figure1.pdf :exports none :tangle fig1.R :noweb yes <> #+end_src Export, but don't tangle #+begin_src R :file figure1.png :exports both :noweb yes <> #+end_src This is not too bad, but maybe there's an alternative

Re: [Orgmode] Bug: inline image display not working when org-indent-mode active, follow-up

2010-08-05 Thread Erik Iverson
On 08/05/2010 03:34 AM, Martin Pohlack wrote: Hi, On 05.08.2010 04:19, Erik Iverson wrote: In the past few weeks, I found that the overlays of inline images in my org-mode files would flash quickly and then be deleted when using org-indent-mode. This also happened when re-running an org-babel

Re: [Orgmode] Bug: inline image display not working when org-indent-mode active, follow-up

2010-08-05 Thread Erik Iverson
On 08/05/2010 03:34 AM, Martin Pohlack wrote: Hi, On 05.08.2010 04:19, Erik Iverson wrote: Hello, I am using the latest org pulled from git. In the past few weeks, I found that the overlays of inline images in my org-mode files would flash quickly and then be deleted when using org-indent

[Orgmode] Bug: inline image display not working when org-indent-mode active, follow-up

2010-08-04 Thread Erik Iverson
Hello, I am using the latest org pulled from git. In the past few weeks, I found that the overlays of inline images in my org-mode files would flash quickly and then be deleted when using org-indent-mode. This also happened when re-running an org-babel source block that generates graphical ou

Re: [Orgmode] Re: [PATCH] Mode-specific fontification of babel source blocks

2010-08-03 Thread Erik Iverson
On 08/03/2010 06:14 PM, David O'Toole wrote: I've placed a screenshot of the fontification here: http://imagebin.ca/view/iRVK_as7.html Wow, great job. I once hacked something horrible together that involved several tricks to actually change the mode of the buffer when entering a source bloc

Re: [Orgmode] babel versionitis?

2010-08-03 Thread Erik Iverson
Correct, about a month ago: http://eschulte.github.com/babel-dev/DONE-document-configuration-changes-for-Babel-integration.html On 08/03/2010 05:59 AM, Rustom Mody wrote: In Bernt Hansen's Organize your life in plain text he has (require 'org-babel-init) (require 'org-babel-ditaa) (org-babel

Re: [Orgmode] Development setup (was: Org-mode release 7.01)

2010-07-19 Thread Erik Iverson
Suggestions: 1.) Could the original mail (the one including the actual patch, even if modified) be attached to the autogenerated email, please? This should be at the very bottom of the mail, because of length and priority. 2.) And how about the subject? The OP's subject is wh

Re: [Orgmode] Re: Org-mode release 7.01

2010-07-19 Thread Erik Iverson
I assumed I had to switch to the maint branch in order to get the 7.01 release. How could I have done this while staying on the master branch? Basically, as long as you're on master, you'll always have the latest and greatest, which may or may not be what you want. At certain times, inclu

Re: [Orgmode] inline image display not working when org-indent-mode active

2010-07-17 Thread Erik Iverson
On 07/17/2010 12:14 AM, Erik Iverson wrote: Hello! Just pulled the latest org-mode from git. I've upgraded to Emacs 23.2 so that org-indent-mode works properly. However, when org-indent-mode is active, it seems that inline images (C-c C-x C-v) do not work properly. They show up for a

[Orgmode] inline image display not working when org-indent-mode active

2010-07-16 Thread Erik Iverson
Hello! Just pulled the latest org-mode from git. I've upgraded to Emacs 23.2 so that org-indent-mode works properly. However, when org-indent-mode is active, it seems that inline images (C-c C-x C-v) do not work properly. They show up for a brief time (< 1 second) and then promptly return to

[Orgmode] word wrap preferences in org-mode buffers

2010-07-16 Thread Erik Iverson
Hello, As I use org-mode more and more for actually writing things, I'm wondering what your favorite Emacs word/line-wrapping mode is. Basically, I see two main ways of doing this, auto-fill-mode and visual-line-mode. Any others that you all use? If you use auto-fill-mode or visual-line-mo

Re: [Orgmode] Wiki-like creating links on the fly for org

2010-07-12 Thread Erik Iverson
Perhaps I am confused, but have you tried radio targets? http://orgmode.org/org.html#Radio-targets Marcelo de Moraes Serpa wrote: Hey all! I used to be an avid user of WikiDPad, and I loved the way it automatically (or manually, using [ ]) created links and files to these links (CamelCase) fo

Re: [Orgmode] Help: Agenda not working anymore

2010-07-12 Thread Erik Iverson
Could be related: I just pulled latest from git this morning: my agenda seems to compile, but I get in the *Messages* buffer: concat: Wrong type argument: listp, "* Letters" Backtrace follows: Debugger entered--Lisp error: (wrong-type-argument listp "* Letters") nth(0 "* Letters") (conc

Re: [Orgmode] Org-babel init

2010-07-12 Thread Erik Iverson
You need to see: http://eschulte.github.com/babel-dev/DONE-document-configuration-changes-for-Babel-integration.html Jordi Inglada wrote: Hi all, I am having the same problem as this user here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg17498.html and the contrib/lisp directory is

Re: [Orgmode] hypermedia programming with babel

2010-07-05 Thread Erik Iverson
How can I help next? Babel in general is in need of some language-specific introductory tutorials, with the goal of laying out the basic usage plenty of examples covering simple use case e.g. - author a shell script which can be tangled out to an executable - simple processing of data in tab

Re: [Orgmode] Good way to try new org-mode code?

2010-06-30 Thread Erik Iverson
Is there a way to have emacs read the org-mode source code "on the fly" without having to run make, make install, etc? Is there a way to run new code without restarting Emacs? I think M-x org-reload is what you're after. ___ Emacs-orgmode mailin

Re: [Orgmode] [babel] Evaluating all source blocks in a document?

2010-06-30 Thread Erik Iverson
Hello, On Wed, Jun 30, 2010 at 01:35:04PM +0200, Rainer M Krug wrote: > Hi > > I use Org-babel for literate programming in R, but the tangling takes quite > long. Therefore my question: as it is possible to evaluate a single code > block, is it possible to ev

Re: [Orgmode] [org-babel] Does org-babel needs some simplification?

2010-06-28 Thread Erik Iverson
Hello! Whenever I come back to org-babel, it takes me a huge amount of time to find myself back again in the syntax. Often I spend a day or two heavily reading the website and manual again to figure out how to make it working. There are so many options. tangle files, results, scripting mode,

Re: [Orgmode] Lifehacker votes on TODO list managers

2010-06-25 Thread Erik Iverson
Carsten Dominik wrote: Hi everyone, Put a comment on Lifehacker http://lifehacker.com/5572129/best-to+do-list-manager with the content VOTE: Emacs Org-mode if you want to see Org-mode in the top 5 competition about TODO managers How can this even be called a 'competition' if org-mode

Re: [Orgmode] a better way with babel

2010-06-21 Thread Erik Iverson
This does produce the figure and long/short contents BUT ALSO produces this: #+results: r-nicedata [[file:ndata.pdf]] which upon export results in a link and consequently the plot appearing both in the figure and elsewhere. This second plot is unwelcome. I believe in the latest git versi

[Orgmode] Re: simultaneous clocks?

2010-06-09 Thread Erik Iverson
Bernt Hansen wrote: Erik Iverson writes: Hello, Is there any concept of being able to run multiple, simultaneous clocks in org-mode. For example, I want one clock to track my total hours during the week at work, i.e., punch in and punch out. No. Org-mode clocking clocks a single task at

[Orgmode] simultaneous clocks?

2010-06-09 Thread Erik Iverson
Hello, Is there any concept of being able to run multiple, simultaneous clocks in org-mode. For example, I want one clock to track my total hours during the week at work, i.e., punch in and punch out. Then, while that clock is running, I would use the normal clocking functionality to keep t

[Orgmode] [babel] grid-based R graphical output with :results value

2010-06-08 Thread Erik Iverson
Hello, This is an FYI for those using org-babel-R with grid-based graphical systems. The documentation for org-babel-R says, "If a :file filename.ext header arg is provided to an R block, then graphical output from the source block is captured on disk, and the output of the source block is a

Re: [Orgmode] Re: org-babel-R export parameters

2010-06-07 Thread Erik Iverson
I personally find this useful because it allows me to use code blocks to generate results, and then when I'm content with the file I can set ":exports none" to avoid re-generating the file on every export -- while retaining the existing link keeps the file included in my export. I do see how th

Re: [Orgmode] Re: org-babel-R export parameters

2010-06-07 Thread Erik Iverson
#+begin_src R :results file :var basename="myplot" a <- 1:4 pngfile <- sprintf("%s.png", basename) pdffile <- sprintf("%s.pdf", basename) png(pngfile) plot(a) dev.off() pdf(pdffile) plot(a) dev.off() pngfile #+end_src I like this better, and I can use dev.copy

Re: [Orgmode] Re: org-babel-R export parameters

2010-06-07 Thread Erik Iverson
The idea is I want to be able to see the inline PNG image of my graph while writing, and when I export I'll point the latex exporter to the PDF. This provides a vector format for Latex, instead of a low resolution bitmap. Yes you can use PDF's as includes, and they look great because they are a

[Orgmode] [babel] writing my .Rprofile in orgmode, issue with emacsclient

2010-06-01 Thread Erik Iverson
#+results: : emacsclient: could not get terminal name ...further output... if my source block has :results output as opposed to :results value. I just don't get why my setup works with M-x R but not with org-babel-execute-src-block, there is some interaction between those two and I can

Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code

2010-05-28 Thread Erik Iverson
Thomas S. Dye wrote: Hi Erik, If the proposed functionality places comments in the source code in whatever order they appear in the org-mode file, then the result will likely frustrate literate programming efforts that rearrange code blocks on tangling. Yes, thank you for pointing that ou

Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code

2010-05-28 Thread Erik Iverson
One more idea I had was that it might be interesting to be able to maintain properties for headlines that indicate the headline/body should be included as a comment in a specific source file. The reason I say this is that even if I write my code in org-mode, and in effect comment the code using

Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code

2010-05-28 Thread Erik Iverson
## [[file:~/private/R-org-babel/test.org::*cube%20lets%20go%20to%20the][block-2]] cube <- function(x) { # a test comment x * x * x * x } ## block-2 ends here So, you mean that all three of the comments would no longer appear by default? Or you mean that only my inline function commen

Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code

2010-05-28 Thread Erik Iverson
Eric Schulte wrote: Hi, The insertion of automatically generated comments in tangled source code is now controlled by the new `org-babel-tangle-w-comments' variable. Setting this variable to non-nil will allow org-babel to insert comments for those languages with comment support. Can you bri

[Orgmode] [babel] buffer-wide settings for R graphical header arguments

2010-05-27 Thread Erik Iverson
Hello, You can specify graphical header args in source blocks for R blocks that produce graphical output, e.g.: #+BEGIN_SRC R :file output.png :width 720 You can also set buffer-wide options with the following syntax, for example, with the tangle header argument. #+PROPERTY: tangle yes H

Re: [Orgmode] [babel] possible bug in org-babel-execute-buffer?

2010-05-26 Thread Erik Iverson
Eric Schulte wrote: Hi Erik, Thanks for the report, this should now be fixed in the latest git HEAD, please let me know if the problem persists. Best -- Eric Looks good on the test file I had included in my initial report, thank you very much. When I get back to work tomorrow, I will try it

[Orgmode] [babel] possible bug in org-babel-execute-buffer?

2010-05-26 Thread Erik Iverson
Hello, I am using Emacs 23.1, orgmode pulled from git just an hour ago, but I noticed the following issue on a version pulled about a week ago, too. I don't know if it ever worked as I expect. These development versions have C-c C-v as the babel prefix keys, so if you are using a stable vers

Re: [Orgmode] Latex export bug? Odd behavior with figures...

2010-05-25 Thread Erik Iverson
### latex order ## I've inspected the generated .tex file and this shows up where expected in both picture instances: \begin{figure}[htb] \centering \includegraphics[width=12cm]{/home/jwhendy/Desktop/file[1/2].pdf} \caption{text here} \end{figure} I have generated a pdf

Re: [Orgmode] [babel] showing image of latex code results produced from an R code block

2010-05-14 Thread Erik Iverson
Solution below! Erik Iverson wrote: Hello, consider the following org-mode file: = * R returning LaTeX for display I have an R function that generates LaTeX code. I would like the resulting LaTeX to be displayed in an inline image in the org

[Orgmode] [babel] showing image of latex code results produced from an R code block

2010-05-13 Thread Erik Iverson
Hello, consider the following org-mode file: = * R returning LaTeX for display I have an R function that generates LaTeX code. I would like the resulting LaTeX to be displayed in an inline image in the org-buffer #+begin_src R lf <- function(

Re: [Orgmode] [babel] Future of Org-babel?

2010-05-06 Thread Erik Iverson
My pie-in-the-sky extension of this dream would be to have Org-babel firmly ground in some virtual machine (maybe Guile's if Emacs is ported to Guile), in such a way that the byte-code of the VM becomes the lowest common denominator of all Org-babel languages. This would allow for seamless inte

Re: [Orgmode] A shorter manual

2010-04-28 Thread Erik Iverson
Carsten Dominik wrote: Dear all, with the Org-mode manual moving toward 200 pages, I am starting to worry that people with stop in their tracks when considering Org-mode, just because of the sheer size of the manual. So I did a little experiment. I took the manual and stripped everything wh

Re: [Orgmode] Re: [Babel] Macro for begin_src?

2010-04-17 Thread Erik Iverson
I'm guessing what you really want there is (set (make-local-variable 'yas/trigger-key) [tab]) instead of > (make-variable-buffer-local 'yas/trigger-key) > (setq yas/trigger-key [tab]) Hmmm. Do you guys un-map your TAB key so that it doesn't

Re: [Orgmode] Re: [Babel] Macro for begin_src?

2010-04-16 Thread Erik Iverson
http://doc.norang.ca/org-mode.html#Yasnippets If anyone else has a different macro set up, I'm still interested in hearing your solutions. Nope, yasnippet is the way to go I think! ___ Emacs-orgmode mailing list Please use `Reply All' to send

Re: [Orgmode] [org-babel] suggestions for using tikz() graphic device with org-babel-R

2010-04-14 Thread Erik Iverson
But, back to your question. What does the R block return? - if it returns the path to a file, then you can use :results file to insert a link to that file in your org-mode buffer, or you can wrap the path to that file in an include with something like the following #+source: graph-gener

Re: [Orgmode] Turn off "pushed to kill ring and clipboard" exporting HTML

2010-04-07 Thread Erik Iverson
Dan Davison wrote: Xin Shi writes: Hello, When exporting to HTML, the default behavior is to "pushed to kill ring and clipboard". As shown in the message: HTML export done, pushed to kill ring and clipboard Are there any way to turn off this push? (setq org-export-copy-to-kill-ring nil)

Re: [Orgmode] hyperlink to IMAP email

2010-03-26 Thread Erik Iverson
I presently use thunderbird as my email client and it doesn't support this, I've looked at several other linux email clients and they do not support this either. Does anyone know of an email client that can be invoked from the command line to open up at a specific IMAP email? How do the org-m

Re: [Orgmode] [babel] multiple result outputs from function

2010-03-16 Thread Erik Iverson
Graham - Graham Smith wrote: Below is a function that I am trying to run in orgmode/babel. It seems to run OK, but instead of printing out three values, its only printing the final result. Once again, i would appreciate some help with what I am missing. Thanks, Graham #+srcname: CI_functio

Re: [Orgmode] org-babel with R, scrolling an inferior ESS process

2010-02-18 Thread Erik Iverson
Hello, Can anyone 1) replicate that you don't see the scrolling, even with the comint-scroll-to-bottom-on-output variable set to 't'? Yes, this has been on my todo list for a while! Definitely time to fix it. Great, I'd be happy to test out the code when it's ready! 2) suggest a way to

[Orgmode] org-babel with R, scrolling an inferior ESS process

2010-02-16 Thread Erik Iverson
umed comint-mode should do the right thing, so I'm not sure where the issue is! Even if this can't be changed, I think org-babel is going to be a great use to me, thank you! Best Regards, Erik Iverson ___ Emacs-orgmode mailing list Pleas

[Orgmode] changing the time of one instance of a recurring appointment

2010-02-12 Thread Erik Iverson
to 10:30. How would you handle that? Just simply change the 11:30 to 10:30 and remember to change it back next week? Add a new one-off appointment for 10:30 that day and ignore the 11:30 one on your agenda? Or is there some way to do this built into org-mode already? Thanks a l

<    1   2