Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-11-25 Thread John Kitchin
Could you remind us of what you are trying to do? It seems like you may not necessarily need custom elements (although that could be useful). For example, you can put a lot of information in properties of a headline. You might be interested in this: http://kitchingroup.cheme.cmu.edu/blog/2014/11/

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-11-25 Thread Marcin Borkowski
On 2014-11-25, at 22:25, Marcin Borkowski wrote: > Now that I actually started work on my exporter, I'd like to investigate > this further. The thing is, I'm not sure where to start. First of all, > I have a bit old Org-mode (without latex-math-blocks); I guess I'll just > have to update it (I'

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-11-25 Thread Marcin Borkowski
Hello there, this is close to necromancy, but let me revive this old thread. On 2014-03-16, at 11:16, Nicolas Goaziou wrote: > Another, more advanced option, is to use a parse tree filter to create > pseudo-types, i.e., element or object types that don't exist in regular > Org syntax. See `math-

[O] Including files, a question

2014-11-25 Thread Samuel W Flint
When including org files, is there a way to ignore the #+TITLE: directives, and such? I have several separate org files, which contain different things, which can be kept separate, but would also be nice together, and would like to only have a single title. Is there any way to do this? Thanks.

Re: [O] Problem with org-agenda-clockreport-mode and tag-filtered view in agenda

2014-11-25 Thread Benoit Bidoggia
Dear all, It might happen that my previous message went lost, so I take the freedom of reposting a message on the same topic. PROBLEM: Agenda clock report mode does not take into consideration filtered view anymore (C-u R in agenda view). It's behavior changed somewhere between version 8.2.4 (fo

Re: [O] [PATCH] Improve success message from org-remove-file.

2014-11-25 Thread Achim Gratz
Achim Gratz NexGo.DE> writes: > The right thing to do is to make the maintainers that will commit your code > aware of that fact. I see you are already listed as a contributor to > Orgmode w/ assigned copyright. Sorry, slip of fingers. You are still listed as a contributor w/o assigned copyrigh

Re: [O] [PATCH] Improve success message from org-remove-file.

2014-11-25 Thread Achim Gratz
Karl Fogel red-bean.com> writes: > However, I *do* have copyright assignment on file with the FSF (for > Emacs), so I interpreted the above as meaning I shouldn't include > "TINYCHANGE". What is the right thing to do here? The right thing to do is to make the maintainers that will commit your co

Re: [O] [PATCH] Improve success message from org-remove-file.

2014-11-25 Thread Karl Fogel
Nicolas Goaziou writes: >Karl Fogel writes: > >> The attached patch improves the interactive success message from >> `org-remove-file'. Comments / suggestions welcome, of course; I've >> tried to follow http://orgmode.org/worg/org-contribute.html here. > >Applied, thank you. > >I added "TINYCHAN

[O] bug#19141: Emacs 24.4: ShellExecute fails in one case under Windows 7

2014-11-25 Thread Eli Zaretskii
Adding Bastien to the addressees, as this is at least somewhat related to Org and its maintenance procedures. > From: AW > Date: Fri, 21 Nov 2014 12:30:10 +0100 > > What works: > > [[fuu:baz.pdf]] - a link to a local file, which has to be opened in a pdf > viewer, using an abbrevation for the p

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Michael Albinus
Kit-Yan Choi writes: > Michael, Hi Kit, > Thanks for the suggestion. Indeed `file-local-copy' would have made > the code cleaner. Yet `file-local-copy' generates a new filename each > time it's run. But I wanted to allow the code to check whether the > remote image has already been fetched befo

Re: [O] How to trigger the clockcheck in an agenda view.

2014-11-25 Thread Rainer Stengele
Am 20.11.2014 um 13:51 schrieb Rainer Stengele: > Am 27.09.2013 um 15:00 schrieb Carsten Dominik: >> >> On 10.9.2013, at 17:07, Nicolas Girard wrote: >> >>> 2013/8/5 Sebastien Vauban : Except the above, I definitely don't understand why it wouldn't work for you. Can you reprod

Re: [O] Cannot start any agenda anymore

2014-11-25 Thread Rainer Stengele
Am 25.11.2014 um 09:53 schrieb Nicolas Goaziou: > Hello, > > Rainer Stengele writes: > >> since yesterday I cannot start any agenda anymore. >> I did reorganise a few things but cannot find the reason whats wrong. >> >> setting debug to true I get the message below after a standard "C-a >> a t". P

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Kit-Yan Choi
Michael, Thanks for the suggestion. Indeed `file-local-copy' would have made the code cleaner. Yet `file-local-copy' generates a new filename each time it's run. But I wanted to allow the code to check whether the remote image has already been fetched before and so skip unnecessary file transfe

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Michael Albinus
Kit-Yan Choi writes: > Ah my apologies. I forgot I had to use `file-name-directory' for > creating the path to the temporary directory (too long ago since I did > this). Here is the corrected version. > > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -19340,7 +19340,7 @@ boundaries." > (not (cdr (or

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Kit-Yan Choi
Ah my apologies. I forgot I had to use `file-name-directory' for creating the path to the temporary directory (too long ago since I did this). Here is the corrected version. --- a/lisp/org.el +++ b/lisp/org.el @@ -19340,7 +19340,7 @@ boundaries." (not (cdr (org-element-contents parent)

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Rasmus
Kit-Yan Choi writes: >> Thanks for your patch. However, I wonder if we really want this. Remote >> images could be slow to fetch, and it would make buffer unusable. > > I personally needed this functionality. I have tried to reduce the amount > of time spent on fetching the images by checking wh

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Kit-Yan Choi
Thank you for your comments! They are very helpful. > Thanks for your patch. However, I wonder if we really want this. Remote > images could be slow to fetch, and it would make buffer unusable. I personally needed this functionality. I have tried to reduce the amount of time spent on fetching t

Re: [O] [bug] YASnippet (bound to SPC) and Org in `master'

2014-11-25 Thread Nicolas Goaziou
Sebastien Vauban writes: >> I don't understand why yas-expand (or yas/expand) appears in >> `org-self-insert-command'. This feature was introduced for the first >> time in 94c4f801a2a8f0e0e14b48719c22e06dd9a1e599: >> >> Tables: Fix auto-blanking of fields is yasnippet is active. >> >>

Re: [O] [export] latex: texorpdfstring in heading

2014-11-25 Thread Andreas Leha
Hi Rasmus and Nicolas, Nicolas Goaziou writes: > Rasmus writes: > >> You could use a macro if it's only for one document, see >> (info "(org) Macro replacement"). > > E.g, something like > > #+MACRO: latex-or-not (eval (if (org-export-derived-backend-p > org-export-current-backend 'latex) "$1

Re: [O] [export] latex: texorpdfstring in heading

2014-11-25 Thread Rasmus
Andreas Leha writes: > Hi, > > Nicolas Goaziou writes: >> Hello, >> >> Andreas Leha writes: >> >>> So, here is my question: How do I use \texorpdfstring correctly in an >>> org heading? >>> >>> >>> And here is a minimal example: >>> >>> #+latex_header: \usepackage{hyperref} >>> >>> * This conta

Re: [O] [export] latex: texorpdfstring in heading

2014-11-25 Thread Nicolas Goaziou
Rasmus writes: > You could use a macro if it's only for one document, see > (info "(org) Macro replacement"). E.g, something like #+MACRO: latex-or-not (eval (if (org-export-derived-backend-p org-export-current-backend 'latex) "$1" "$2")) {{{latex-or-not(latex code,something else)}}} Re

Re: [O] [org-drill] understand description-lists

2014-11-25 Thread Rasmus
Hi Puneeth, Puneeth Chaganti writes: > On Tue, Nov 25, 2014 at 4:59 PM, Rasmus wrote: >> I would like to use org-drill to train my Spanish vocabulary. However, >> it's essential that I can also export my file for "offline-review". I >> don't want to maintain two files. I like to organize my

Re: [O] [bug] YASnippet (bound to SPC) and Org in `master'

2014-11-25 Thread Sebastien Vauban
Hello Nicolas, >> In Org `master' (not in `maint'), there is a bug (or conflict or ???) >> when one binds `yas-expand' to SPC (the "abbrev-way"), as in the >> following minimal Emacs configuration file: > > [...] > >> With the above config, typing SPC after any word in any Org table >> cell delete

Re: [O] [org-drill] understand description-lists

2014-11-25 Thread Puneeth Chaganti
On Tue, Nov 25, 2014 at 4:59 PM, Rasmus wrote: > Hi, > > I would like to use org-drill to train my Spanish vocabulary. However, > it's essential that I can also export my file for "offline-review". I > don't want to maintain two files. I like to organize my file like this: > > *** Days > - lune

Re: [O] Cannot start any agenda anymore

2014-11-25 Thread Rainer Stengele
Am 25.11.2014 um 09:53 schrieb Nicolas Goaziou: > Hello, > > Rainer Stengele writes: > >> since yesterday I cannot start any agenda anymore. >> I did reorganise a few things but cannot find the reason whats wrong. >> >> setting debug to true I get the message below after a standard "C-a >> a t".

Re: [O] [export] latex: texorpdfstring in heading

2014-11-25 Thread Andreas Leha
Hi, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> So, here is my question: How do I use \texorpdfstring correctly in an >> org heading? >> >> >> And here is a minimal example: >> >> #+latex_header: \usepackage{hyperref} >> >> * This contains \texorpdfstring{$\prod_{k=1}^N$}{prod

[O] [org-drill] understand description-lists

2014-11-25 Thread Rasmus
Hi, I would like to use org-drill to train my Spanish vocabulary. However, it's essential that I can also export my file for "offline-review". I don't want to maintain two files. I like to organize my file like this: *** Days - lunes :: Monday - martes:: Tuesday - miƩrcoles :: Wednesda

Re: [O] M-RET vs C-RET

2014-11-25 Thread Rasmus
Hi, Nicolas Goaziou writes: > Rasmus writes: > >> From my point of view, we can make every function tied to M-RET beyond >> `org-insert-headline' configurable and turned off by default. This may, >> however, also add confusion ("why did M-RET work in X's Org but not in >> mine..."). > > In thi

Re: [O] [export] latex: texorpdfstring in heading

2014-11-25 Thread Eric S Fraga
On Tuesday, 25 Nov 2014 at 01:25, Andreas Leha wrote: [...] > (It seems that you sent your reply even earlier than Nicolas -- > unfortunately I only just saw it now appearing on the list) Yes: I process most of my emails while commuting and offline and my emails only get sent once I connect agai

Re: [O] M-RET vs C-RET

2014-11-25 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > In a similar vein to this thread, I've always wondered if the following > is normal or not. > > Having such a file: > > ** TODO Research > > - Who are the competitors? > - What are our product's advantages? > - Target market > - Elevator pitch| > > Check out w

[O] M-RET vs C-RET

2014-11-25 Thread Sebastien Vauban
Hello, In a similar vein to this thread, I've always wondered if the following is normal or not. Having such a file: --8<---cut here---start->8--- ** TODO Research - Who are the competitors? - What are our product's advantages? - Target market - Elevator pitc

Re: [O] [PATCH] inline src block results can be removed

2014-11-25 Thread Andreas Leha
Hi Daniele, Daniele Pizzolli writes: > On 2014-11-24 12:12, Daniele Pizzolli wrote: >> On 2014-11-24 11:18, Andreas Leha wrote: >>> Hi Daniele, >>> >>> I think your wishlist is somewhere further down the road. I usually >>> implement some of your points in the src_language. I see that it >>>

Re: [O] [patch] extend org-meta-return to keywords

2014-11-25 Thread Nicolas Goaziou
Rasmus writes: > From my point of view, we can make every function tied to M-RET beyond > `org-insert-headline' configurable and turned off by default. This may, > however, also add confusion ("why did M-RET work in X's Org but not in > mine..."). In this case, S-RET is a superior (as in less c

Re: [O] Cannot start any agenda anymore

2014-11-25 Thread Nicolas Goaziou
Hello, Rainer Stengele writes: > since yesterday I cannot start any agenda anymore. > I did reorganise a few things but cannot find the reason whats wrong. > > setting debug to true I get the message below after a standard "C-a > a t". Please help I am completely stuck. > Debugger entered--Lisp

Re: [O] [bug] YASnippet (bound to SPC) and Org in `master'

2014-11-25 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > In Org `master' (not in `maint'), there is a bug (or conflict or ???) > when one binds `yas-expand' to SPC (the "abbrev-way"), as in the > following minimal Emacs configuration file: [...] > With the above config, typing SPC after any word in any Org table c

Re: [O] [Patch] org-display-inline-images: Add support for remote images

2014-11-25 Thread Nicolas Goaziou
Hello, Kit-Yan Choi writes: > I would like to submit a patch to support displaying remote images inline > in Org-mode. Attached is the formatted patch (or github branch here > > .) Thanks for your patch. Howe

Re: [O] [PATCH] Improve success message from org-remove-file.

2014-11-25 Thread Nicolas Goaziou
Hello, Karl Fogel writes: > The attached patch improves the interactive success message from > `org-remove-file'. Comments / suggestions welcome, of course; I've > tried to follow http://orgmode.org/worg/org-contribute.html here. Applied, thank you. I added "TINYCHANGE" at the end of your com

Re: [O] [PATCH] inline src block results can be removed

2014-11-25 Thread Daniele Pizzolli
On 2014-11-24 12:12, Daniele Pizzolli wrote: On 2014-11-24 11:18, Andreas Leha wrote: Hi Daniele, I think your wishlist is somewhere further down the road. I usually implement some of your points in the src_language. I see that it would be nice if org supported these use cases, but I would