Re: [PATCH] may we focus on readability?

2020-06-15 Thread Mario Frasca
second thought about testing: if I did that, it would become longer than 15 lines, I would need refactoring quite a bit of stuff, and both things would require time, bureaucratic time, and programming time. I had a closer look at my changes, re-read it, and used it a bit, and I think this

Re: tags-todo org-agenda-custom-command weirdness

2020-06-15 Thread Stig Brautaset
Kyle Meyer writes: > Stig Brautaset writes: > >> I'm seeing some weirdness with tags-todo vs tags custom agenda commands. >> Below is the smallest case I've managed to narrow it down to. I would >> *expect* that all the a1-4 commands return the same results, and that >> the b1-4 return the same

Re: Import Reusable org-babel snippet using #+SETUPFILE

2020-06-15 Thread Douglas Perrin
Hi Salomon Turgman, I do this a lot and have had success using a combination of #+SETUPFILE to bring in names and configuration, and org-sbe to do initialization. I mix emacs vars and org names in my source headers with back quoting. The following example has a template file containing user/local

Re: tags-todo org-agenda-custom-command weirdness

2020-06-15 Thread Kyle Meyer
Stig Brautaset writes: > For me a2 and a4 returns the same, but a1 and a3 just returns TODO h2. > However, I can reproduce what you're seeing by setting this: > > (setq org-agenda-todo-ignore-scheduled nil) So, provided you've configured org-agenda-todo-ignore-scheduled and

Re: (Feature Request) customise LaTeX-preview regex

2020-06-15 Thread Eric S Fraga
On Sunday, 14 Jun 2020 at 21:53, TEC wrote: > Hi All, > > Just a quick note: I'm yet to resolve this, so any further > comments/help on this would be much appreciated :) If you put the snippet in a math environment, it works with LaTeX preview: \(\ce{CO2}\) Of course, this only applies to

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-15 Thread Eric S Fraga
On Saturday, 13 Jun 2020 at 17:02, Alan Schmitt wrote: > This is the crux of the issue: there does not seem to be any way to > generate a multi-line header. And this causes problems with LaTeX. Is the problem solvable in LaTeX? Does \makeatletter expect to be on a single line? As I said before,

[PATCH] Add markdown support to contrib/org-man export

2020-06-15 Thread Jb
Hey Org-mode enthusiasts, Find attached a patch adding export of manual links for markdown. I wanted to get links to man pages to work nicely for my blog using ox-hugo, an org exporter based on markdown, built by well-known org enthusiast Kaushal Modi. Org snippet to demonstrate export to

Re: [PATCH] may we focus on readability?

2020-06-15 Thread Mario Frasca
Hi Nicolas, I think that the hint on testing is very correct, I'm afraid I changed the semantics of one of the original tests, and I found that there's other cl functions other than just cl-some, also cl-every, cl-notevery, and cl-notany.  I'll have a closer look at this.  and write some tests

Re: Bug: fontification error with #end_src in 9.3.7 [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-15 Thread John Ciolfi
Thanks - I verified the fix. From: Kyle Meyer Sent: Saturday, June 13, 2020 3:21 PM To: John Ciolfi Cc: emacs-orgmode@gnu.org Subject: Re: Bug: fontification error with #end_src in 9.3.7 [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)] Kyle