Re: [O] exporting zotxt or orgref links to HTML and ODF

2015-01-31 Thread Erik Hetzner
On Tue, 27 Jan 2015 at 22:37:20 PST, Erik Hetzner wrote: > > […] > > I wrote a parser for pandoc citations (that assumes you start with a > citation string, that is, it doesn’t work unless you have extracted > the citation string from the document): > > https://bitbucket.org/egh/zot4rst/src/ma

Re: [O] Accents Issues in Table formula in French.

2015-01-31 Thread Nicolas Goaziou
Hello, flav writes: > Hello, I have an issue with remote function in formula : > > #+TBLNAME: ch-mdp-aot-2013 > > > |---+--++---+---+--+---+--++--+| >| | 2013 | août | Lundi | Mardi | Mercredi | Jeudi | Vendredi | > Samedi

Re: [O] [RFC] removing all results WAS: Re: idempotency ... org-babel-remove-inline-result

2015-01-31 Thread Nicolas Goaziou
"Charles C. Berry" writes: > On Sat, 31 Jan 2015, Nicolas Goaziou wrote: >> >> Thanks. Would you mind providing a test case for this? > > I just pushed one to master. Thank you. Regards,

Re: [O] [PATCH] org.el: org-babel-load-file loads first tangle file

2015-01-31 Thread Nicolas Goaziou
Sami Airaksinen writes: > From 6fcb4b222e308c97d4c90b96ac73234c1951f307 Mon Sep 17 00:00:00 2001 > From: Sami Airaksinen > Date: Thu, 29 Jan 2015 23:10:02 +0200 > Subject: [PATCH] org.el: org-babel-load-file loads first tangle file > > (org-babel-load-file): When org-mode FILE has multiple targe

Re: [O] [PATCH] org.el: org-babel-load-file loads first tangle file

2015-01-31 Thread Sami Airaksinen
On 01/30/2015 07:13 PM, Nicolas Goaziou wrote: > Sami Airaksinen writes: > >> I got confused, do you want a comment in the source code or in the commit >> message? > The former. > >> So comment in the source code would be something like, >> "tangle-file traversal returns reversed list of tangled

Re: [O] [RFC] removing all results WAS: Re: idempotency ... org-babel-remove-inline-result

2015-01-31 Thread Charles C. Berry
On Sat, 31 Jan 2015, Daniele Pizzolli wrote: [discussing the RFC, now] Hello Charles, "Charles C. Berry" writes: RFC: the patch to `org-babel-remove-inline-result-one-or-many' removes inline results, too. Do you see any bad consequences? On Fri, 30 Jan 2015, Daniele Pizzolli wrote: Hello

Re: [O] using #+BIND:

2015-01-31 Thread Eric S Fraga
On Saturday, 31 Jan 2015 at 14:31, Matt Price wrote: [...] > Does BIND only work during export? If so, is there a better way to add a > local variable to a buffer? My understanding is that BIND does indeed only work during export. For local variable setting, why not use Emacs's own methods: [[

Re: [O] Enabling another language in org-babel

2015-01-31 Thread Esa Palosaari
> Hi, > > thank you for the code! It would be very cool to have this working. > For some reason, the it returns only the command (for example > ".display 2 + 2" and the stata shell start screen) instead > of the results ("4"). I use Stata-SE 12.1. Any guesses what might > be causing this? >

Re: [O] Enabling another language in org-babel

2015-01-31 Thread Esa Palosaari
Ista Zahn gmail.com> writes: > > I've made the suggested changes, with the exception of the "part of > Emacs bit", as this should go in contrib not core. Hi, thank you for the code! It would be very cool to have this working. For some reason, the it returns only the command (for example ".

[O] using #+BIND:

2015-01-31 Thread Matt Price
Hi Everyone, I have a variable I would like to set on a per-file basis. My readingof the documentation suggests I should use the #+BIND: keyword to do this. So, I have set org-export-with-todo-keywords to non-nil. In my buffer I put: #+BIND: org-zotxt-link-description-stylqe :citation and t

Re: [O] [RFC] removing all results WAS: Re: idempotency ... org-babel-remove-inline-result

2015-01-31 Thread Charles C. Berry
On Sat, 31 Jan 2015, Nicolas Goaziou wrote: "Charles C. Berry" writes: [discussion of extra whitespace bug deleted] There is now a bugfix on master. I've also added 'interactive' to `org-babel-remove-inline-result'. Thanks. Would you mind providing a test case for this? I just pushed one

Re: [O] Citations, continued

2015-01-31 Thread Nicolas Goaziou
Hello, Richard Lawrence writes: > As I mentioned in the earlier thread, I think the Pandoc syntax is a > good place to start, and I think it would be valuable to have the two > syntaxes be compatible. But even Pandoc's citation syntax might not be > general enough to satisfy everyone's needs, s

[O] Citations, continued

2015-01-31 Thread Richard Lawrence
Hi all, I wanted to continue the discussion that began in this thread about adding citation support to Org: http://thread.gmane.org/gmane.emacs.orgmode/94352/focus=94412 Here are some thoughts I have after reviewing that discussion: 1) Lots of people seem to need/want better support for citation

Re: [O] How to compute the number of headlines under the given headline?

2015-01-31 Thread Nicolas Goaziou
Hello, John Kitchin writes: > What about: > > * Count headlines in current level > > > #+BEGIN_SRC emacs-lisp > (save-restriction > (org-narrow-to-subtree) > (1- (length >(org-element-map >(org-element-parse-buffer) >'headline > (lambda (x) 1) > #+END_SRC > > #+R

Re: [O] traling whitespace inconsistency for inline babel

2015-01-31 Thread Daniele Pizzolli
Hello Charles, "Charles C. Berry" writes: > On Sat, 31 Jan 2015, Daniele Pizzolli wrote: > >> Hello Charles, >> >> Thanks for fixing the leading whitespace issue. >> >> I found another, more impacting, inconsistency involving trailing >> whitespace during export in release_8.3beta-780-g37fc86: >>

Re: [O] traling whitespace inconsistency for inline babel

2015-01-31 Thread Charles C. Berry
On Sat, 31 Jan 2015, Daniele Pizzolli wrote: Hello Charles, Thanks for fixing the leading whitespace issue. I found another, more impacting, inconsistency involving trailing whitespace during export in release_8.3beta-780-g37fc86: The following line in org: 1 + 4 in R is src_R[:exports resul

Re: [O] C-u org-clock-in-last not moving point

2015-01-31 Thread David Aaron Fendley
Works perfectly. Thank you, Nicolas! Nicolas Goaziou writes: > Hello, > > David Aaron Fendley writes: > >> I'm encountering an issue when using C-u org-clock-in-last. >> >> Whenever I select an item from the list, it either clocks me into the >> the heading that my cursor is currently on, or it

Re: [O] How to compute the number of headlines under the given headline?

2015-01-31 Thread John Kitchin
What about: * Count headlines in current level #+BEGIN_SRC emacs-lisp (save-restriction (org-narrow-to-subtree) (1- (length (org-element-map (org-element-parse-buffer) 'headline (lambda (x) 1) #+END_SRC #+RESULTS: : 5 ** one ** two *** three four ** five Th

Re: [O] Binding org-html-head to a function?

2015-01-31 Thread Sébastien Brisard
Hi Rasmus, Hi Sébastien, Sébastien Brisard writes: >/ my blog (sbrisard.github.io) is entirely written with/ >/ org-mode./ Looks pretty. Thanks! >/ Org-mode offers everything I need, except for one minor/ >/ detail. It is very difficult to include the same CSS file in the/ >/ html-hea

[O] How to compute the number of headlines under the given headline?

2015-01-31 Thread Marcin Borkowski
Hello, I'd like to count the number of children (alternatively, number of all descendants) of an Org headline. Is there a ready-made function for that? If not, would using org-forward-heading-same-level and similar functions in Lisp code be a good idea? TIA, -- Marcin Borkowski http://octd.wm

Re: [O] C-u org-clock-in-last not moving point

2015-01-31 Thread Nicolas Goaziou
Hello, David Aaron Fendley writes: > I'm encountering an issue when using C-u org-clock-in-last. > > Whenever I select an item from the list, it either clocks me into the > the heading that my cursor is currently on, or it throws an error: > > byte-code: Before first headline at position 212

Re: [O] bug in org-clock-in-last

2015-01-31 Thread Nicolas Goaziou
Hello, Peter Münster writes: > With one prefix-argument, org-clock-in-last calls > "(org-clock-in (org-clock-select-task))" > > But it seems, that org-clock-in doesn't expect such an argument. > That means, that org-clock-in ignores the selected task. This should be fixed. Thank you. Regards,

Re: [O] [RFC] removing all results WAS: Re: idempotency ... org-babel-remove-inline-result

2015-01-31 Thread Daniele Pizzolli
Hello Charles, "Charles C. Berry" writes: > RFC: the patch to `org-babel-remove-inline-result-one-or-many' removes > inline results, too. > > Do you see any bad consequences? > > On Fri, 30 Jan 2015, Daniele Pizzolli wrote: > >> Hello Charles, >> >> "Charles C. Berry" writes: >> >>> On Fri, 30 Ja

[O] traling whitespace inconsistency for inline babel

2015-01-31 Thread Daniele Pizzolli
Hello Charles, Thanks for fixing the leading whitespace issue. I found another, more impacting, inconsistency involving trailing whitespace during export in release_8.3beta-780-g37fc86: The following line in org: 1 + 4 in R is src_R[:exports results]{1+4}. Export in latex correctly as: 1 + 4

Re: [O] [RFC] [PATCH] Changes to Tag groups - allow nesting and regexps

2015-01-31 Thread Nicolas Goaziou
Hello, Gustav Wikström writes: > This time I've made some changes in the code. More specifically in how > tag groups function and would like them to be included in Orgmode. Thank you. > > I suppose an FSF-assignment signature is needed before it can be > included. Indeed. > I'll start with th

Re: [O] [RFC] removing all results WAS: Re: idempotency ... org-babel-remove-inline-result

2015-01-31 Thread Nicolas Goaziou
"Charles C. Berry" writes: > [discussion of extra whitespace bug deleted] > > There is now a bugfix on master. I've also added 'interactive' to > `org-babel-remove-inline-result'. Thanks. Would you mind providing a test case for this? Regards,

[O] bug#19606: 24.4; Emacs hangs when editing a 5-line Org file

2015-01-31 Thread Eli Zaretskii
> From: Fabrice Niessen > Cc: dgu...@yandex.ru, 19...@debbugs.gnu.org > Date: Fri, 30 Jan 2015 17:07:13 +0100 > > (gdb) thread 1 > [Switching to thread 1 (Thread 8340.0x2568)] > #0 0x01101915 in XSTRING (a=168379948) at C:/emacs/repo/src/lisp.h:974 > (gdb) 974 C:/emacs/repo/src/lisp.h: No