[O] Emacs freeze after selecting a capture template

2015-11-25 Thread Daniel P Gomez
Hi all, I'm new to Emacs and org-mode. I've tried to set up a simple TODO list by calling org-capture and when I select my [t] todo item on *Org Select*, Emacs freezes and I need to kill its process. On the mini-buffer I can read the following error message: Clipboard pasted as level 2 subtree E

Re: [O] Emacs freeze after selecting a capture template

2015-11-26 Thread Daniel P Gomez
a wrote: > On Wednesday, 25 Nov 2015 at 23:49, Daniel P Gomez wrote: > > Hi all, > > > > I'm new to Emacs and org-mode. I've tried to set up a simple TODO list by > > calling org-capture and when I select my [t] todo item on *Org Select*, > > Emacs freezes an

[O] Have SRC_BLOCK :padline accept numbers

2017-03-28 Thread Daniel P Gomez
A use case is tangling python source code snippets containing class definitions. ( http://emacs.stackexchange.com/questions/31738/org-mode-babel-ensure-two-empty-lines-between-tangled-code-blocks-for-python ) Per PEP8, the use of blank lines stipulates: "Surround top-level function and class defi

Re: [O] Have SRC_BLOCK :padline accept numbers

2017-03-29 Thread Daniel P Gomez
uot;) (:cache . "no") (:session . "none")) " ") org-eldoc-get-src-header() org-eldoc-documentation-function() eldoc-print-current-symbol-info() GNU Emacs 25.2.1 (x86_64-apple-darwin16.4.0, NS appkit-1504.81 Version 10.12.3 (Build 16D32)) of 2017-03-22 Copyright (C) 2017 F

[O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-02-28 Thread Daniel P Gomez
Dear org users, If I include a file child.org in parent.org using the #+INCLUDE derivative, and the following two conditions are true: 1. child.org and parent.org are not in the same directory nor share directory structure, 2. child.org contains file links with relative file paths, then exportin

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-02-28 Thread Daniel P Gomez
, 2018 at 6:51 PM, Nicolas Goaziou wrote: > Hello, > > Daniel P Gomez writes: > >> If I include a file child.org in parent.org using the #+INCLUDE >> derivative, and the following two conditions are true: >> >> 1. child.org and parent.org are not in the s

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-02-28 Thread Daniel P Gomez
y to clean it up. Patch attached. On Wed, Feb 28, 2018 at 9:11 PM, Daniel P Gomez wrote: > Sorry for the ignorance, but where could I look up how to use a parse > tree filter? And where would these modifications make sense? > Any pointers towards documentation, functions, or any help of

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-03-01 Thread Daniel P Gomez
o, my approach completely disregards link descriptions, which may be relevant if the linked file would be, for example, an html document. Would there be a cleaner org approach to replace the path keeping the description? Thank you. Regards, Daniel On Thu, Mar 1, 2018 at 7:32 PM, Nicolas Goaziou wro

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-03-02 Thread Daniel P Gomez
ind a simple way of rewriting links without making them absolute, as `org-export--prepare-file-contents` does not have access to the path of the including file, only of the included file. On Thu, Mar 1, 2018 at 11:42 PM, Nicolas Goaziou wrote: > Hello, > > Daniel P Gomez writes: > &

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-03-03 Thread Daniel P Gomez
Hi, > `org-export--prepare-file-contents' is called from the including > document, so you can get its path with (buffer-file-name > (buffer-base-buffer)). > > However, we need to handle the case where the including buffer is not > associated to a file, i.e., the Sexp above returns nil. > I notic

Re: [O] How to keep correct filepaths when using the #+INCLUDE derivative?

2018-03-10 Thread Daniel P. Gomez
file]] + +File link pointing to a specific header +[[file:../normal.org::top]] + +Bracketed file link without description +[[file:setupfile.org]] + +Plain file link +file:setupfile.org -- 2.16.2 Nicolas Goaziou writes: Hello, Daniel P Gomez writes: I noticed that (buffer-file-name (buffer-base-buffer)) wi

[O] Bug: Weird interaction between ox-extra and include :minlevel

2018-04-12 Thread Daniel P. Gomez
ty. Would anyone have an idea on how to fix this? Is there any intention of bringing ox-extra functionality into main Org? Something like #+ignore_tags would be a powerful addition for fine grained export control, in my opinion. Thank you -- Daniel P. Gomez

Re: [O] Bug: Weird interaction between ox-extra and include :minlevel

2018-04-12 Thread Daniel P Gomez
and require knowledge about the Org API. Furthermore, tags are excellent because they're easy to manipulate and search for. On Thu, Apr 12, 2018 at 3:28 PM, Nicolas Goaziou wrote: > Hello, > > "Daniel P. Gomez" writes: > >> Is there any intention of bringing ox-ext