[PATCH 3/4] Autoload dynamic block definitions

2020-05-04 Thread Kyle Meyer
* lisp/org-clock.el: * lisp/org-colview.el: Autoload call to org-dynamic-block-define. The dynamic block dispatcher added in 34b71a0ca (Add a dispatcher command for inserting dynamic blocks, 2018-12-23) offers an entry for "clocktable" and "columnview" only after the corresponding library is loade

Re: [PATCH] Do not ignore org-odt-styles-file

2020-05-04 Thread Kyle Meyer
Kyle Meyer writes: > Could you update your patch to follow the conventions outlined at > ? In particular, add (1) > a change-log entry to the commit message and (2) a TINYCHANGE cookie. > Also, it's typical for commit subjects in this project to start

[PATCH 1/4] manual: Remove stale information about dynamic block bindings

2020-05-04 Thread Kyle Meyer
* doc/org-manual.org (Capturing column view): Replace stale binding with mention of org-dynamic-block-insert-dblock, and refer to org-columns-insert-dblock rather than its obsolete variant. (The clock table): Prune references to stale binding, rewrite org-dynamic-block-insert-dblock key sequence in

[PATCH 4/4] org: Retain prefix arg when dispatching dynamic block commands

2020-05-04 Thread Kyle Meyer
* lisp/org.el (org-dynamic-block-insert-dblock): Add an interactive-p argument that is non-nil for interactive calls and signals to call the dynamic block function interactively. org-clock-report takes a prefix argument. When it had a regular binding, this was easy to access. As of 34b71a0ca (Ad

[PATCH 0/4] dynamic block-related fixes

2020-05-04 Thread Kyle Meyer
Axel Kielhorn writes: > while exchanging mails with Uwe Brauer I discovered some errors in the manual: > > 7.5.3 Capturing column view > > links to > > A.6 Dynamic Blocks > > which describes > > org-dynamic-block-insert-dblock > > But this commands does not know about columnview It does, but it

[PATCH 2/4] orgcard: Update binding for org-columns-insert-dblock

2020-05-04 Thread Kyle Meyer
As of 34b71a0ca (Add a dispatcher command for inserting dynamic blocks, 2018-12-23), the binding was removed and the command is available via org-dynamic-block-insert-dblock. --- doc/orgcard.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/orgcard.tex b/doc/orgcard.tex i

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread Kyle Meyer
No Wayman writes: > Appreciate the reminder, Kyle. I emailed the form per the > directions in that link roughly two weeks ago. Ah, great! Thanks (and sorry for the noise).

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread No Wayman
Kyle Meyer writes: IIRC, when I reviewed another series, you were nearing a number of changes at which we should make sure you've assigned copyright to the FSF. Assuming you haven't already, please consider doing so (see ). T

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread Kyle Meyer
Nicolas Goaziou writes: > No Wayman writes: > >> No Wayman writes: >> >>> Any interest in this patch? >> Apologies, intended this to be a reply to: >> https://lists.gnu.org/archive/html/emacs-orgmode/2020-03/msg00317.html > > It apparently felt through the cracks. We're missing reviewers these >

Re: bug org-open-at-point zotero link

2020-05-04 Thread Nicolas Goaziou
Hello, Charles Millar writes: > Have I missed documentation that states that "org-open-at-point os not > available for a Zotero (Zotxt) link? I don't know what is Zotxt. You way want to report the issue upstream. Regards, -- Nicolas Goaziou

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-04 Thread Nicolas Goaziou
Roland Coeurjoly writes: > I am confused about the last point: > Use a let-binding instead of setq. > > If I use: > > (let* compile (string= (cdr (assq :compile params)) "yes")) I meant: (let ((compile (string= "yes" (cdr (assq :compile params) ...)

Re: bug org-open-at-point zotero link

2020-05-04 Thread Charles Millar
Hi, Re-posting. Have I missed documentation that states that "org-open-at-point os not available for a Zotero (Zotxt) link? On 4/10/20 9:45 AM, Charles Millar wrote: Hi, Current versions Org mode version 9.3.6 (release_9.3.6-472-g8e3b73 @ /usr/local/share/org-mode/lisp/) GNU Emacs 28.0.50

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-04 Thread Nicolas Goaziou
Roland Coeurjoly writes: > I have read the page about signing FSF papers, but I am unclear about how > to proceed. > Could you give some pointers? Certainly. See https://orgmode.org/worg/org-contribute.html#copyright-issues You basically need to fill a form and send it to ass...@gnu.org. Th

Re: Document level property drawer position

2020-05-04 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > With file > > #v+ > :PROPERTIES: > :CATEGORY: Org > :END: > #+TITLE: Stuff related to Org > > * TODO a task > #v- > > > the category is "Org" as expected. (This can be seen in the agenda.) > > Moving the property drawer below the title line breaks this behavior. > Con

Document level property drawer position

2020-05-04 Thread Marco Wahl
Hi, With file #v+ :PROPERTIES: :CATEGORY: Org :END: #+TITLE: Stuff related to Org * TODO a task #v- the category is "Org" as expected. (This can be seen in the agenda.) Moving the property drawer below the title line breaks this behavior. Concretely see this with file #v+ #+TITLE: Stuff relat

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread Nicolas Goaziou
Hello, No Wayman writes: > No Wayman writes: > >> Any interest in this patch? > Apologies, intended this to be a reply to: > https://lists.gnu.org/archive/html/emacs-orgmode/2020-03/msg00317.html It apparently felt through the cracks. We're missing reviewers these days. Could you send it agai

Re: Inserting org-mode heading links the org-refile way

2020-05-04 Thread Joseph Vidal-Rosset
Le lun. 05/04/20 mai 2020à 03:11:57 , Ihor Radchenko a envoyé ce message: > Can you try the following simplified code? Hello, I confirm that the simplified code below does not break the code of my setup and that org-links for gnus work. Thanks ! > (defun org-id-prompt-i

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread No Wayman
No Wayman writes: Any interest in this patch? Apologies, intended this to be a reply to: https://lists.gnu.org/archive/html/emacs-orgmode/2020-03/msg00317.html

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-04 Thread Karl Voit
Hi Ihor, * Ihor Radchenko wrote: > > So far, I came up with the following partial solution searching and > showing hidden text. > > (defun org-find-text-property-region (pos prop) > (define-advice isearch-search-string (:after (&rest _) put-overlay) > (defun org-restore-invisibility-specs (&rest

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-04 Thread Roland Coeurjoly
I am confused about the last point: Use a let-binding instead of setq. If I use: (let* compile (string= (cdr (assq :compile params)) "yes")) I get the following error: ob-haskell.el:158:1: Error: Wrong type argument: listp, compile If I leave with set: (setq compile (string= (cdr (assq :compile

Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-05-04 Thread Kévin Le Gouguec
Nicolas Goaziou writes: > Tests for `org-return' (named "test-org/return") are in the > "test-org.el" file in the "testing/lisp" directory. We only need to test > if electric-indent-mode has an effect, but only in regular cases. Thanks for the pointer! (I forgot to mention that AFAICT, all curr

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread No Wayman
Any interest in this patch?

Re: Babel Haskell. Print all results when header has :results output

2020-05-04 Thread Roland Coeurjoly
No, I haven't yet. As it is required to firm them for the other patch, I am willing to firm them but unsure how to proceed. Please advise. On Mon, May 4, 2020, 17:01 Nicolas Goaziou wrote: > Hello, > > Roland Coeurjoly writes: > > > Right now, when executing the following source block > > > > #

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-04 Thread Roland Coeurjoly
I have read the page about signing FSF papers, but I am unclear about how to proceed. Could you give some pointers? Thank you. On Mon, May 4, 2020 at 5:29 PM Nicolas Goaziou wrote: > Roland Coeurjoly writes: > > > lisp/org/ob-haskell.el | 76 +++--- > > 1 fi

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-04 Thread Nicolas Goaziou
Roland Coeurjoly writes: > lisp/org/ob-haskell.el | 76 +++--- > 1 file changed, 71 insertions(+), 5 deletions(-) I forgot to say a change of this size requires you to sign FSF papers. Please consider doing so if that's not already the case. Thank you.

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-04 Thread Nicolas Goaziou
Hello, Roland Coeurjoly writes: > From 091f470a278561a60fac1ee3ee658f6823bc2503 Mon Sep 17 00:00:00 2001 > From: Roland Coeurjoly > Date: Sat, 25 Apr 2020 20:35:22 +0200 > Subject: [PATCH] Add Haskell specific header argument compile, to compile > instead of interpret the body of source block

Re: Babel Haskell. Print all results when header has :results output

2020-05-04 Thread Nicolas Goaziou
Hello, Roland Coeurjoly writes: > Right now, when executing the following source block > > #+begin_src haskell :results output > [1..10] > "hello" == "hello" >#+end_src > > I get the following output: > > #+RESULTS: >: True > > Whereas (for me) the desired result would be > > #+RESULTS:

Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-05-04 Thread Nicolas Goaziou
Hello, Kévin Le Gouguec writes: > I took a stab at making RET obey electric-indent-mode in org-mode. Thank you! > I've got something working; I'd like to ask for a review before moving > on to Changelog and ORG-NEWS entries (and tackling C-j… and maybe > writing a few unit tests?). Tests for

Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-05-04 Thread Kévin Le Gouguec
Hi Nicolas, I took a stab at making RET obey electric-indent-mode in org-mode. I've got something working; I'd like to ask for a review before moving on to Changelog and ORG-NEWS entries (and tackling C-j… and maybe writing a few unit tests?). Here's the patch, with some additional comments belo

Re: Tricking org-mode into using markdown conventions

2020-05-04 Thread Diego Zamboni
Ihor, Awesome, thanks for the tip. Using your code, the following config (inside the code from https://pank.eu/blog/pretty-babel-src-blocks.html) produces a display with the backticks instead of begin/end_src: (defun yant/str-to-glyph (str) "Transform string into glyph, displayed co

Re: Inserting org-mode heading links the org-refile way

2020-05-04 Thread Ihor Radchenko
> Always interested in org-links, I have tested your code. It will maybe > interesting that I point out that, even if I am unable to understand > why, I have checked that it breaks the function for org-linking from > emails in gnus, at least in my setup i.e. with the following code: It