[O] Subtree-specific variables

2015-05-08 Thread Joon Ro
Hi, I was wondering if there is a way to have subtree-specific variables? I have been using #+MACRO: but it seems it is a buffer-wide thing. For example, it would be great if I can use a property value in org-mode bodies. Best,Joon

Re: [O] Bug: org-babel-ref-parse needs to set current buffer to the buffer of the marker [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)]

2015-05-08 Thread Oleg Sivokon
Nicolas Goaziou writes: Hello, Nicolas. > Do you mean `defstruct'? If so, it has been in cl.el for ages. I doubt > this is related to the incompatibility you are experiencing. Yes, that's `defstruct'. Its ABI changed between 24.5 and 25.0, The older one had this in the end: (push `(setq ,t

Re: [O] Inline LaTeX formulae

2015-05-08 Thread Titus von der Malsburg
On 2015-05-08 Fri 14:40, Nicolas Goaziou wrote: > Titus von der Malsburg writes: > >> Both are fixed in the patch below. > > Thank you. > >> I also included opening parentheses. It’s an unlikely case but for >> consistency they should be included. > > If there's no need to exclude opening parenth

Re: [O] Bug: org-babel-ref-parse needs to set current buffer to the buffer of the marker [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)]

2015-05-08 Thread Nicolas Goaziou
Oleg Sivokon writes: > I've started working on the test as I realized that the behavior no > longer reproduces (since I've filed the bug, I've rebuilt my > Emacs...). Now even if the marker is initially in the wrong buffer, if > you call `marker-position', it still succeeds. I checked the histo

Re: [O] Inline LaTeX formulae

2015-05-08 Thread Nicolas Goaziou
Titus von der Malsburg writes: > Both are fixed in the patch below. Thank you. > I also included opening parentheses. It’s an unlikely case but for > consistency they should be included. If there's no need to exclude opening parenthesis, I suggest to use "\\([[:punct:][:space:]]\\|$\\)" in

Re: [O] Inline LaTeX formulae

2015-05-08 Thread Titus von der Malsburg
On 2015-05-07 Thu 13:00, Nicolas Goaziou wrote: > Titus von der Malsburg writes: > >> Rasmus’ proposal is simple and correctly implements what is specified in >> the manual. Below is a patch that implements this solution. Does >> anyone see a concrete problem? If not, it should be merged. > >

Re: [O] Converting a Dissertation Template from docx to .org to use for LaTeX

2015-05-08 Thread Eduardo Mercovich
he other thing is in the end I have to convert from the .tex file to a .docx file using pandoc Org exports to odt via ox-odt. You can presumably export directly to docx using org-odt-convert-processes. And you can specify another existent odt document to use as a template. :) Hope it help

Re: [O] Redefine key for sorting

2015-05-08 Thread Jorge A. Alfaro-Murillo
Hi Igor. Igor Sosa Mayor writes: I'm using very often the sort function of lists. Unfortunately it is bound to a key combination (C-c ^) which is rather uneasy. I would like to change it to C-c ñ. Which is the best method to redefine it? Doesn't the standard (eval-after-load "org" '(define

Re: [O] Redefine key for sorting

2015-05-08 Thread Leo Ufimtsev
My C-c ^ doesn't appear to be mapped to sorting of the list. But if you press C-h k, then your key-combo, then it shows you which function is being called. e.g org-sort-list. You can then re-map via a function like: (define-key 'org-mode-map (kbd "C-c n") 'org-sort-list) Which you could add to

Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon)

2015-05-08 Thread Leo Ufimtsev
- Original Message - > From: "Nicolas Goaziou" > To: "Leo Ufimtsev" > Cc: "Org Mode" > Sent: Friday, May 8, 2015 4:12:35 AM > Subject: Re: [O] Bug: org-return-indent does not work properly with > description lists (i.e ending with double colon) > > Hello, > > Leo Ufimtsev writes:

Re: [O] Bug: org-babel-ref-parse needs to set current buffer to the buffer of the marker [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)]

2015-05-08 Thread Oleg Sivokon
Nicolas Goaziou writes: > This won't work as `org-babel-read' is not called within the scope of > `with-current-buffer'. > > I think it should be something like this: > > (with-current-buffer > (if (markerp org-babel-current-src-block-location) > (marker-buffer org-babel-current

Re: [O] Marking/highlighting text temporarily

2015-05-08 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > We're just talking about annotations-plus-metadata here, right? Not > actual in-text TODOs? I'm not convinced in-text TODOs would be interesting, because they would make building the agenda an order of magnitude slower. My concerns about syntax are: - it sho

[O] Redefine key for sorting

2015-05-08 Thread Igor Sosa Mayor
Hi, in the last time, I'm using very often the sort function of lists. Unfortunately it is bound to a key combination (C-c ^) which is rather uneasy. I would like to change it to C-c ñ. Which is the best method to redefine it? Many thanks in advance! -- :: Igor Sosa Mayor :: joseleopoldo1..

Re: [O] Bug: Capture templates: file-olp

2015-05-08 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > I just noticed, that if I use a capture template like > > ("p" "foo" entry (file+olp "" "foo") "* %?\n%t\n%i") > > It complains about: > > Template key: > org-find-olp: Wrong type argument: stringp, nil This should be fixed in b27e630babc461ef22528c2dccf339f84

Re: [O] Bug: TBLFM regexp doesn't account for possible white space after the pipe [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)]

2015-05-08 Thread Nicolas Goaziou
Hello, Oleg Sivokon writes: > When evaluating a formula, the regular expression used to locate the > formula will miss, if there is a white space after the rightmost pipe in > the last row, i.e. > > |1|* > #+tblfm: vsum($1) > > asterisk is where the extra space character appears. Good catch. >

Re: [O] Bug: org-babel-ref-parse needs to set current buffer to the buffer of the marker [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)]

2015-05-08 Thread Nicolas Goaziou
Oleg Sivokon writes: > Please let me know if I didn't export the patch properly (patch > attached). Thank you. Some comments follow. > From fdc1409602b48ba5f4cd1b5be6264d8311b8b11c Mon Sep 17 00:00:00 2001 > From: wvxvw > Date: Fri, 8 May 2015 00:14:11 +0300 > Subject: [PATCH] Making sure the

Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon)

2015-05-08 Thread Nicolas Goaziou
Hello, Leo Ufimtsev writes: > If I have a list item with a double colon, with the cursor at the end:like: > > - Hello World :: | > > > And press C-c (org-return-indent), then the cursor is at position 0 on the > next line: > > - Hello World :: > | This should be fixed in 4980a9dbb8ff1690abb54