Re: [O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-14 Thread Nicolas Goaziou
Hello, Sebastian Reuße writes: > * org.el (org--refile-new-path): Add. > (org-refile): Use it. > (org-refile-new-child): Support creating new root nodes. > > * test-org.el (test-org/org-refile): Add test. > > While ‘org-refile’ currently supports creating new headlines when > refiling, only one

Re: [O] How to make agenda generation faster

2018-10-14 Thread Marcin Borkowski
On 2018-10-11, at 08:40, Michael Welle wrote: > Hello, > > Marcin Borkowski writes: > >> On 2018-10-09, at 13:47, Julius Dittmar wrote: >> >>> Hi Marcin, >>> >>> I can't advise as to profiling to find out what really bogs down agenda >>> building. >>> >>> I found that log messages do bog it d

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

2018-10-14 Thread stardiviner
When I open a big Org file which contains many different languages source blocks. And when the Org file buffer is fontified when option `org-src-fontify-natively` is enabled. Org will try to load those major modes. Including major-mode-hook like "clojure-mode-hook", "emacs-lisp-mode-hook", "pyt

[O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-14 Thread Sebastian Reuße
* org.el (org--refile-new-path): Add. (org-refile): Use it. (org-refile-new-child): Support creating new root nodes. * test-org.el (test-org/org-refile): Add test. While ‘org-refile’ currently supports creating new headlines when refiling, only one single headline can be created this way. For con

Re: [O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-14 Thread Sebastian Reuße
Hello Nicolas, Nicolas Goaziou writes: I still cannot make it work property. With the following document: --8<---cut here---start->8--- * Foo ** Bar * Foo2 --8<---cut here---end--->8--- Trying to refile "Foo2" under

Re: [O] Problem in removing the invisible brackets of a link

2018-10-14 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > > =[[xx]]= and ~[[xx]]= are not links; try to export them. > > Indeed. Thanks once more. For the record, I fixed fontification of verbatim markup. Links within =...= and ~...~ are no longer fontified. Regard,s -- Nicolas Goaziou

Re: [O] An Org-based productivity tool

2018-10-14 Thread Marcin Borkowski
On 2018-10-10, at 22:45, Samuel Wales wrote: > auto-clocking might be interesting. > > there would be a concept of a dominating clocking entry similar to > dominating file. i.e. if where you are is not a clocking entry, go up > until you find one that is. if you find none at top level, you cr

Re: [O] An Org-based productivity tool

2018-10-14 Thread Marcin Borkowski
On 2018-10-11, at 16:03, Bingo wrote: > Le 10 octobre 2018 21:45:53 GMT+05:30, Marcin Borkowski a > écrit : > >> >>- a warning when my efficiency is lower than a set value, and info >>about >> how much work I need to do to bump it up to that value. >> > > Nice, but it has an anti-feature. F

Re: [O] An Org-based productivity tool

2018-10-14 Thread Marcin Borkowski
On 2018-10-11, at 16:57, Peter Neilson wrote: > On Thu, 11 Oct 2018 10:03:15 -0400, Bingo wrote: > >> Le 10 octobre 2018 21:45:53 GMT+05:30, Marcin Borkowski >> a écrit : >> >>> >>> - a warning when my efficiency is lower than a set value, and info >>> about >>> how much work I need to do to

Re: [O] An Org-based productivity tool

2018-10-14 Thread Marcin Borkowski
On 2018-10-11, at 17:08, Ihor Radchenko wrote: > Well, you could associate a reward to that kind of tasks. > For example, you can allow yourself to work half a day. > > Alternatively, you can make a task you would like to do (say, watch a > new movie) to be blocked until the unwanted task is do

Re: [O] An Org-based productivity tool

2018-10-14 Thread Marcin Borkowski
On 2018-10-11, at 10:58, Ihor Radchenko wrote: > Hi, > > One suggestion would be to distinguish between different types of work. > For example, you may value more an important project you need to work > on, but do not like, in comparison with another project you really like > doing. > This can

Re: [O] How to make agenda generation faster

2018-10-14 Thread Marcin Borkowski
On 2018-10-11, at 21:59, Samuel Wales wrote: > i too visit all files when emacs starts. > > are we saying that the speed depends on the number of headlines total > or the number of headlines in a single file among the agenda files? Probably the former...? > > On 10/11/18, Marcin Borkowski wr

Re: [O] Feature request for clocktable step

2018-10-14 Thread Marcin Borkowski
On 2018-10-13, at 16:26, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski writes: > >> the manual says that I can say ":step day" or ":step week" in my clock >> reports. Could I also be able to say ":step month" or ":step year"? > > Done in "next" branch. Thank you. > > Regards, Thanks!

[O] Headlines with slashes when refiling

2018-10-14 Thread Sebastian Reuße
BTW this reminds me of some issues I ran into on master a while back. When a refile target has a headline containing a slash, there are some issues: 1. When an existing headline contains a slash, completing-read will display the target as »A\/Slash«. However, when entering the string manually

[O] babel noob question: how to have babel create png using tikz?

2018-10-14 Thread Julius Dittmar
Hi folks, somehow I do not manage to get babel to create a png image using tikz package. It does create an image, but that image looks exactly as if the tikz package were not loaded during the generating latex run and all of latex's error messages were ignored. Here's what I do: - emacs -q mini.

Re: [O] Problem in removing the invisible brackets of a link

2018-10-14 Thread Kaushal Modi
On Sun, Oct 14, 2018, 4:08 AM Nicolas Goaziou wrote: > Hello, > > alain.coch...@unistra.fr writes: > > > > =[[xx]]= and ~[[xx]]= are not links; try to export them. > > > > Indeed. Thanks once more. > > For the record, I fixed fontification of verbatim markup. Links within > =...= and ~...~ are

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Jeremie Juste
Hello, I can reproduce your error but a setting without #+BEGIN_SRC #+END_SRC seems to work. It not a fix just a way around the problem. Hope it helps, Jeremie #+TITLE: Test d'export tikz qui ne marche plus #+DATE: <2015-11-10 mar.> #+LANGUAGE: fr #+OPTIONS: toc:1 num:1 #+LATEX_HEADER: \us

Re: [O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-14 Thread Nicolas Goaziou
Sebastian Reuße writes: > Nicolas Goaziou writes: [...] >> With the following document: >> >> --8<---cut here---start->8--- >> * Foo >> ** Bar >> * Foo2 >> --8<---cut here---end--->8--- >> >> Trying to refile "Foo2" under

Re: [O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-14 Thread Sebastian Reuße
Nicolas Goaziou writes: AFAICT, it still doesn't work. I get the exact same result as detailed above. That’s odd, I can’t reproduce your example anymore. Is your Emacs session still the same one as earlier today? While implementing the patch I had to C-0 M-x org-refile occasionally, becau

[O] How to generate a list of ``who-links''?

2018-10-14 Thread Mirko Vukovic
Hello, I am looking for a way to get a list of all remote references to the current node? Currently, I do: - org-id-copy - In org-agenda I search the copied id. Is there - a better built-in way? - a contributed-package? - a suggestion how to code it in my elisp? Thanks, Mirko

[O] Refile to datetree

2018-10-14 Thread Daniele Nicolodi
Hello, I'm not always very systematic in my note taking and sometimes I find the need to refile entries into a datetree. Unfortunately `org-refile` does not provide facilities for doing that easily. `org-archive` kind of does, but it does not allow to easily specify the target date. I saw a fe

Re: [O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-14 Thread Nicolas Goaziou
Sebastian Reuße writes: > That’s odd, I can’t reproduce your example anymore. Is your Emacs > session still the same one as earlier today? While implementing the > patch I had to C-0 M-x org-refile occasionally, because earlier runs > had injected erroneous entries into the cache. I restarted Em

[O] mathjax macro in org-mode

2018-10-14 Thread Jeremie Juste
Hello, I was wondering how to set up mathjax macro in org-mode. For instance would it be possible to use #+HTML_MATHJAX: to include the following macro? Macros: { R: '{\\mathbb{R}}', bold: ['{\\bf #1}',1] } So far my attempts have been unsuccessful. Best regards, Jeremi

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Jeremie Juste
Hello With the following in your .emacs file #+BEGIN_SRC (setq org-babel-latex-htlatex "htlatex") (defmacro by-backend (&rest body) `(case org-export-current-backend ,@body)) #+END_SRC I can put back #+BEGIN_SRC around the tikz and it seems to work. #+header: :file (by-backend (html

Re: [O] How to generate a list of ``who-links''?

2018-10-14 Thread Samuel Wales
this is good eonugh for me but perhaps you want to improve on it. (define-key org-mode-map (kbd "C-c w") 'alpha-org-what-links-here) (defun alpha-org-what-links-here () "Show all links that point to the current node. Possibly also show the target node itself. - fixme Bug in Org: g in agenda r

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Éric Würbel
Hi, I read your two answer only this morning. Thanks a lot for the provided tips. Clearly the first solution doesn't fit, as I face this situation for dozens of org pages which compose a web site... I will test your second trick. However I would like to understand how it works. I wasn't aware of