Re: [O] Link type for HTML5 videos

2017-01-22 Thread Arun Isaac
I was thinking of something like #+ATTR_HTML: controls #+POSTER: quadratic.png video:quadratic.webm exporting to the following HTML. > That looks too rich for a link to me unless alot of it is always the > same, or derived, e.g. the id tags. It is quite rich. But, note that even img tags, es

[O] bug#25132: 26.0.50; emacs hangs when loading org file with python source blocks

2017-01-22 Thread Dmitry Gutov
On 20.01.2017 03:52, npost...@users.sourceforge.net wrote: My feeling is that inhibit-modification-hooks should usually be buffer local anyway. Maybe you're right. inhibit-read-only, bound nearby, seems to be in the same situation. If we are not, why not make inhibit-modification-hooks alwa

Re: [O] Link type for HTML5 videos

2017-01-22 Thread Scott Randby
On 01/22/2017 04:59 PM, John Kitchin wrote: > That looks too rich for a link to me unless alot of it is always the > same, or derived, e.g. the id tags. That is why I said that agreeing on the default HTML export for the link type will be difficult. Scott > > Something like this is what a link

[O] jit-lock org-goto

2017-01-22 Thread edgar
Hello, This is not very important, and I apologise in advance for not sending all the information that you may need. I was RTFM, and tried `C-c C-j' (`org-goto'). Instead of the desired function, I got this in my *Messages* stack: Making org-startup-folded buffer-local while locally let-bou

Re: [O] Link type for HTML5 videos

2017-01-22 Thread John Kitchin
That looks too rich for a link to me unless alot of it is always the same, or derived, e.g. the id tags. Something like this is what a link would look like: video:quadratic.webm and the html export could certainly generate what you put in the html block below. See http://kitchingroup.cheme.cmu.

Re: [O] Link type for HTML5 videos

2017-01-22 Thread Scott Randby
On 01/22/2017 01:22 PM, John Kitchin wrote: > What would these links look like? And what should they render too? I wasn't suggesting support for the idea, I was just suggesting that it makes sense to to both video and audio if they are to be done. However, I currently use export blocks to do vide

Re: [O] [PATCH] import org2tc scripts from John Wiegly into org-mode

2017-01-22 Thread Antoine Beaupré
On 2017-01-22 14:13:30, Nicolas Goaziou wrote: > Hello, > > Antoine Beaupré writes: > >> this was taken from this Github repo with the author's approval: >> >> https://github.com/jwiegley/org2tc >> >> this is very useful to convert org-mode clock entries into the more >> easily parseable timeclock

[O] more global keys in ox-bibtex

2017-01-22 Thread Sébastien Le Maguer
Dear All, I did a mini-patch to capture completely the key in bibtex export. For example for the following key, in the bibtex2html produced file: Balestri et al., 1999 only Balestri will be captured instead of Balestri et al., 1999 As it is 3 characters, I just submit the patch here and hope i

Re: [O] Link type for HTML5 videos

2017-01-22 Thread John Kitchin
What would these links look like? And what should they render too? On Sun, Jan 22, 2017 at 1:09 PM Scott Randby wrote: > On 01/22/2017 12:15 PM, Arun Isaac wrote: > > > > > > It would be nice to have a link type to export HTML5 videos. Currently, > > > the only way to insert videos is to use th

Re: [O] Link type for HTML5 videos

2017-01-22 Thread Scott Randby
On 01/22/2017 12:15 PM, Arun Isaac wrote: > > It would be nice to have a link type to export HTML5 videos. Currently, > the only way to insert videos is to use the #+BEGIN_video, #+END_video > block with literal #+HTML in them. This seems a little kludgy. Thoughts? If there is to be a link type t

[O] Can a Latex Image size be configurable?

2017-01-22 Thread Young-whan
Hi, I'm using ToT org ( Org mode version 9.0.3 (release_9.0.3-261-g4696d6.dirty @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/) ) Comparing to 8.2 version, the latex image is too small. Is there a way to configure the latex image size globally/locally?

[O] Link type for HTML5 videos

2017-01-22 Thread Arun Isaac
It would be nice to have a link type to export HTML5 videos. Currently, the only way to insert videos is to use the #+BEGIN_video, #+END_video block with literal #+HTML in them. This seems a little kludgy. Thoughts? Thanks, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Latex Preview Fragment is not working on org 9.0.3 from elpa

2017-01-22 Thread Young-whan
Thank you, and, could you let me know what version would be gotten this fix, please? On Sat, Jan 21, 2017 at 2:59 AM, Nicolas Goaziou wrote: > Hello, > > Young-whan writes: > > > Looks like it is a bug? Why it is not loaded automatically while 8.2 has > no > > issue? > > Fixed. Thank you. > >

Re: [O] How to set the scheduled property programmatically?

2017-01-22 Thread Michael Welle
Hello, Michael Welle writes: > Hello, > > what is the correct way to set the property? I tried > > (org-entry-put pom "SCHEDULED" "<2017-01-01 Sun ++1w>") > > which results in > > SCHEDULED: <2017-01-01 Sun> > > As you can see, the 'repeater' is missing. org-cancel-repeater uses regexp search an

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Michael Welle
Hello, Nicolas Goaziou writes: > Michael Welle writes: > >> later means a lot later ;). Maybe months or even years. My personal use >> case is, that I have dozens of recurring tasks. Now I leave the country >> for a few months. The tasks only make sense, when I am here. So I want to >> disable

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Nicolas Goaziou
Michael Welle writes: > later means a lot later ;). Maybe months or even years. My personal use > case is, that I have dozens of recurring tasks. Now I leave the country > for a few months. The tasks only make sense, when I am here. So I want to > disable them and enable them, when I'm back. I ca

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Michael Welle
Hello, Nicolas Goaziou writes: > Michael Welle writes: > >> I want to 'hide' the value of the SCHEDULED property and later restore >> it. I can use inactive time stamps. But that means that I have to change >> the value when deactivating the task and again, later when I activate >> the task aga

Re: [O] 9.1.3.2 Template expansion: documentation issue

2017-01-22 Thread Nicolas Goaziou
Hello, Karl Eichwalder writes: > In 9.1.3.2 Template expansion, you say: > > %\n Insert the text entered at the nth %^{PROMPT}, where > ‘n’ is > > but in my 25.1.1, you must use "%\\n". No, you mustn't. The placeholder really is "%\n", but Elisp require backslash characters to be e

Re: [O] org-entry-delete vs org-entry-put

2017-01-22 Thread Michael Welle
Hello, Nicolas Goaziou writes: > Hello, > > Michael Welle writes: > >> 1. Property names like DISABLED-SCHEDULED seem to be problematic. I >>guess the regexp matching the scheduled property is too greedy. > > What exactly is problematic? Could you expound a bit? no, I can reproduce it today

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Nicolas Goaziou
Michael Welle writes: > I want to 'hide' the value of the SCHEDULED property and later restore > it. I can use inactive time stamps. But that means that I have to change > the value when deactivating the task and again, later when I activate > the task again. But it would have been nicer without

Re: [O] org-entry-delete vs org-entry-put

2017-01-22 Thread Nicolas Goaziou
Hello, Michael Welle writes: > 1. Property names like DISABLED-SCHEDULED seem to be problematic. I >guess the regexp matching the scheduled property is too greedy. What exactly is problematic? Could you expound a bit? > 2. (org-entry-put pom "SCHEDULED" nil) removes the property, but >

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Michael Welle
Hello, Nicolas Goaziou writes: > Michael Welle writes: > >> Nicolas Goaziou writes: >>> >>> Michael Welle writes: >>> a task like this behaves like a recurring task, i.e. if I set the task state to DONE it is automatically switched back to TODO. Is that the intended behaviour?

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Nicolas Goaziou
Michael Welle writes: > Nicolas Goaziou writes: >> >> Michael Welle writes: >> >>> a task like this behaves like a recurring task, i.e. if I set the task >>> state to DONE it is automatically switched back to TODO. Is that the >>> intended behaviour? >>> >>> * TODO task1 >>> :PROPERTIES: >>>

Re: [O] extra paragraph in image export?

2017-01-22 Thread Nicolas Goaziou
Hello, Matt Price writes: > with org-html-html5-fancy is non-nil, images are exported with something > like this code: > > > https://imgs.xkcd.com/comics/proof_2x.png"; alt="proof_2x.png" > class="fragment (appear) visible current-fragment" > data-fragment-index="0"> > > > > At least in ox-rev

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Michael Welle
Hello, Nicolas Goaziou writes: > Hello, > > Michael Welle writes: > >> a task like this behaves like a recurring task, i.e. if I set the task >> state to DONE it is automatically switched back to TODO. Is that the >> intended behaviour? >> >> * TODO task1 >> :PROPERTIES: >> :FOO: <2017-03-1

Re: [O] [PATCH] import org2tc scripts from John Wiegly into org-mode

2017-01-22 Thread Nicolas Goaziou
Hello, Antoine Beaupré writes: > this was taken from this Github repo with the author's approval: > > https://github.com/jwiegley/org2tc > > this is very useful to convert org-mode clock entries into the more > easily parseable timeclock.el format, a fundamental step in automating > billing with

Re: [O] Recurring tasks and arbitrary properties

2017-01-22 Thread Nicolas Goaziou
Hello, Michael Welle writes: > a task like this behaves like a recurring task, i.e. if I set the task > state to DONE it is automatically switched back to TODO. Is that the > intended behaviour? > > * TODO task1 > :PROPERTIES: > :FOO: <2017-03-12 Sun ++1w> > :END: Historically, location o

Re: [O] org-stuck-projects confuses a "Next" heading with the NEXT keyword

2017-01-22 Thread Nicolas Goaziou
Hello, Guy Mayraz writes: > I want every project to have a NEXT or WAIT keyword, and have defined > org-stuck-projects as follows: > > (setq org-stuck-projects '("+LEVEL=2/-INACTIVE-DONE" ("NEXT" "WAIT") nil > "")) > > It mostly works, but it does not identify as stuck a project that has a > "Ne

[O] Table formula from code block

2017-01-22 Thread Roger Mason
Hello, I have these code blocks: #+BEGIN_SRC sh :tangle "skribilo_to_engine.sh" #!/usr/local/bin/bash infile=$3 engine=$2 skribilo=$1/skribilo rm -rf $engine; mkdir -p $engine result="Failed" $skribilo -t $engine

Re: [O] remote ref in spreadsheets

2017-01-22 Thread Michael Welle
Hello, so, two years and two yearly tables later I solved the problem. I couldn't see how to get that to work with orgaggregate, so I tried a different approach. My tables look like follows: * Tables #+NAME: overview | Year | Sum | |--+| | 2017 | 107.90 | | 2016 | 42.00 | |--+

[O] Filter out agenda items using elisp

2017-01-22 Thread Karl Voit
Hi! I want to write my own flexible narrow function for my agenda using RegEx. I found org-agenda-filter-by-regexp() which seems a perfect hit for my task. However, I need to call it with a universal prefix in order to remove lines matching my RegEx: (defun my-narrow-agenda () "Getting rid o