Re: [O] [babel] Producing figures from octave

2011-08-31 Thread Dan Davison
Ethan Ligon writes: > Dan Davison has a brief worg tutorial on using babel with octave at > > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-octave-matlab.html > Hi Ethan, > Amongst other things, he offers the following example block for > producing a figure: (Act

Re: [O] org-icons package

2011-08-18 Thread Dan Davison
icolas Girard (via e-mail and a google search). But > I > have not heard back from him as yet. > > When I checked the github for org-icons again I discovered that there was a > second branch by Dan Davison. > https://github.com/ngirard/org-icons/tree/dan > > Dan, > > Do

Re: [O] PATCH: New options for latex src code export

2011-06-11 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> My questions are >> >> 1. It would be nice if users didn't have to worry about step 4. Can >>anyone suggest a sensible way to have the "-shell-escape" option >>pass

Re: [O] [patch] race condition in org-babel R

2011-05-20 Thread Dan Davison
Christophe Rhodes writes: > Hi, > > A substantial fraction of times when exporting my org-babel document > (with many R session code blocks), I get "code block produced no > value". I think this is because of a race condition between > waiting for the transfer.file to exist and actually populati

[O] Re: [Babel] Handling of errors when using Ledger

2011-03-04 Thread Dan Davison
Hi Eric, Seb and any other ledger users, Is anyone using a version of ledger that does not support reading from stdin with -f - ? Thanks, Dan Eric S Fraga writes: > Dan Davison writes: > > [...] > >> Hi Eric, >> >> I've asked on the ledger list

[O] Re: [PATCH] Re: [BUG] htmlp and latexp

2011-03-01 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> Incidentally, I would suggest that org-current-export-file and >> org-current-export-dir are renamed so that they are within the >> org-export-* namespace. > > Agreed. Please provide a patch if you h

Re: [O] Let's stick to one list for now

2011-02-28 Thread Dan Davison
Julien Danjou writes: > On Mon, Feb 28 2011, Bastien wrote: > > The point is that there's no gain in telling people to add "[DEV]" since > they will forget (I will), and there is _no_ lose by splitting a list. I Hi Julien, No, I disagree with that. The two lists would have distinct compositions

[Orgmode] Re: Org Babel and R issue with pdf latex export

2011-02-27 Thread Dan Davison
Ben Ward writes: > Hi, > > I recently installed emacs, org-mode fresh on a new install of Arch > Linux. Before I had it working on Ubuntu. > > I've installed everything as before and used the same .emacs file I had, > but if I use org to write out some R script and export to pdf via latex, > then

[Orgmode] Re: Startup page

2011-02-26 Thread Dan Davison
Matthew Sauer writes: > As a relatively newer emacs and org-mode user I have found it very > interesting to see what people have in their .emacs file. This has spawned > my curiosity, what do you have for a startup page? eshell (nevertheless, I do use bash terminals outside emacs much more th

[Orgmode] [PATCH] Re: [BUG] htmlp and latexp

2011-02-22 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> I was thinking that if it were defvard in org.el, say as >> >> (defvar org-export-current-backend nil) >> >> then any code could use (null org-export-current-backend) to test >> whether org is

[Orgmode] Re: Two questions about using a =#+begin_src emacs-lisp= block

2011-02-21 Thread Dan Davison
"Eric Schulte" writes: > Chris Malone writes: > >> Hi, >> >> First off, my =org-mode= is up-to-date - just did a =git pull && make clean >> && make=. Needless to say, the following were an issue before then... >> >> * Question 1: >> Is there a way to force, upon export, an =emacs-lisp= session

[Orgmode] Re: A mail client that is org-mode compatible

2011-02-16 Thread Dan Davison
Charles Philip Chan writes: > "Eric Schulte" writes: > >> I'm also using the development version of gnus, but haven't noticed >> the searching features, could you point these out, a key binding or >> command name? > > Put the cursor on the group you want to search in the Group buffer and > hit:

[Orgmode] Re: [BUG] htmlp and latexp

2011-02-16 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> I was about to make a temporary fix but I see Bastien's just fixed >> it. Bastien -- should we give that `backend' variable a name within the >> org-* namespace (and maybe defvar it in org.el?) so

[Orgmode] Re: A mail client that is org-mode compatible

2011-02-16 Thread Dan Davison
Mohamed HIBTI writes: > Hi every one, > I would like to move to an emacs mail client that may be org-mode and MIME > compatible. Have you any idea ? gnus is an obvious candidate. It can be a bit of a steep learning curve initially. I use it to interact with two different gmail accounts via im

[Orgmode] Re: [BUG] htmlp and latexp

2011-02-16 Thread Dan Davison
Christian Moe writes: > On 2/15/11 11:23 PM, Dan Davison wrote: >> Commit ed6d6760268 removed variables htmlp and latexp from >> `org-export-preprocess-string'. Nothing wrong with that, but I think it >> has broken export for those using org-special-blocks > > Co

[Orgmode] Re: Context-sensitive word count in org mode (elisp)

2011-02-16 Thread Dan Davison
Hi Paul, Sounds useful to me. Is it appropriate to use the existing org function `org-in-regexps-block-p'? Or `org-context'? (Not speaking from any experience of using these functions I just noticed them.) Dan Christian Moe writes: > Hi, > > This would be really neat to have as a part of org-m

[Orgmode] Re: org-babel: Bugs with inline src_* blocks

2011-02-15 Thread Dan Davison
Paul Sexton writes: > Eric Schulte gmail.com> writes: >> Hi, I agree with your intuition here, but I changed the default inline >> header argument so that others would be able to use inline code blocks >> and have the results inserted. To regain the behavior you describe, >> simply adjust the v

[Orgmode] [BUG] htmlp and latexp

2011-02-15 Thread Dan Davison
Commit ed6d6760268 removed variables htmlp and latexp from `org-export-preprocess-string'. Nothing wrong with that, but I think it has broken export for those using org-special-blocks, which contains #+begin_src emacs-lisp (defvar htmlp) (defvar latexp) (defun org-special-blocks-make-special-cooki

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Dan Davison
directory. Just an idea. Dan > > Symlinking could be a possibility, like keeping everything inside > ~/org and symlink to another dirs. > > Cheers, > > Marcelo. > > On Mon, Feb 14, 2011 at 6:38 AM, Dan Davison wrote: >> Marcelo de Moraes Serpa writes:

[Orgmode] Re: Nice python listings colors, or solution to beamer + minted brokenness?

2011-02-14 Thread Dan Davison
Christopher Allan Webber writes: > Dan Davison writes: > >> Hi Christopher, >> >> I believe I have just fixed the problem with minted and beamer. Please >> pull latex org from git and restart emacs, or ^^^ Oops, I meant to write "latest" org

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Dan Davison
e symlinks where posible, so that your org files are all in one directory, and project directories contain symlinks to those org files. Dan > > Marcelo. > > On Sun, Feb 13, 2011 at 3:49 PM, Dan Davison wrote: >> Marcelo de Moraes Serpa writes: >> >>> Hi

[Orgmode] Re: Nice python listings colors, or solution to beamer + minted brokenness?

2011-02-14 Thread Dan Davison
Christopher Allan Webber writes: > Hello all, > > I currently am trying to export something vaguely like this for a > presentation in beamer: > > #+BEGIN_SRC python :exports code > class ReferenceDeskPanel(bpy.types.Panel): > bl_label = 'Reference Desk' > bl_space_type = 'VIEW_3D' > b

[Orgmode] Re: Help with Babel and using SQL

2011-02-13 Thread Dan Davison
yesare writes: > Thanks. > > I opened up ob-sql.el and read the code to see if I can figure it out. > > I think I have answered my first question. I wrote the following and hit > C-c C-c and I got the result set back. > > #+srcname: sampsql > #+begin_src sql :engine mysql :cmdline -h hostname -u

[Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Dan Davison
Marcelo de Moraes Serpa writes: > Hi list, > > Although I try to keep all my org files inside a ~/org directory, I > often find myself creating org files outside of this directory > context, for example, as a bucket for a new project I'm working on, to > keep notes, todos, etc. > > It'd be nice i

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-13 Thread Dan Davison
"Eric Schulte" writes: > [...] >>> Maybe we could extend the :var header argument to support the following >>> syntax... >>> >>> #+begin_src emacs-lisp :var A=1 B=3 >>> ;; code >>> #+end_src >>> >>> or >>> >>> ** two vars in a properties block >>>:PROPERTIES: >>>:var: test1=7 test2

[Orgmode] Re: Something like SETUPFILE, but in .emacs?

2011-02-13 Thread Dan Davison
Gary Oberbrunner writes: > On Sun, Feb 13, 2011 at 10:53 AM, Darlan Cavalcante Moreira > wrote: >> You can use auto-insert for this. > > I guess I'm really not using org-mode in the way it was intended -- > everyone thinks I should put these values into each one of my org-mode > files. Hi Gary,

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-12 Thread Dan Davison
"Eric Schulte" writes: > [...] >> >> I agree, the things I was talking about don't end up being simpler in >> terms of usage for this case. My thinking was that variable unsetting >> might be something that would be required fairly rarely, and so it might >> be worth appropriate to support it as

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-12 Thread Dan Davison
"Eric Schulte" writes: > [...] >>> It seems that what you want to do can be described as disabling >>> inheritance of the :var properties for a specific block. >> >> Agreed - that would solve my problem. >> >>> So I'm suggesting that it may be more parsimonious to do this with >>> the existing O

[Orgmode] Re: [Babel][R] buffer-wide and code block specific use of :session

2011-02-12 Thread Dan Davison
Bernd Weiss writes: > Org-mode version 7.4 (release_7.4.348.g6132) > > > Dear all, > > I am preparing a document which contains text and R code/output. In > particular, I'd like to print out a (correlation) matrix. This is my > org-mode document (I intentionally have two code blocks): > > #

[Orgmode] Re: [PATCH] Allow property retrieval before first heading?

2011-02-12 Thread Dan Davison
Dan Davison writes: > Currently (org-entry-get) throws an error if point is before the first > heading. Is there a reason that this must be so? Org is too essential > for headings to be obligatory! > > An example of when it would be useful to get properties is in a buffer > con

[Orgmode] [PATCH] Allow property retrieval before first heading?

2011-02-12 Thread Dan Davison
Currently (org-entry-get) throws an error if point is before the first heading. Is there a reason that this must be so? Org is too essential for headings to be obligatory! An example of when it would be useful to get properties is in a buffer containing src blocks but no headings (babel takes head

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
"Eric Schulte" writes: > Hi Dan, > > Many interesting suggestions, but I don't see how any of them are > simpler (either conceptually or in terms of implementation) than > defining a way to "unset" a variable previously set at a higher level of > generality. Is it the concept or the syntax of the

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
[...] >> 2. It should be possible somehow to include the options together with >>the shebang, or to replace :shebang with a more general "preamble" >>concept. Or to make :shebang accept a code block as its value. >> >> >> #+BABEL: :var A=13 >> #

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
Rainer M Krug writes: > On 02/11/2011 01:19 PM, Dan Davison wrote: >> "Eric Schulte" writes: >> >>> Rainer M Krug writes: >>> >>>> On 02/10/2011 02:27 AM, Eric Schulte wrote: >>>>> Rainer M Krug writes: >>>>>

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
"Eric Schulte" writes: > Rainer M Krug writes: > >> On 02/10/2011 02:27 AM, Eric Schulte wrote: >>> Rainer M Krug writes: >>> Hi For one project, I am usinr org to write submit scripte to a cluster runing torqu. The important bit in this is, that between the shebang and

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
Rainer M Krug writes: > On 02/11/2011 10:32 AM, Dan Davison wrote: >> Rainer M Krug writes: >> >>> On 02/10/2011 05:48 PM, Eric Schulte wrote: >>>> Rainer M Krug writes: >>>> >>>>> On 02/10/2011 02:27 AM, Eric Schulte wrote: >

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
Rainer M Krug writes: > On 02/10/2011 05:48 PM, Eric Schulte wrote: >> Rainer M Krug writes: >> >>> On 02/10/2011 02:27 AM, Eric Schulte wrote: Rainer M Krug writes: > Hi > > For one project, I am usinr org to write submit scripte to a cluster > runing torqu. The impo

[Orgmode] Re: Something like SETUPFILE, but in .emacs?

2011-02-10 Thread Dan Davison
Gary Oberbrunner writes: > First time poster on this list, but old-school Emacs user since 1982. And I > have to say, org-mode is amazing. I'm running current git master on emacs > 24.0.50.1 on Windows. > > I've put all my org-mode export template stuff into a setup file in my home > dir, and I

[Orgmode] Re: python :session and org_babel_python_eoe

2011-02-10 Thread Dan Davison
Myles English writes: > Hello, > > Is this behaviour expected?: > > #+begin_src python :session > import sys > #+end_src > > #+results: > > But in the python interpreter there is this: > > """ import sys > > > open('/home/myles/tmp/scratch/python-4938gzQ', 'w').write(str(_)) > > > 'org_babel

[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-10 Thread Dan Davison
Julien Danjou writes: > On Thu, Feb 10 2011, Dan Davison wrote: > >> Hi Julien, >> >> I'm using it (with gnus). Looks great and seems to work very nicely so >> far. >> >> One little thing: I don't seem to be getting case-insensitive >>

[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-10 Thread Dan Davison
Julien Danjou writes: > Hi, > > Following my short presentation at the Paris OrgCamp, I've now written a > page and officially released org-contacts. It is a contact manager based > on Org, that can possibly replace BBDB for certain usage. > >http://julien.danjou.info/org-contacts.html Hi Ju

[Orgmode] Re: [babel] Problem using noweb

2011-02-09 Thread Dan Davison
Eric S Fraga writes: > andy writes: > >> I want to take advantage of babel's noweb capabilities, but I can't seem >> to get it to work. [...] >> * Foo >> ** Bar >> #+src_name: bar >> #+begin_src R :noweb yes :session *R* >> <> >> print("I am here") >> a >> #+end_src >> >> * test-block >> #

[Orgmode] Re: [BABEL] Editing dot blocks with org-exp-blocks

2011-02-09 Thread Dan Davison
eady more than one entry for "dot") Dan > > Thanks, > Chris > > [1] http://orgmode.org/worg/org-contrib/babel/languages.html > [2] > http://users.skynet.be/ppareit/projects/graphviz-dot-mode/graphviz-dot-mode.html > > On Wed, Feb 9, 2011 at 10:14 AM,

[Orgmode] Re: [babel] Execute checks before trying to load Babel languages

2011-02-09 Thread Dan Davison
Hey Seb, > I am sharing my .emacs file, and this is beginning to cause problems with > people who don't have the same environment as I do. In particular with the > following: > > #+begin_src emacs-lisp > (org-babel-do-load-languages >'org-babel-load-languages >'(

[Orgmode] Re: [BABEL] Editing dot blocks with org-exp-blocks

2011-02-09 Thread Dan Davison
Eric S Fraga writes: > Chris Maier writes: > >> The begin_dot is part of org-exp-blocks, as I understand it, and >> appears required to make it evaluate the Dot code, create the image >> file, and then incorporate that into the exported document (LaTeX, >> HTML, etc.) >> >> Thanks, >> Chris >> >

[Orgmode] Re: [babel] After Tangle Change File Permission

2011-02-09 Thread Dan Davison
Ian Barton writes: > I am starting to use babel to maintain my collection of shell > scripts. I want to automate the process as much as possible, so I > would like to be able to set the execute bit on my tangled .sh scripts > after the tangle process. > > I see that there is an after-tangle hook.

[Orgmode] Re: Fontification of blocks

2011-02-09 Thread Dan Davison
>> Just quickly, one thing I noticed is that the begin/end lines were >> visible even inside folded trees. I.e., in a folded org file, containing >> many src blocks, I could see the coloured backgrounds "poking out" of >> the folded sections, extending to the right of the screen. [

[Orgmode] Re: Fontification of blocks

2011-02-08 Thread Dan Davison
Sébastien Vauban writes: > Hi Dan, > > Dan Davison wrote: >> Sébastien Vauban >> >> writes: >>> Dan Davison wrote: >>>> Just quickly, one thing I noticed is that the begin/end lines were visible >>>> even inside folded trees. I.

[Orgmode] Re: [babel] How to kill two birds with one stone?

2011-02-04 Thread Dan Davison
Hi Seb, Cool post. I hope someone has some good ideas in this thread. Some quick responses / questions below. > #+TITLE: Document a shell script as separate blocks > #+DATE: 2011-02-04 > #+LANGUAGE: en_US > > * Abstract > > When writing shell scripts, I'd like to kill *two* birds with o

[Orgmode] Re: inline code block results

2011-02-04 Thread Dan Davison
Andreas Leha writes: > Hi all, > > just found out: the inline block works when I explicitly state :results > replace. > > So both questions from the previous email collapse to: why is that > necessary? > > Regards, > Andreas > > > > Am 04.02.2011 17:13, schrieb Andreas Leha: >> Hi all, >> >> I ha

[Orgmode] Re: silent evaluation during export

2011-02-04 Thread Dan Davison
Andreas Leha writes: > Hi all, > > I have several code blocks that must be evaluated during export, but > silently, i.e. I do not want code/output/anything to appear in the export. > > How do I achieve this? The obvious :export none also disables evaluation. Hi Andreas, :exports results :resul

[Orgmode] [PATCH] make export dispatcher go away promptly

2011-02-04 Thread Dan Davison
Following on from Stephen's recent post, a thing-that-slightly-bothers-me is the way the export dispatcher window doesn't go away until export is complete. I've briefly looked at the code twice now and it wasn't obvious to me why the save-window-excursion (line 941 org-exp.el) wasn't already doing

[Orgmode] Re: Suppressing src block evaluationon publish?

2011-02-03 Thread Dan Davison
Loris Bennett writes: > Erik Iverson writes: > >> Loris Bennett wrote: >>> Hi, >>> >>> I have an org file containing several src blocks which generate images >>> using ditaa. When I publish to PDF via LaTeX, the images are all >>> generated every time, which makes publishing rather slow. >>> >>>

[Orgmode] PATCH: New options for latex src code export

2011-02-02 Thread Dan Davison
Tom Dye and I have been working on providing more user control over latex export of src code via the listings and minted latex packages. The main code change is 2 commits in branch "minted" of the org repo, and pasted below as a single patch for patchwork. These changes allow Org users to set all t

[Orgmode] Re: Fontification of blocks

2011-02-02 Thread Dan Davison
eve. > > #+TITLE: Patch for block fontification > #+DATE: 2011-02-01 > #+LANGUAGE: en_US > > * Abstract > > This is the new code that I will supply as a patch. To test it, just > evaluate the next source block, and please report any problem. > > What it does: >

[Orgmode] Re: Overlays and elisp code

2011-02-01 Thread Dan Davison
Carsten Dominik writes: > On Feb 1, 2011, at 12:22 PM, Dan Davison wrote: > >> Carsten Dominik writes: >> >>> Hi Dan, >>> >>> maybe just header in the default value to keep the echo area open for >>> error messages? >> >>

[Orgmode] Re: Overlays and elisp code

2011-02-01 Thread Dan Davison
anged. With the default as '(header), my UI change only makes sense if we believe that an appreciable number of users will disable the header message and activate the echo-area message in its place. Dan > > Cheers > > - Carsten > > On Feb 1, 2011, at 12:01 PM, Dan Davison wrot

[Orgmode] Re: Overlays and elisp code

2011-02-01 Thread Dan Davison
>> On Mon, Jan 31, 2011 at 5:04 AM, Andrea Crotti >> wrote: >>> I found a strange behaviour which might be a bug, but maybe of my >>> configuration. [...] >>> - go over an elisp code block >>> - C-c ' to edit in the overlay >>> - C-c ' to go back when done >>> >>> And it works perfectly, BUT if fo

[Orgmode] Re: Overlays and elisp code

2011-02-01 Thread Dan Davison
Jeff Horn writes: > I can reproduce this. emacs 23.1 and org 7.4 > > On Mon, Jan 31, 2011 at 5:04 AM, Andrea Crotti > wrote: >> I found a strange behaviour which might be a bug, but maybe of my >> configuration. >> >> This is org mode version: >> Org-mode version 7.4 (release_7.4.199.g8be1.dirty

Re: [Orgmode] Problems with buffer-local variables

2011-01-31 Thread Dan Davison
Carsten Dominik writes: > On Dec 22, 2010, at 3:51 PM, Dan Davison wrote: > >> There's recently been some advocacy of using buffer-local variables >> for >> Org-mode configuration. It seems like a good idea to me. However, I >> think that it raises a problem: t

[Orgmode] PATCH: org-open-at-point curation

2011-01-30 Thread Dan Davison
While fiddling with the way babel uses org-open-at-point, I noticed a coupe of things: 1. There's a bug when using the prefix arg with a text search link. E.g. try C-u C-c C-o on [[foo]] 2. The prefix arg is used in three different ways (two of them undocumented), not all of which correspond

[Orgmode] Re: Tangle subtree only?

2011-01-27 Thread Dan Davison
Rainer M Krug writes: > Hi > > my org document is structured in such a way, that each subtree is to be > tangled into a separate file, specified in a > :PROPERTIES: > :tangle: filename > :END: > drawer. > > If I change something in one subtree, I do tangle the whole file, just > because of a smal

[Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-24 Thread Dan Davison
Eric S Fraga writes: > "Eric Schulte" writes: > >> Eric S Fraga writes: > > [...] > >>> management issue: I find it difficult (a) to remember what all my source >>> code snippets are called and (b) to navigate to any given snippet. I >>> would love to see a babel table of contents popup (a la

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

2011-01-23 Thread Dan Davison
Myles English writes: > Thanks for your answer Eric. Recent changes as per > http://thread.gmane.org/gmane.emacs.orgmode/35396 > means that this no longer works. Thanks for bringing this up Myles. > To recap: what I would like to do is to #+call an R source > block, passing a filename, and hav

[Orgmode] PATCH: Support `org-export-process-option-filters' in latex export

2011-01-21 Thread Dan Davison
`org-export-process-option-filters' is supported for HTML export but not for latex export. The patch at the bottom fixes that. I note that there is one other location in the same function where it seems the same change could be made. I suspect this is not necessary, but if someone is familiar with

[Orgmode] Re: Several graphs in R

2011-01-21 Thread Dan Davison
Rainer M Krug writes: > Hi > > I just solved a problem of mine, i.e. how to deal with multiple graphs > generated in an R script. > > OK - all are saved into separate pdfs in separate paths. But I would > like to see them after they are generated - and this is my solution: > > #+begin_src R :resu

Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Dan Davison
On Thu, Jan 20, 2011 at 5:41 PM, Dan Davison wrote: > On Thu, Jan 20, 2011 at 5:02 PM, Jeff Horn wrote: >> >> On Thu, Jan 20, 2011 at 6:22 AM, Dan Davison wrote: >> > I strongly second this. In fact I'll stick my neck out more: Worg is >> > great, but for

Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Dan Davison
On Thu, Jan 20, 2011 at 5:02 PM, Jeff Horn wrote: > > On Thu, Jan 20, 2011 at 6:22 AM, Dan Davison wrote: > > I strongly second this. In fact I'll stick my neck out more: Worg is > > great, but for tutorials on org-mode, HTML export is often the wrong > > format for

[Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Dan Davison
Jason Dunsmore writes: > "Eric Schulte" writes: > >> Matt Lundin writes: >> >>> Bastien writes: >>> Jeff Horn writes: > Jason seems to be garnering a lot of votes, but Eric's zenburn > emulation makes my eyes happy. If Jason wins out, I suppose I could > always just read

[Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-19 Thread Dan Davison
Matt Lundin writes: > Marcelo de Moraes Serpa writes: >> >> However, I've got hooked. Vim (in my case, MacVim) has conquered my >> hands. I know I'm risking myself a lot by saying it on an >> emacs-related mailing list, but the Vim navigation and the vim model >> in general is much more efficien

[Orgmode] Re: Embedded code

2011-01-19 Thread Dan Davison
"Eric Schulte" writes: > Rainer M Krug writes: > >> On 01/18/2011 12:48 AM, Eric Schulte wrote: >>> Hi, >>> >>> This is possible using Babel, the attached org-mode file will execute >>> its code block every time it is opened. You can replace the contents of >>> the code block with any arbitrar

[Orgmode] Re: org fontifies outside of src blocks

2011-01-10 Thread Dan Davison
to fontify it, and that it would do this > regardless of whether code blocks were actually displayed. It has > been a while since someone on the list pointed out the fix to me, but > I haven't run into any problems since then and my buffers are > fontified correctly. > >

[Orgmode] Re: org fontifies outside of src blocks

2011-01-10 Thread Dan Davison
Jeff Horn writes: > Beautiful. Thanks, Tom! Hi Jeff, so you had two problems: 1. Erroneous fontification outside of blocks 2. Slowness and too much output to *Messages* I was aware that Tom's fix fixes (2) on OS X, but I haven't heard of (1) before. Isn't it a bit weird that the same fix shoul

[Orgmode] Re: Images from R in LaTeX and PDF

2011-01-08 Thread Dan Davison
Ben Ward writes: > #+begin_src R :exports both > full <- read.csv(file="~/Documents/BSc Biology/Third Year/BY6001-40 - > Dissertation/Data and Analysis/Evolution Results.csv", head=T) > library("lattice") > ecoli = subset(full, Bacterium=="E.coli") > edett = subset(ecoli, Cleaner=="Detto

[Orgmode] Re: [babel] How to fontify blocks other than begin_src?

2011-01-08 Thread Dan Davison
"Eric Schulte" writes: > Hi Seth, > > The easiest way to fontify embedded html is most likely to wrap the html > in "#+begin_src html" code blocks. > > As for defining your own clojure blocks that sounds like a risky > proposition to me. All of the code block evaluation functions are built > to

[Orgmode] Re: [babel] R: New handling of file output

2011-01-06 Thread Dan Davison
ts output :var x=whole-adzes :file r/ > adze_edge_angle.png :width 400 :height 300 > > The only change was to append graphics to :results output. > > All the best, > Tom > > On Dec 21, 2010, at 6:57 AM, Dan Davison wrote: > >> Dan Davison writes: >> >&

[Orgmode] Re: [Babel] Handling of errors when using Ledger

2010-12-23 Thread Dan Davison
Eric S Fraga writes: > Dan Davison writes: > >> Eric S Fraga writes: >> >>> Dan writes: >>> >>> [...] >>> >>>> This patch should make ob-ledger use the common org-babel error mechanism. >>>> It is >>&

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Dan Davison
Jeff Horn writes: > On Wed, Dec 22, 2010 at 12:49 PM, Dan Davison wrote: > >> The second one is lacking the fboundp protection. Does it help if you >> put the fboundp test in, as below? > > Dan, > > Thanks for the suggestion. I tried the patch and got a h

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Dan Davison
Jeff Horn writes: > Hey orgsters, > > For the holiday trip, I decided to see if I could go a week with only > the Cr-48. I left my Macbook at home ready for SSH, just in case. > > It took approximately 30 minutes of using the computer before I > started itching for org. > > I've been having a hec

[Orgmode] Re: [PATCH] Skip source block fontification when the language is not defined

2010-12-22 Thread Dan Davison
Bernt Hansen writes: > Dan Davison writes: > >> Bernt Hansen writes: >> >>> * lisp/org.el: Skip source block fontification during export when language >>> is not defined >>> --- >>> This may not be the correct fix for this issue but it

[Orgmode] Problems with buffer-local variables

2010-12-22 Thread Dan Davison
There's recently been some advocacy of using buffer-local variables for Org-mode configuration. It seems like a good idea to me. However, I think that it raises a problem: there are at least two situations in which Org internally spawns a buffer that is supposed to be a sort of "copy" of another Or

[Orgmode] Re: Fontification of blocks

2010-12-22 Thread Dan Davison
Sébastien Vauban writes: > Hi David, > > "David O'Toole" wrote: >> 2010/12/10 Sébastien Vauban : >>> In order to make the blocks stand out more clearly in the mix of prose, code >>> and table results of many Babel Org files, I've added 2 new faces: >>> >>> - org-block-begin-line >>> - org-block-e

[Orgmode] Re: [PATCH] Skip source block fontification when the language is not defined

2010-12-22 Thread Dan Davison
Bernt Hansen writes: > * lisp/org.el: Skip source block fontification during export when language > is not defined > --- > This may not be the correct fix for this issue but it works for me. Hi Bernt, I've checked in a slightly different version[1] of this fix. Thanks for the report; it wasn't

[Orgmode] Re: [babel] R: New handling of file output

2010-12-21 Thread Dan Davison
Dan Davison writes: > Please note the following changes to the way that org-babel handles > file output. These may break existing org-babel files which use > the :file header argument. > > :file should be understood as saying "write the result > to and return a link t

[Orgmode] [babel] New handling of file output

2010-12-21 Thread Dan Davison
Please note the following changes to the way that org-babel handles file output. These may break existing org-babel files which use the :file header argument. :file should be understood as saying "write the result to and return a link to ". This works for all languages. For graphics languages (

[Orgmode] Re: Can't close Emacs+org-mode if /tmp and /home on different partitions

2010-12-08 Thread Dan Davison
Antti Kaihola writes: > I have /tmp on my root partition and a separate partition for /home. > When trying to close an Emacs session which is using org-mode, I get > this error: > > move-file-to-trash: Non-regular file: Is a directory, /tmp/babel-XXX > > (where XXX are random characte

[Orgmode] Re: Orgmode and Unicode characters

2010-12-06 Thread Dan Davison
"Eric Schulte" writes: > My only worry on this front is that I know how to type "|" and "-" for > tables, and how to type "*" for headings, but I don't have an easy way > to type utf8 characters. > > If Org-mode starts using exotic utf8 characters which can not easily be > typed from outside of O

[Orgmode] Re: Babel, Python and UTF-8

2010-12-06 Thread Dan Davison
"Thomas S. Dye" writes: > Hi Dan, > > Emacs configuration is one of the highest barriers to entry for > potential adopters of Org-mode, IMO. The idea of context-sensitive > configuration is potentially terrific. It gets the user to work more > quickly than would otherwise be the case. The prob

[Orgmode] Re: Babel, Python and UTF-8

2010-12-06 Thread Dan Davison
"Eric Schulte" writes: > Vincent Beffara writes: > >> Hi, >> (and it would be excellent to allow for a code block as a preamble, instead of a string in the header or as an alternative, because preambles once they are allowed tend to grow uncontrollably ;->) >>> >>> This is current

[Orgmode] [PATCH] org-edit-src-code

2010-12-03 Thread Dan Davison
an commit 85597d28b25f4e64d535f61d2115ed2069a28be8 Author: Dan Davison Date: Fri Dec 3 18:24:38 2010 + Reorganize org-edit-src-code; allow buffer-local `org-edit-src-content-indentation' * lisp/org-src.el (org-edit-src-code): When generating the code edit buffer, it is necessary for sever

[Orgmode] Re: [Babel] No output returned if just one command is failing

2010-12-02 Thread Dan Davison
Sébastien Vauban writes: > Hi Eric and Dan, > > Dan Davison wrote: >> Sébastien Vauban wrote: >>> "Eric Schulte" wrote: >>>> I don't forsee adding partial results insertion both because >>>> >>>> - it would add a good

[Orgmode] Re: Babel, Python and UTF-8

2010-12-02 Thread Dan Davison
"Eric Schulte" writes: > Hi, > > I've just pushed up a new prefix header argument. "preamble" might be a better name? or "header"? prefix makes me think of adding a string onto the front of a string[1]; preamble and header are used by e.g. latex to refer to prelimary lines at the top of a file.

[Orgmode] Re: [Babel] No output returned if just one command is failing

2010-12-02 Thread Dan Davison
Hi Seb, I definitely have some sympathy with your request. On two occasions I've had to manually make this change just to carry on working. The change I made is straightforward if you need it as a temporary hack: --8<---cut here---start->8--- diff --git a/lisp/o

[Orgmode] Re: [Babel] Reporting 2 problems of code execution

2010-11-29 Thread Dan Davison
Sébastien Vauban writes: > Hi Charles, > > Thanks a lot for taking a look at this, too... > > "Charles C. Berry" wrote: >> On Sun, 28 Nov 2010, Sébastien Vauban wrote: >>> Hi Eric and Dan, >>> >>> * Abstract >>> >>> Reporting two problems: >> >> Did you mean to include ":results output" in the

[Orgmode] Re: Generated images in buffer

2010-11-28 Thread Dan Davison
. "no") : (:hlines . "no") : (:tangle . "no")) #+begin_src emacs-lisp :results pp org-babel-default-header-args:ditaa #+end_src #+results: : ((:results . "file") : (:exports . "results")) #+begin_src emacs-lisp :results pp org-babel-default-

[Orgmode] Re: Generated images in buffer

2010-11-28 Thread Dan Davison
"Eric Schulte" writes: > You can place the ditaa code into a code block and then evaluate the > code block with C-c C-c. This will insert a link to the generated image > into your Org-mode file. If you then turn on inline images with M-x > org-toggle-inline-images you can preview the generated

[Orgmode] Re: org-babel problem

2010-11-26 Thread Dan Davison
Erik Butz writes: > Hi, > > people with more git experience should comment here, but it seems with: > ~/elisp/org-mode $ git status > > you will get a list of currently untracked files in the local working > directory. These are of course both files or directories deleted from > the repository (a

[Orgmode] Re: [Babel] Handling of errors when using Ledger

2010-11-26 Thread Dan Davison
Eric S Fraga writes: > Dan writes: > > [...] > >> This patch should make ob-ledger use the common org-babel error mechanism. >> It is >> in branch ledger of the main repo. However, I'm not yet a ledger user. Could >> someone test it? > > Unfortunately, it doesn't work at all [1] for a very simp

[Orgmode] Re: [Accepted] Re: In-buffer completion

2010-11-25 Thread Dan Davison
Content-Transfer-Encoding: 7bit >> Subject: [Orgmode] Re: In-buffer completion >> Date: Sat, 20 Nov 2010 22:50:07 - >> From: Dan Davison >> X-Patchwork-Id: 396 >> Message-Id: <874obblwa8@gmail.com> >> To: Carsten Dominik >> Cc: John Wiegley , O

[Orgmode] [OT] retrieving old messages [WAS] Re: [Babel] Handling of errors when using Ledger

2010-11-25 Thread Dan Davison
Bernt Hansen writes: > Dan writes: > >> Incidentally, can any gnus users tell me -- is there a non-painful way of >> retrieving an old message from nntp in order to create a reply in the correct >> thread? Or do you hack the headers to make it appear in the right thread? I'm >> using the gmane w

  1   2   3   4   5   6   >