Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-29 Thread Daan Ro
Thank you. On Sun, 30 Mar 2025, 00:59 Ihor Radchenko, wrote: > Daan Ro writes: > > >> Maybe we should use 'separator property in the proposed values? > > > > Added, I was just afraid that bit is more unstable than the variable > > name. > > Appl

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-29 Thread Daan Ro
I defined org-cite-basic--crm-indicate-prompt, equivalent to "[list separated by ;;] %(prompt)" by default. Daanturo On Mar 29 2025, at 9:46 pm, Ihor Radchenko wrote: > Daan Ro writes: > > > Wait, Emacs 31 has added `crm-prompt' for CRM indication: > > > &

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-29 Thread Daan Ro
indicator. Daanturo On Mar 29 2025, at 10:34 pm, Ihor Radchenko wrote: > Daan Ro writes: > > > I defined org-cite-basic--crm-indicate-prompt, equivalent to > > "[list separated by ;;] %(prompt)" by default. > > Thanks! > > + :type > > + '(choi

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-29 Thread Daan Ro
ds to unessential verbosity, should we guard this prompt for Emacs <= 30 only and make it as close to 31's default as possible? Daanturo On Mar 28 2025, at 12:41 am, Ihor Radchenko wrote: > Daan Ro writes: > > >> (completing-read > >> (concat > >> (if negate &qu

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-26 Thread Daan Ro
") > #'org-agenda-filter-completion-function > nil nil ff) > Right. Is 'Keys [citation1 ;; citation2 ;; ...]: ' fine? Or an instruction like 'Keys (use \";;\" to separate citation keys)'? I'm not sure how to project org-agenda-filter's conve

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-25 Thread Daan Ro
ot;;;" and miss "". I thought s.el's `s-match-strings-all' should be more robust but we can't use that so iteratively inserting and searching I went. Daanturo On Mar 25 2025, at 12:38 am, Ihor Radchenko wrote: > Daan Ro writes: > > >> Would you con

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-18 Thread Daan Ro
> Would you consider it? See > https://orgmode.org/worg/org-contribute.html#copyright I have already done the copyright assignment. > Please add a proper commit message, if you can. > We also need an ORG-NEWS entry announcing the new customization. > "carefully set craft regexp..." reads as if Or

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-15 Thread Daan Ro
d by oc-basic.el in the first place? Daanturo On Mar 15 2025, at 8:01 pm, Ihor Radchenko wrote: > Daan Ro writes: > > >> How does \cites have anything to do with interactive selection of > >> multiple citations at once? > > > > An analogy, especially when expo

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-15 Thread Daan Ro
etion table of regardless of its type. The ability to dynamically compute the crm-separator based on the candidates sounds like a useful feature. I think it's best for Emacs core to have that (optional) functionality built-in. Daanturo On Mar 15 2025, at 10:09 pm, Ihor Radchenko wrote: > Daan

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-15 Thread Daan Ro
omplete-key' to `completing-read-multiple', preferrably by default looks like a sweet solution? But I'm not sure since that may breaks some people's workflows. (BTW my previous patch was wrong, updated for that idea.) (Excused me for spamming, I press the wrong reply button la

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-15 Thread Daan Ro
than oc.el > itself. Thank you, I think the CRM approach is even simpler than the current prompt-building one. But do we keep the latter? Daanturo On Mar 15 2025, at 4:02 pm, Ihor Radchenko wrote: > Daan Ro writes: > > >> > In Latex, \cite is also more commonly used and more aske

[BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-09 Thread Daan Ro
Currently org-cite-insert requires multiple to complete. When a completion engine is enabled (likely the more common case), like vertico or the built-in fido-mode, etc. we must also know how to exit "abnormally", usually with "M-j": https://github.com/minad/vertico/issues/261, else the command wil

Re: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]

2024-10-13 Thread Daan Ro
k you, the said fork has all I needed for now. I've decided to use it for now. I think this bug ticket can be closed. Daanturo On Oct 13 2024, at 6:27 pm, Ihor Radchenko wrote: > Daan Ro writes: > > > Currently I have minor mode that automates `org-latex-preview` every some &

Re: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]

2024-10-12 Thread Daan Ro
mage` as a callback closure to `org-create-formula-image` and `org-compile-file`. Would such a feature request/patch be accepted? Daanturo On Oct 12 2024, at 10:49 pm, Ihor Radchenko wrote: > Daan Ro writes: > > > [PATCH] org-latex-preview: add org-latex-preview-quiet customization &g

[BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]

2024-10-04 Thread Daan Ro
[PATCH] org-latex-preview: add org-latex-preview-quiet customization * lisp/org.el (org-latex-preview): define customizable boolean org-latex-preview-quiet. Emacs : GNU Emacs 30.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2024-09-30 Package: Org mode versio

Re: Fwd: 30.0.60; org--image-yank-media-handler asks for coding system when saving image

2024-07-25 Thread Daan Ro
close 72294 Thank you. Daanturo On Jul 25 2024, at 6:23 pm, Ihor Radchenko wrote: > Daan Ro writes: > > > (I forward this bug report from bug-gnu-em...@gnu.org > > (https://link.getmailspring.com/link/11a5bd1b-98f2-4b53-a61c-a93a367eb...@getmailspring.com/0?redirect=mail