Question on contributing to Org-mode

2020-06-13 Thread Ag Ibragimov
I have never ever before tried contributing patches to Org-mode, mainly because it is such a big project that I am rarely sure if whatever I'm trying to do is right. Finally, I've found something that perhaps I could improve. Namely, I wanted to extend Clojure code blocks to be executed

Re: [PATCH] allow for multiline headers

2020-06-13 Thread Nicolas Goaziou
Hello, Mario Frasca writes: > is there an agreement on cl-lib usage within the project? Using cl-lib is OK, even though I wish we could use "seq.el" instead. > I was hinted at cl-loop in this mailing list, and I liked it, in > particular the `collect' clause, the destructuring feature, and

Re: [PATCH] allow for multiline headers

2020-06-13 Thread Mario Frasca
Hi Nicolas, On 13/06/2020 17:18, Nicolas Goaziou wrote: Hello, Mario Frasca writes: I can leave existing loops in peace, or edit them keeping them cl-loop-free.  as for myself, I find it practical and readable. Then you'll enjoy reading, e.g., `org-contacts-try-completion-prefix'. FWIW, I

Re: Question on contributing to Org-mode

2020-06-13 Thread Kyle Meyer
Ag Ibragimov writes: > M-x emacs-version and org-version report: > > GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.5.0, NS appkit-1894.50 > Version 10.15.5 (Build 19F101)) of 2020-06-07 > Org mode version 9.3.7 (9.3.7-2-g706970-elpaplus @ >

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-13 Thread Kyle Meyer
John Ciolfi writes: > Given the following org file, on the #+end_src line, I get "Org mode > fontification error in # at 9". If I place a newline > before the #+end_src line, the error goes away. This is a recent > regression. This worked fine in 9.2.6 and prior. > > #+begin_src C++ >

tags-todo org-agenda-custom-command weirdness

2020-06-13 Thread Stig Brautaset
Hi, 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 results. That is not what I'm seeing, however.

Re: Bug: Export to html not working [9.3.7 (9.3.7-2-g706970-elpaplus @ /Users/gmauer/.emacs.d/elpa/develop/org-plus-contrib-20200608/)]

2020-06-13 Thread Nicolas Goaziou
Hello, George Mauer writes: > I wrote the following literate-programming style org file > https://github.com/togakangaroo/daily-programmer/blob/master/get-directories/README.org > > When I run org-export-dispatch on this and export it to an html file it > creates a single file which - aside

Re: [RFC] Rewrite org-(forward|backward)-paragraph

2020-06-13 Thread Nicolas Goaziou
Since there was no negative feedback, I pushed to master. Thanks.

Re: [PATCH] org-element.el: Fix properties being upcased by parser

2020-06-13 Thread Nicolas Goaziou
Hello, Leo Vivier writes: > From e96e96931109026f406b3cabb0186319e902aca7 Mon Sep 17 00:00:00 2001 > From: Leo Vivier > Date: Fri, 12 Jun 2020 06:45:32 +0200 > Subject: [PATCH] org-element.el: Update comment > > * org-element.el (org-element-keyword-parser): Mention that `keyword' > is

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-13 Thread Alan Schmitt
Hello, On 2020-06-12 16:01, Eric S Fraga writes: > The snippet from the OP will collate all three LaTeX header lines into a > single line on export, which is expected in terms of org's > behaviour. This appears to cause problems with LaTeX, which is maybe > expected or not; I don't know what

Re: Get Grades Done: the joys of Org's simple power

2020-06-13 Thread Leo Okawa Ericson
Diego Zamboni writes: > Hi Leo, > > Thanks - I had seen that one too, and couldn't figure out which one > was a fork of the other one. Both have recent activity - do you know > what are the main differences between them? > Well the changelog in org-web hasn't been updated in quite a while:

Re: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-13 Thread Nicolas Goaziou
Hello, John Ciolfi writes: > Perhaps, in the interactive C-c C-e mode there could be: > > [C-e] Eval code blocks: always | never | use-eval-header-setting > > where 'use-eval-header-settings' is the default and uses whatever was > set by the current org file and emacs session. Always and

Re: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-13 Thread Jeremie Juste
Hello, I understand the frustration of not being able to bend emacs to ones immediately. But many times my initial workflow turned out not to be the best one. I just wanted to share my workflow hoping that it might be a solution to the original post problem. >> Consider the scenario where a

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > When I press =[C-u C-u C-c C-o]= to open an image file link with system > external > program. It can't open the image file. Is it really an Org bug? I.e., is your mailcap file properly set up? If you think this is really an Org bug, could you provide an ECM,

Re: Get Grades Done: the joys of Org's simple power

2020-06-13 Thread Diego Zamboni
Hi Leo, > Well the changelog in org-web hasn't been updated in quite a while: > https://github.com/DanielDe/org-web/blob/master/changelog.org > wheras organice seem to actively developed > https://github.com/200ok-ch/organice/blob/master/changelog.org . > > The have a section in their readme that

[BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-13 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 When I press =[C-u C-u C-c C-o]= to open an image file link with system external program. It can't open the image file. I tested on minimal Emacs config, confirmed this problem. Org Mode version: latest "master" branch Org mode version 9.3.4

Re: [PATCH] Fix org-capture-place-entry narrow bounds

2020-06-13 Thread Nicolas Goaziou
Hello, Kevin Liu writes: > From 8e7b28054492424170f14f11297b416ef7575540 Mon Sep 17 00:00:00 2001 > From: nivekuil > Date: Fri, 29 May 2020 16:48:31 -0700 > Subject: [PATCH] capture: Fix org-capture-place-entry narrow bounds > > * lisp/org-capture.el > (org-capture-place-entry): > Prevent

Re: Inconsistent behaviour: toggle inline images does not work with relative paths [9.3.7 (9.3.7-2-g706970-elpa @ /Users/matthijs/.emacs.d/elpa/org-20200608/)]

2020-06-13 Thread Nicolas Goaziou
Hello, Matthijs de Jonge writes: > Today I ran into some behavior that seemed strange to me: > > I have inline images: > > [[file:relative/path/from/org-file.png]] > > With org-startup-with-inline-images these work as expected. > > What does not work as expected is org-toggle-inline-images :

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

2020-06-13 Thread Stig Brautaset
Stig Brautaset writes: > Hi, > > I'm seeing some weirdness with tags-todo vs tags custom agenda commands. I forgot to mention my Emacs / Org versions: - GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.4.0, NS appkit-1894.40 Version 10.15.4 (Build 19E287)) of 2020-04-18 - Org mode version

Re: Inconsistent behaviour: toggle inline images does not work with relative paths [9.3.7 (9.3.7-2-g706970-elpa @ /Users/matthijs/.emacs.d/elpa/org-20200608/)]

2020-06-13 Thread Matthijs de Jonge
Hello, Very strange. I cannot now reproduce it either. Might be because I updated some packages in the meantime or something. Guess next time I come across it I’ll need to dive into the org-toggle-inline-images function myself to see what’s going on. Sorry for keeping you busy. Regards,

Re: Statistic cookies for headings and list items

2020-06-13 Thread Nicolas Goaziou
Hello, Bastien writes: > Here are a few solutions I can imagine: > > 1. when an entry contains both a list (as its direct contents) and >subheadings, only consider subheadings in the stats calculation. > > 2. when an entry contains both a list (as its direct contents) and >subheadings,

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-13 Thread Kyle Meyer
Kyle Meyer writes: > I'll try to take a closer look tomorrow. This should be fixed by ba6ca79af.

Re: [PATCH] allow for multiline headers

2020-06-13 Thread Mario Frasca
hi Nicolas, is there an agreement on cl-lib usage within the project?  I was hinted at cl-loop in this mailing list, and I liked it, in particular the `collect' clause, the destructuring feature, and less parentheses.  I had no exposure to cl-loop before the hint received here. I can leave

Re: [PATCH] allow for multiline headers

2020-06-13 Thread Mario Frasca
what about these two groups of tests, and the header collapse function? >From ceb21024159a75dbdb9fef32eebe1fc8c7076d2f Mon Sep 17 00:00:00 2001 From: mfrasca Date: Fri, 12 Jun 2020 11:42:34 -0500 Subject: [PATCH] lisp/org-table.el: Allow collapsing header into single line * lisp/org-table.el