Re: [O] Two potentially useful functions for org-element

2014-08-08 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > now that I understand the 'org-element API' a bit better, I think that > the following two functions can be very useful for creating and > modifying Org elements without the usual point movements, regexp > searches and string operations in a buffer: Element isn'

Re: [O] (Maybe) enhance `org-element-src-block-interpreter'?

2014-08-08 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Here goes the completeness... > > Nicolas Goaziou writes: > >> For completeness, if you're working at the local level (i.e. with >> `org-element-at-point'), available accessors are > > with `org-element-at-point' or `org-element-context' > >> - `org-element-type' >>

Re: [O] Bug: org-in-src-block-p always returns nil [8.2.7b (8.2.7b-1-ga5beff-elpaplus @ /Users/ryan/.emacs.d/.cask/24.3.1/elpa/org-plus-contrib-20140714/)]

2014-08-08 Thread Nicolas Goaziou
Hello, Ryan writes: > Actually, my implementation has a bug. org-element-at-point also > returns the element if point is actually on one of the blank lines > between that element and the next. So I've rewritten it to handle that > case by computing the content end position and comparing point to

Re: [O] Two potentially useful functions for org-element

2014-08-08 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Hello, > > Thorsten Jolitz writes: > >> now that I understand the 'org-element API' a bit better, I think that >> the following two functions can be very useful for creating and >> modifying Org elements without the usual point movements, regexp >> searches and string o

Re: [O] org-8 manual on Amazon!

2014-08-08 Thread Rasmus
John Kitchin writes: > I saw on twitter today the org mode 8 manual is available on Amazon > today: http://www.amazon.com/dp/9881327709/. It looks like it covers Org 8.2. I'm surprised by the change of publisher¹ and fact that there is no reference to this edition on orgmode.org. . . —Rasmus

Re: [O] #+OPTIONS: line kept in 'body-only' export to Org

2014-08-08 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > doing: > > , > | 1. C-c C-e > | 2. C-b ; body-only > | 3. O O ; -> Org buffer > ` > > on this Org-buffer > > > , > | #+TITLE: Foo > | #+DATE: <1953-05-15 Fr> > | #+OPTIONS: toc:nil p:t author:nil pri:t prop:t tags:nil > | > | * A > | > | ** TODO

Re: [O] Org equivalent to \chapter*

2014-08-08 Thread Rasmus
Alan L Tyree writes: > On 07/08/14 20:05, Rasmus wrote: I'm sure this has been asked before, but I can't seem to find it. Is there an org markup that produces a starred latex heading? In a book, for example, I want the Preface to be at chapter level, but >>

Re: [O] (Maybe) enhance `org-element-src-block-interpreter'?

2014-08-08 Thread Nicolas Goaziou
Thorsten Jolitz writes: > Accessor `org-element-contents' is badly missed here ... > > E.g. I can get locally the content of a src-block (its :value), but for > most other elements (e.g. paragraph) that is not true. OTOH I cannot > reuse a src-block value as the content of a (locally created) par

[O] Slight inconsistency wrt 'verse-block' properties?

2014-08-08 Thread Thorsten Jolitz
Hi List, while all other Org blocks that are elements but not greater-elements have a :value property, verse-blocks don't. Is that an accidental inconsistency? -- cheers, Thorsten

Re: [O] Slight inconsistency wrt 'verse-block' properties?

2014-08-08 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > while all other Org blocks that are elements but not greater-elements > have a :value property, verse-blocks don't. Is that an accidental > inconsistency? No, this is neither accidental nor an inconsistency. Verse blocks are at the same level as paragraphs: the

[O] [patch, ox] Unnumbered headlines

2014-08-08 Thread Rasmus
Hi, In a recent thread¹ Tom and Alan mention that authors sometimes need unnumbered headlines, e.g. for prefaces. This patch (tries to) add this feature via the tag :nonumber: (customizable via Custom or in-file). I make two assumptions. First, the tag is recursive, so if the parent is not num

Re: [O] Problems with org-export: "byte-code: Invalid function: 0"

2014-08-08 Thread Martin Beck
Nick Dokos gmail.com> writes: > > This shows a problem evaluating a babel #+call or an inline source block > somewhere between positions 1 and 3532 in the buffer. I suspect those > call_skype thingies in your text are misinterpreted as babel calls > somehow. > > The thing is that org-babel-exp

Re: [O] left padding added each time a code block is edited

2014-08-08 Thread Rasmus
Hi Noah, Noah Hoffman writes: > Noah Hoffman writes: > >> Each time I edit a code block using =C-c '= (org-edit-special) and >> then return to the org-mode buffer, two spaces are added to the left >> margin of the code. For example, >> >> #+BEGIN_SRC python >> print "hello" >> #+END_SRC >> >> b

Re: [O] ox-reveal cannot export

2014-08-08 Thread Yujie Wen
Hi, I've switched org-reveal's code to follow ox-html's changes. Since ox-html is changing, I've committed my codes to devel branch. Please pull the devel branch and try the fixes. Please let me if there are any issue. Thanks. Regards, Yujie 2014-08-07 20:22 GMT+08:00 Nicolas Goaziou :

Re: [O] Cannot build documentation (release_8.3beta-155-g82b64d)

2014-08-08 Thread Vicente Vera
I think you're right. It seems TeX Live 2014 installed its own texinfo over the one i got from the debian stable repository, but i'm not 100% sure. Thanks for the help! 2014-08-05 19:37 GMT-04:00 Vicente Vera : > Yes, i had an old makeinfo (4.13) that lives in the debian wheezy > repository. Jus

Re: [O] Problems with org-export: "byte-code: Invalid function: 0"

2014-08-08 Thread Nick Dokos
Martin Beck writes: > Nick Dokos gmail.com> writes: > > >> >> This shows a problem evaluating a babel #+call or an inline source block >> somewhere between positions 1 and 3532 in the buffer. I suspect those >> call_skype thingies in your text are misinterpreted as babel calls >> somehow. >> >

Re: [O] MobileOrg documentation?

2014-08-08 Thread Jorge A. Alfaro-Murillo
David Masterson writes: Not looking for complete org functionality in my phone -- just a reasonable ability to edit org outlines while I'm on the road. Well you can do that with MobileOrg... sort of. Once you edit and save a change, synchronize in your phone and then pull from your compute

Re: [O] left padding added each time a code block is edited

2014-08-08 Thread Achim Gratz
Noah Hoffman writes: > This is particularly problematic for python code > blocks since leading whitespace is meaningful. The problem you imagine doesn't exist because the leading whitespace is stripped before the code is sent to the interpreter. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Ne

[O] Tracking Current Org Version

2014-08-08 Thread Kenneth Jacker
Good day! I am using 'git' to (I hope!) keep up to date on the latest Org distribution. For me, there is a little confusion on just which version I'm using ... I changed to the org-mode "git managed" directory, and entered: $ make update { Do I need to do more? I followed the

Re: [O] left padding added each time a code block is edited

2014-08-08 Thread Noah Hoffman
On Fri, Aug 8, 2014 at 6:47 AM, Rasmus wrote: > Have you experienced any bugs with respect to this? On my system Babel > will even run this code correctly: > > #+BEGIN_SRC python >if True: >return( "hello!") > #+END_SRC > > #+RESULTS: > : hello! > > To use a slightly

Re: [O] proposal for improved integration of cdlatex

2014-08-08 Thread Federico Beffa
Do you think it is now a reasonable implementation? Would it be a suitable tiny change to `org-mode'? Regards, Federico > Thanks for the suggestion. Please find attached the improved patch. > > Regards, > Federico > > > On Wed, Jul 30, 2014 at 10:25 PM, Nicolas Goaziou > wrote: >> Hello, >> >> F

Re: [O] org-8 manual on Amazon!

2014-08-08 Thread Carlos Sosa
Rasmus writes: > John Kitchin writes: > >> I saw on twitter today the org mode 8 manual is available on Amazon >> today: http://www.amazon.com/dp/9881327709/. It looks like it covers Org 8.2. > > I'm surprised by the change of publisher¹ and fact that there is no > reference to this edition on

Re: [O] MobileOrg documentation?

2014-08-08 Thread David Masterson
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > David Masterson writes: > >> Not looking for complete org functionality in my phone -- just a >> reasonable ability to edit org outlines while I'm on the road. > > Well you can do that with MobileOrg... sort of. Once you edit and

Re: [O] org-8 manual on Amazon!

2014-08-08 Thread Subhan Michael Tindall
This is almost certainly a literally a printed version of the already available open source org manual. Nothing to see here, move along. -Original Message- From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On

[O] Control of agenda window size

2014-08-08 Thread Subhan Michael Tindall
I've been working with some custom agenda commands, and I'm noticing that there doesn't seem to be any way to control the size of the split window used for display (sometimes it is 50%, sometimes much more. Likewise the window that is opened to display an item from e.g. a clock table when tab i

Re: [O] MobileOrg documentation?

2014-08-08 Thread Jorge A. Alfaro-Murillo
David Masterson writes: Hmmm. Simple question (I think). Can you edit outlines (at least somewhat) from MobileOrg? For instance, can you add outline headers to your Org outline in MobileOrg? Or is MobileOrg only useful for viewing Org outlines and capturing items to add to your outlines l

Re: [O] MobileOrg documentation?

2014-08-08 Thread Ken Mankoff
Advance Capture is Android only, not on my iPhone version. On iPhone, you cannot add sub-headings. You can type it out as much as you want with "**" and "***", but you'll need to do some editing on the desktop side. Those modifications could be made automagically when the desktop auto-detects that

[O] org-capture-after-finalize-hook not covered by documentation

2014-08-08 Thread Marcin Antczak
As in topic. org-capture-before-finalize-hook is mentioned, after-finalize is not. http://orgmode.org/tmp/worg/org-configs/org-hooks.html From ChangeLog: 2010-12-11 Allen S. Rout(tiny change) * org-capture.el (org-capture-after-finalize-hook): New hook. (org-capture-finalize):

Re: [O] MobileOrg documentation?

2014-08-08 Thread Jorge A. Alfaro-Murillo
Ken Mankoff writes: On iPhone, you cannot add sub-headings. Another good reason to ditch your iPhone and buy a Nexus =) Even when the Android and iPhone applications are different, the good thing is that the org side (org-mobile.el) is not specific for the iPhone or Android (or any external

[O] [PATCH] Add support for :dbhost, :dbuser and :database parameters for poastgresql in ob-sql.el

2014-08-08 Thread Steven Rémot
Hi, I did some changes to support :dbname, :dbhost and :database in SQL code blocks when using postgresql engine. Even if it was possible to specify this information using :cmdline parameter, I thought it was a bit cleaner to be able to provide this information in a way independent from the

Re: [O] MobileOrg documentation?

2014-08-08 Thread David Masterson
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > David Masterson writes: > >> Hmmm. Simple question (I think). Can you edit outlines (at least >> somewhat) from MobileOrg? For instance, can you add outline headers >> to your Org outline in MobileOrg? Or is MobileOrg only usef

Re: [O] MobileOrg documentation?

2014-08-08 Thread Ken Mankoff
Some code to auto-update Org when Mobile Org pushes: http://kenmankoff.com/2012/08/17/emacs-org-mode-and-mobileorg-auto-sync/ -k. On Fri, Aug 8, 2014 at 5:15 PM, David Masterson wrote: > jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > > > David Masterson writes: > > > >> H

Re: [O] MobileOrg documentation?

2014-08-08 Thread David Masterson
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > Ken Mankoff writes: > >> On iPhone, you cannot add sub-headings. > > Another good reason to ditch your iPhone and buy a Nexus =) > > Even when the Android and iPhone applications are different, the good > thing is that the org side

Re: [O] MobileOrg documentation?

2014-08-08 Thread Nick Dokos
David Masterson writes: > jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > >> Ken Mankoff writes: >> >>> On iPhone, you cannot add sub-headings. >> >> Another good reason to ditch your iPhone and buy a Nexus =) >> >> Even when the Android and iPhone applications are different, t

Re: [O] [patch, ox] Unnumbered headlines

2014-08-08 Thread Alan L Tyree
On 08/08/14 23:39, Rasmus wrote: Hi, In a recent thread¹ Tom and Alan mention that authors sometimes need unnumbered headlines, e.g. for prefaces. This patch (tries to) add this feature via the tag :nonumber: (customizable via Custom or in-file). I make two assumptions. First, the tag is re

[O] MobileOrg iOS status?? (Sean?)

2014-08-08 Thread David Masterson
It appears that MobileOrg hasn't really moved in over a year. In fact, the Changelog for MobileOrg stops at 1.5.1 where I am using 1.6.1, so it seems that things really are not up-to-date. Looking in GitHub (which I'm not an expert on), it appears that development has split along OS lines. What

Re: [O] [PATCH] Add support for :dbhost, :dbuser and :database parameters for poastgresql in ob-sql.el

2014-08-08 Thread Thomas S. Dye
Aloha Steven, Steven Rémot writes: > Hi, > > I did some changes to support :dbname, :dbhost and :database in SQL > code blocks when using postgresql engine. > > Even if it was possible to specify this information using :cmdline > parameter, I thought it was a bit cleaner to be able to provide th

Re: [O] [patch, ox] Unnumbered headlines - early test

2014-08-08 Thread Alan L Tyree
I have a book length MS that I tested the patch on. * Copyright page :nonumber: * Preface:nonumber: * Law relating to sale of goods ... etc Export looked good and as expected, that is, no numbers on the first two headlines and the third headline numbered 1. as it should

[O] Some thoughts on MobileOrg and its development ....

2014-08-08 Thread Alexis
Hi all, In light of recent discussions about 'MobileOrg' - which seemingly actually constitutes two distinct projects for two different platforms - together with the apparent relative lack of activity of both projects, despite demand for them, i can't help but wonder if the 'MobileOrg' endeavour

[O] Source Code Header Not Honored in Exportation?

2014-08-08 Thread Aric Gregson
Hello, I am trying to export via org-odt and do not want some of the R source run during export. For these blocks I have the following: #+begin_src R :eval no However, it seems that they are still being evaluated, despite having refreshed the local set-up. Is this not the correct header to tell

Re: [O] Source Code Header Not Honored in Exportation?

2014-08-08 Thread Aric Gregson
Aric Gregson writes: > I am trying to export via org-odt and do not want some of the R source > run during export. For these blocks I have the following: > > #+begin_src R :eval no > > However, it seems that they are still being evaluated, despite having > refreshed the local set-up. Is this not

Re: [O] Some thoughts on MobileOrg and its development ....

2014-08-08 Thread Xebar Saram
Would love to see a reboot and further development on org-mobile. I am not a developer myself but would love to help out with testing , writing documentation etc best Z On Sat, Aug 9, 2014 at 3:56 AM, Alexis wrote: > > Hi all, > > In light of recent discussions about 'MobileOrg' - which seemi

Re: [O] Some thoughts on MobileOrg and its development ....

2014-08-08 Thread David Masterson
Alexis writes: > Hi all, > > In light of recent discussions about 'MobileOrg' - which seemingly > actually constitutes two distinct projects for two different platforms - > together with the apparent relative lack of activity of both projects, > despite demand for them, i can't help but wonder if

Re: [O] Tracking Current Org Version

2014-08-08 Thread Suvayu Ali
On Fri, Aug 8, 2014 at 5:39 PM, Kenneth Jacker wrote: > > What is the "best" way to do this? ;-) This should help you http://orgmode.org/worg/org-faq.html#Keeping-current -- Suvayu Open source is the future. It sets us free.