[O] [Bug] commit 39070b7fc7 breaks babel test

2013-11-26 Thread Achim Gratz
Hi Eric, this change seems to introduce additional line breaks in the following test: --8<---cut here---start->8--- Test test-ob/catches-all-references condition: (ert-test-failed ((should (string= (org-babel-execute-src-block) "

Re: [O] Split source block at point

2013-11-26 Thread Alexander Baier
On 13-11-27 08:17 Jambunathan K wrote: > C-h K C-c C-v C-d > > > Alexander Baier writes: > >> Hello together, >> >> is therer a command or a function that lets me split a source block at a >> given position? I think what I mean is best demonstrated by looking at >> an example: >> >> Given this bu

Re: [O] Split source block at point

2013-11-26 Thread Christian Moe
Alexander Baier writes: > Hello together, > > is therer a command or a function that lets me split a source block at a > given position? I think what I mean is best demonstrated by looking at > an example: C-c C-v d (org-babel-demarcate-block) Yours, Christian

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-26 Thread Achim Gratz
York Zhao writes: >> York Zhao writes: >>> (add-to-list 'load-path "path/to/org-mode") >> >> This line is not needed. > > My org-mode is "installed" in separate directory outside of Emacs system and > therefor this line is needed in my setup, otherwise the org-mode shipped with > Emacs would be use

[O] Split source block at point

2013-11-26 Thread Alexander Baier
Hello together, is therer a command or a function that lets me split a source block at a given position? I think what I mean is best demonstrated by looking at an example: Given this buffer: begin_src emacs-lisp (defun foo ()

Re: [O] Controlling image width and placement in Beamer export

2013-11-26 Thread Jarmo Hurri
Greetings John. John Hendy writes: > This comes up all the time. Perhaps we could lower the frequency by making a small change to the manual? > The key is to put it 1) before results (as you've done) and 2) to use > a named source block (with #+name: foo above your babel code) so that > Org

[O] org-publish parameters mismatch → cannot publish to HTML

2013-11-26 Thread Daniel Clemente
Hi, in ox-publish.el I see in line 555: (defun org-publish-org-to (backend filename extension plist &optional pub-dir) … org-publish-org-to-html seems to have its parameters in the same order (filename, extension, plist). Correct me if I'm wrong. But then in same file, line 654:

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-26 Thread Thomas S. Dye
Nick Dokos writes: > Nick Dokos writes: > >> The best solution I can think of so far: revert commit 5ea0228, >> and change org-mode-restart to call normal-mode, instead of org-mode. >> normal-mode splits the setting of the mode from the setting of local >> variables, so it would avoid the recurs

Re: [O] org-capture with function type target

2013-11-26 Thread York Zhao
Hi Carsten, Thank you. York

Re: [O] [bug] [babel] repeated exports w/ inline src blocks yield different results

2013-11-26 Thread Yasushi SHOJI
At Sun, 24 Nov 2013 04:18:38 + (UTC), Charles Berry wrote: [...] > and you see the extra '#+END_SRC' line. > > And if you keep repeating those keystrokes, the second result again appears. > > However, sometimes a minor change and then an erasure (perhaps 'a a C-x u') > followed by the export

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-26 Thread York Zhao
> Can both interested parties (York Zhao and Tom Dye) please test it and let me > know of any problems? Thank you for the fix, your patch worked for me. York

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-26 Thread York Zhao
> York Zhao writes: >> (add-to-list 'load-path "path/to/org-mode") > > This line is not needed. My org-mode is "installed" in separate directory outside of Emacs system and therefor this line is needed in my setup, otherwise the org-mode shipped with Emacs would be used. >> (add-to-list 'load-pat

[O] Bug when cycling

2013-11-26 Thread Bastien
Hi, with latest master and the file below, hitting TAB at the beginning of the headline will produce the attached backtrace. * Test SCHEDULED: <2013-11-25 lun.> :PROPERTIES: :CAPTURED: [2013-11-08 ven. 18:13] :END: Debugger entered--Lisp error: (error "Invalid search bound (wrong side of

Re: [O] org-contacts, multi-line properties, postal addresses

2013-11-26 Thread Kyle Machulis
Thought about maybe trying to extend AsynK with an org-contacts backend? That'd be ridiculously useful. http://karra-asynk.appspot.com/ On Sat, Nov 16, 2013 at 1:13 PM, Karl Voit wrote: > * Norman Walsh wrote: > > > > Hello world, > > Hello Norman! > > > I'm just taking another look at org-co

Re: [O] Opening an Org file slowed down

2013-11-26 Thread Nicolas Goaziou
Hello, Michael Brand writes: > What I don't understand is the still quadratic increase but if you > expect that for opening then it is ok for me. No, it should be linear. See below. > Uncompiled release_8.2.3c-302-g15246d on a not new machine: > > Open 400er: > org-mode1

Re: [O] imaxima babel

2013-11-26 Thread yggdrasil
Eric Schulte writes: > writes: > >> [... how to use maxima code from org-mode and display results inline >> in the org-buffer ...] > > You would switch from ":results latex" to ":results raw", in which case > the latex will be inserted directly into the Org-mode buffer, and > org-mode's existing

Re: [O] Problem with property matching

2013-11-26 Thread Achim Gratz
Carsten Dominik writes: > I think there is an error in the property matching regexp. It will > not match a line where the property value is empty. See 3c933adaf6 and 68276fd62d for how this regex developed, the requirement of the whitespace after the colon was in the original regex from Nicolas.

Re: [O] Opening an Org file slowed down

2013-11-26 Thread Michael Brand
Hi Nicolas On Tue, Nov 26, 2013 at 9:09 PM, Nicolas Goaziou wrote: > Is opening the file still slow? I get: What I don't understand is the still quadratic increase but if you expect that for opening then it is ok for me. Uncompiled release_8.2.3c-302-g15246d on a not new machine: Open 400er: or

Re: [O] Opening an Org file slowed down

2013-11-26 Thread Nicolas Goaziou
Hello, Michael Brand writes: > Thank you. As I wrote in the other post my recipe is not a real use > case any more for me so it doesn't really matter that opening the Org > file is still slow. Is opening the file still slow? I get: org-mode 1 0.458615558 0.45861

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Achim Gratz
Loris Bennett writes: > No, the column names are fixed, so that's perfect, thank you. I > suspected there might be some more straight-forward way than the > interesting, but slightly more involved methods suggested by Achim and > Rasmus. There might be way to do that, but it's not implemented for

Re: [O] Opening an Org file slowed down

2013-11-26 Thread Michael Brand
Hi Nicolas On Tue, Nov 26, 2013 at 6:28 PM, Nicolas Goaziou wrote: > I implemented it. > > `org-element-at-point' runs in a mean constant time now (worst case is > still linear, though). Thank you. As I wrote in the other post my recipe is not a real use case any more for me so it doesn't really

Re: [O] derived exporter EXPORT_... options

2013-11-26 Thread Nicolas Goaziou
Hello, Robert Klein writes: > I'm trying to user EXPORT_... options in subtree export in a derived > exporter. > > Using attached ox-hans exporter and the org file hans.org, > I only get "Wurst" as :hans-option, never "Bratwurst", as given under > the heading "Two", using both options with subtr

[O] hide leading starts in a specific sub-tree in an org file

2013-11-26 Thread Xebar Saram
Hi all i know there is an option to hiding leading stars in outline headings, and for indenting outlines. i was wondering if there is an option to do so for a specific header and sub headers (like can be done for some properties etc.. in example have these 2 structures in 1 org file * header 1 *

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-26 Thread Achim Gratz
York Zhao writes: > (add-to-list 'load-path "path/to/org-mode") This line is not needed. > (add-to-list 'load-path "path/to/org-mode/lisp") ; this line is the > key Key for what? Did you create autoload files for this installation? > Third, file "yhj-mode.el" has to be byte-compiled. You'll

[O] Bug: Symbol's function definition is void: vc-git-root

2013-11-26 Thread Jonathan Leech-Pepin
Hello, Using 8.2.2 I get the following error when using any org-attach-* commands: (From *Messages* buffer) Select command: [acmlzoOfFdD] org-attach-commit: Symbol's function definition is void: vc-git-root I don't have git installed on this Windows machine, so vc-git is never loaded. Regards

[O] derived exporter EXPORT_... options

2013-11-26 Thread Robert Klein
Hi, I'm trying to user EXPORT_... options in subtree export in a derived exporter. Using attached ox-hans exporter and the org file hans.org, I only get "Wurst" as :hans-option, never "Bratwurst", as given under the heading "Two", using both options with subtree export (C-c C-e C-d j h and C-c C

Re: [O] Opening an Org file slowed down

2013-11-26 Thread Nicolas Goaziou
> Please note that the parsing process is inherently linear, since we're > in a context-dependent grammar. Thus, there's not much to do about the > parsing algorithm. > > However, the cache is always up-to-date. So, we are not bound to start > again from headline if we can find a cached element bet

Re: [O] Captions on Code Blocks -- work for ox-ascii but not ox-html or ox-latex

2013-11-26 Thread Eric Schulte
Rüdiger Sonderfeld writes: > On Tuesday 26 November 2013 07:23:33 Eric Schulte wrote: >> I see that Captions on code blocks work as expected for ASCII export, >> but not for HTML or LaTeX export. Is this intentional? If not could >> captions be easily added to HTML and LaTeX export? > > What do

Re: [O] ox-bibtex.el -- how to join sequential citations

2013-11-26 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > Thanks, the following seems to be working. Perhaps the filter function > should be added to ox-bibtex.el? Thanks for sharing your filter. Though, if we include it in ox-bibtex (and I agree we should), it would be better to make it more robust and use a parse tree

Re: [O] Problem with property matching

2013-11-26 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > I think there is an error in the property matching regexp. It will not match > a line where the property value is empty. I propose the following change, > which makes the value part optional: > > ---

Re: [O] [RFC] Alternative to sub/superscript regexp

2013-11-26 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > I have tested this a bit, and it does pretty much what I want. Great. > Just to be sure: We will also support expressions with braces, right? Of course, we will. Curly braces are not ambiguous so I'm no suggesting to change this part of the syntax (even thoug

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Daniel E. Doherty
And if you are generating this programatically, this works: #+BEGIN_SRC sh :results raw ( echo "|a |b |c |d" echo "|-" echo "|1 |2 |3 |4" echo "|5 |6 |7 |8" ) #+END_SRC -- Daniel E. Doherty

Re: [O] Use org-element to figure out if I am in a drawer.

2013-11-26 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > Hmmm, > > what is the magic incantation to use org-element to figure out if > point is currently inside a drawer? Something like: (let ((element (org-element-at-point))) (while (and element (not (memq (org-element-type element) '(drawer p

Re: [O] Use org-element to figure out if I am in a drawer.

2013-11-26 Thread Rasmus
Carsten Dominik writes: > Hmmm, > > what is the magic incantation to use org-element to figure out if > point is currently inside a drawer? What about org-element-at-point? E.g. like here: * This is a headline Still outside the drawer :DRAWERNAME: This is inside the drawer. :END:

Re: [O] Use org-element to figure out if I am in a drawer.

2013-11-26 Thread Nick Dokos
Carsten Dominik writes: > what is the magic incantation to use org-element to figure out if > point is currently inside a drawer? > (eq 'drawer (org-element-type (org-element-at-point))) is my (untested) guess, but I don't think you can be at an arbitrary place inside: you'll need to be on the

[O] Use org-element to figure out if I am in a drawer.

2013-11-26 Thread Carsten Dominik
Hmmm, what is the magic incantation to use org-element to figure out if point is currently inside a drawer? Thanks - Carsten

Re: [O] Controlling image width and placement in Beamer export

2013-11-26 Thread Nick Dokos
Jarmo Hurri writes: > Greetings. > > I needed to create an Asymptote-generated centered image with a smaller > width than the default .9\linewidth in a Beamer export. After trial and > error I ended with the method shown below. In particular, to my surprise > an > > #+ATTR_LATEX: :width 5cm > > _

Re: [O] Controlling image width and placement in Beamer export

2013-11-26 Thread John Hendy
On Tue, Nov 26, 2013 at 7:51 AM, Jarmo Hurri wrote: > > Greetings. > > I needed to create an Asymptote-generated centered image with a smaller > width than the default .9\linewidth in a Beamer export. After trial and > error I ended with the method shown below. In particular, to my surprise > an >

Re: [O] Controlling image width and placement in Beamer export

2013-11-26 Thread John Hendy
On Tue, Nov 26, 2013 at 7:51 AM, Jarmo Hurri wrote: > > Greetings. > > I needed to create an Asymptote-generated centered image with a smaller > width than the default .9\linewidth in a Beamer export. After trial and > error I ended with the method shown below. In particular, to my surprise > an >

Re: [O] Captions on Code Blocks -- work for ox-ascii but not ox-html or ox-latex

2013-11-26 Thread Rüdiger Sonderfeld
On Tuesday 26 November 2013 07:23:33 Eric Schulte wrote: > I see that Captions on code blocks work as expected for ASCII export, > but not for HTML or LaTeX export. Is this intentional? If not could > captions be easily added to HTML and LaTeX export? What do you expect differently? For me the

[O] Captions on Code Blocks -- work for ox-ascii but not ox-html or ox-latex

2013-11-26 Thread Eric Schulte
Hi, I see that Captions on code blocks work as expected for ASCII export, but not for HTML or LaTeX export. Is this intentional? If not could captions be easily added to HTML and LaTeX export? Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Loris Bennett
Eric Schulte writes: > "Loris Bennett" writes: > >> Eric Schulte writes: >> >>> "Loris Bennett" writes: >>> Dear List, This #+BEGIN_SRC sh echo "a b c d" echo "1 2 3 4" echo "5 6 7 8" #+END_SRC produces this: #+RESULTS: |

[O] Controlling image width and placement in Beamer export

2013-11-26 Thread Jarmo Hurri
Greetings. I needed to create an Asymptote-generated centered image with a smaller width than the default .9\linewidth in a Beamer export. After trial and error I ended with the method shown below. In particular, to my surprise an #+ATTR_LATEX: :width 5cm _above_ the #+BEGIN_SRC did not work, s

Re: [O] ox-bibtex.el -- how to join sequential citations

2013-11-26 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Feng Shu writes: > >> Eric Schulte writes: >> >>> When exporting multiple sequential citations e.g., cite:foo cite:bar >>> etc... I would like to see something like the following (latex used for >>> this example) "\cite{foo, bar}", but instead I'm getting "\

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Eric Schulte
"Loris Bennett" writes: > Eric Schulte writes: > >> "Loris Bennett" writes: >> >>> Dear List, >>> >>> This >>> >>> #+BEGIN_SRC sh >>> echo "a b c d" >>> echo "1 2 3 4" >>> echo "5 6 7 8" >>> #+END_SRC >>> >>> produces this: >>> >>> #+RESULTS: >>> | a | b | c | d | >>> | 1 | 2 | 3 | 4 | >>>

[O] Problem with property matching

2013-11-26 Thread Carsten Dominik
Hi, I think there is an error in the property matching regexp. It will not match a line where the property value is empty. I propose the following change, which makes the value part optional: diff --git a/lisp/or

Re: [O] problems while editing in org-columns mode

2013-11-26 Thread Carsten Dominik
Hi Andrea, I have fixed problem A. Problem B has to do with the fact that the property search function does not find a property with an empty value. I need to look into this some more. - Carsten On Nov 22, 2013, at 8:30 PM, andrea.rosse...@gmail.com wrote: > > Hello everyone, > > I get so

[O] Orgtbl, Radiotables: ":booktabs t"

2013-11-26 Thread AW
\documentclass[parskip=half]{scrartcl} \usepackage{booktabs, verbatim} \begin{document} Hello! Once in a while I need a radiotable inside my LaTeX file and I'm asking to implement a parameter for the use of booktabs. This is an example I picked from the manual of orgmode and added \verb|\topr

Re: [O] Agenda filter on tags

2013-11-26 Thread Bastien
Hi Fredrik, Fredrik writes: > I'm looking for a way to set a filter for an agenda. I want to use a > logical filter like : this+todo="THAT"|foo+todo="BAR" when displaying > tasks scheduled for today. You can't. > Is there any ways to set filters like this for a custom agenda? Or is > it anyway

Re: [O] [RFC] Alternative to sub/superscript regexp

2013-11-26 Thread Carsten Dominik
Hi Nicolas, I have tested this a bit, and it does pretty much what I want. Just to be sure: We will also support expressions with braces, right? - Carsten On Nov 25, 2013, at 6:14 PM, Nicolas Goaziou wrote: > Hello, > > For the record `org-match-substring-regexp' is a variation on: > > "\\(

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-26 Thread Alan Schmitt
kjambunat...@gmail.com writes: > Alan Schmitt writes: > >> where can I find documentation about creating a package? > > (info "(elisp) Packaging") Double thanks: for the links, and for making me notice that my info was showing me some things from an old emacs. Alan

Re: [O] M-up-arrow no longer moves text up

2013-11-26 Thread Carsten Dominik
On Nov 25, 2013, at 2:03 PM, Susan Cragin wrote: > I have confirmed that the problem is with the emacs build. Emacs24 works with > today's org-mode. Thank you for following up. - Carsten > > --Susan message-- >> I compile both emacs and org-mode daily. >> Today M-up and M-down have stopped

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Rasmus
"Loris Bennett" writes: > So Achim's suggestion of using ":results raw" might be the way to go > (once I've worked out what the sed bit is doing ...) > > However, the table will ultimately be around 4 lines long, > so from a performance point of view it would be nice not to have to pipe > the

[O] Agenda filter on tags

2013-11-26 Thread Fredrik
I'm looking for a way to set a filter for an agenda. I want to use a logical filter like : this+todo="THAT"|foo+todo="BAR" when displaying tasks scheduled for today. Is there any ways to set filters like this for a custom agenda? Or is it anyway to add filters like this when viewing an agenda?

Re: [O] Creating hline in table from source block?

2013-11-26 Thread Loris Bennett
Eric Schulte writes: > "Loris Bennett" writes: > >> Dear List, >> >> This >> >> #+BEGIN_SRC sh >> echo "a b c d" >> echo "1 2 3 4" >> echo "5 6 7 8" >> #+END_SRC >> >> produces this: >> >> #+RESULTS: >> | a | b | c | d | >> | 1 | 2 | 3 | 4 | >> | 5 | 6 | 7 | 8 | >> >> How do I get this >>