Re: [O] temporary set source blocks major-mode-hook to nil locally to speed up Org Mode

2018-10-18 Thread stardiviner
Nicolas Goaziou writes: > > Did you try to set the hook to a different value before (funcall lang-mode)? > Yes, like I said in previous messages, I want to make lang-mode-hook empty. It tested a few times, with restarting Emacs (loading a refresh Org Mode). It failed to fontify source blocks

Re: [O] How to make agenda generation faster

2018-10-18 Thread stardiviner
>> However, before it could be suitable as a possible replacement, it will >> likely require more optimization. Some queries, especially more complex >> ones, are slower than the equivalent searches and agendas in the current >> Org Agenda code. This is because of the way the queries run predic

Re: [O] How to make agenda generation faster

2018-10-18 Thread Nicolas Goaziou
Hello, Adam Porter writes: > Org is welcome to take any of the org-ql or org-ql-agenda code you think > would be useful. Thank you. > However, before it could be suitable as a possible replacement, it will > likely require more optimization. Some queries, especially more complex > ones, are s

Re: [O] Bug: ox-odt.el should support text:start-value [9.1.14 (9.1.14-7-g01c419-elpaplus @ …/org-plus-contrib-20181015/)]

2018-10-18 Thread Nicolas Goaziou
Hello, "Mark A. Hershberger" writes: > Working code changes: > > diff -ub org-plus-contrib-20181008/ox-odt.el\~ > org-plus-contrib-20181008/ox-odt.el > --- org-plus-contrib-20181008/ox-odt.el~ 2018-10-12 19:13:13.095335320 > -0400 > +++ org-plus-contrib-20181008/ox-odt.el 2018-10-17

Re: [O] temporary set source blocks major-mode-hook to nil locally to speed up Org Mode

2018-10-18 Thread Nicolas Goaziou
Hello, stardiviner writes: > Here is my try: > > #+begin_src diff > modified lisp/org-src.el > @@ -585,7 +585,14 @@ as `org-src-fontify-natively' is non-nil." > (erase-buffer) > ;; Add string and a final space to ensure property change. > (insert string " ")) > -

Re: [O] pcomplete error inside of headline asterisks when typing asterisk

2018-10-18 Thread Nicolas Goaziou
Hello, stardiviner writes: > When I create a new headline with =[Alt-Enter]= Under a headline. It looks > like this: > > #+begin_src org > ,** headline 1 > ,** headline 2 > #+end_src > > > Then I move point between two asterisks of headline 2. Then I type * again. > It report > following error

[O] Why is ":CLOCK => hh:mm" allowed as a clock entry?

2018-10-18 Thread Marcin Borkowski
Hi all, I am studying the `org-clock-sum' function (I need to parse an Org file and extract clocking data), and I noticed that ":CLOCK => hh:mm" is allowed as a clock entry. The Org syntax at https://orgmode.org/worg/dev/org-syntax.html#Clock,_Diary_Sexp_and_Planning confirms this. What is the r