Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Nicolas Goaziou
Eric S Fraga writes: > For the record, in the end, I needed to do the following: > > 1. set =org-cite-basic-author-column= to a larger number You can ignore this step, which is useful (but is not as you report) only when using `basic' insert processor. Here, you're using a different insert

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Nicolas Goaziou
actions'. I hoped it would also be possible to set it to something like `org-ref' or some such, but it doesn't seem it will happen. Regards, -- Nicolas Goaziou

Re: Manual suggestion and experience report from a new user (citation processors, 9.5)

2021-10-15 Thread Nicolas Goaziou
te-insert ended with 'Unknown processor > basic'. This is rather unexpected. Your assumption is correct, oc-basic should be available right from the start. I fixed it in bugfix branch. Thank you. Regards, -- Nicolas Goaziou

Re: resume an interrupted enumerated list or reset the counter

2021-10-15 Thread Nicolas Goaziou
n ugly number cookie: 1. Item 1 3. [@3] Item 3 Regards, -- Nicolas Goaziou

Re: A minor suggestion about formatting citations

2021-10-13 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > On Mon, Oct 11, 2021 at 11:54 AM Nicolas Goaziou > wrote: >> I don't think that's totally true. The additional space makes sense >> typographically, in particular when some suffix is associated to the >> key. > > Can y

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Nicolas Goaziou
M. ‘quintus’ Gülker writes: > Long story short: I do not think that it is a bug in locales-de-DE.xml, > and I guess Pandoc proves my point here. Please map § to "section" > instead of "paragraph" in org-cite, i.e., do it the way Pandoc does > it. I mapped both § and §§ to "section". Hopefully,

Re: A minor suggestion about formatting citations

2021-10-11 Thread Nicolas Goaziou
Cite is unrelated to this. One could as well have inserted spaces manually, i.e., without calling `org-cite-insert' at all. The functions responsible for swapping citations ought to cope with this situation too. Regards, -- Nicolas Goaziou

Re: A minor suggestion about formatting citations

2021-10-11 Thread Nicolas Goaziou
org-cite-make-insert-processor'. Thank you. Regards, -- Nicolas Goaziou

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Nicolas Goaziou
Hello, M. ‘quintus’ Gülker writes: > Now it’s getting wild. Indeed. The "fix" I introduced was a mistake. I pushed a new fix. I think the initial issue is solved now. Could you confirm it? Thank you. Regards, -- Nicolas Goaziou

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Nicolas Goaziou
're right. I thought I had solved the regexp part but I was wrong. I pushed a new attempt to solve this. Sorry for the noise. Regards, -- Nicolas Goaziou

Re: [org-cite] add convention for direct commands, process for adding mappings to export processor(s)?

2021-10-10 Thread Nicolas Goaziou
nt mappings to the >> oc processors. It is possible to send a patch if it is something useful. Some processors (probably only biblatex at this point, we probably cover everything in natbib) may also introduce a customizable variable for user-defined styles. Regards, -- Nicolas Goaziou

Re: Citations: non-page locators placed in front of citation

2021-10-10 Thread Nicolas Goaziou
his may be a bug in Citeproc library itself. I suggest to report it upstream. Regards, -- Nicolas Goaziou

Re: [org-cite] allow citations in captions?

2021-10-10 Thread Nicolas Goaziou
non-existing references. For the same reason, footnotes references are not allowed in citations either. I don't know if the benefits outweigh these possible complications. Regards, -- Nicolas Goaziou

Re: Citations: non-page locators placed in front of citation

2021-10-10 Thread Nicolas Goaziou
he citation should have looked like this: > > Saenger, Gesellschaftsrecht, 2. Aufl. (2013), § 12 Rn. 488 [...] > Is it a bug or (again) my error? It is a bug. You use a non-breaking space between the locator and the number. I hadn't anticipated this (duh!). I fixed it. Could you confirm it? Thank you. Regards, -- Nicolas Goaziou

Re: test-org-cite/list-citations failure

2021-10-09 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > It looks like this commit introduced a test failure. Fixed. Thank you. Regards, -- Nicolas Goaziou

[ANN] New `bibtex' citation processor

2021-10-08 Thread Nicolas Goaziou
Hello, I just added the no-thrill "oc-bibtex" citation processor, which relies on the standard "\cite" and "\nocite" LaTeX commands. It only supports citation suffixes. Regards, -- Nicolas Goaziou

Re: Citations: Locale specific adaptions?

2021-10-08 Thread Nicolas Goaziou
M. ‘quintus’ Gülker writes: > I agree with Bruce that this should be mentioned in the manual, > including a pointer to the aforementioned Git repository, because I > needed to find that one on my own. Meanwhile, the `csl' processor is copiously documented in the "Commentary" section of the

Re: Citations: Locale specific adaptions?

2021-10-08 Thread Nicolas Goaziou
a moment. Other than > that, you will notice that the date format is US English. This should > not be the case. I think you need to provide locales in addition to the style file, see `org-cite-csl-locales-dir'. Regards, -- Nicolas Goaziou

Re: Citation in footnote not expanded/exported to LaTeX (using Org-ref-cite)

2021-10-06 Thread Nicolas Goaziou
[...] > Body text [cite: @ravlic2021; @saric2010 with a SUFFIX][fn:1] [...] > [fn:1]Test [cite: @senker1987] > > LaTeX OUTPUT (shortened): > > Body text \autocites{ravlic2021}[][with a SUFFIX]{saric2010}\footnote{Test} I think I fixed it. Could you confirm it? Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-06 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > Nicolas Goaziou writes: > >> Also, the fix belongs to `org-get-time-of-day', which is also >> responsible for formatting the output. > > I doubt so. `org-get-time-of-day' is used to format ending time in time > ranges. If we force f

Re: Citation not inserted as 1st item in footnote (using org-cite and org-ref-cite)

2021-10-06 Thread Nicolas Goaziou
Nicolas Goaziou writes: > This allows one to insert a citation in the middle of the citation > number, which is not desirable either. IOW, an additional check is > required. I think this is now fixed. Thank you. Regards, -- Nicolas Goaziou

Re: Citation not inserted as 1st item in footnote (using org-cite and org-ref-cite)

2021-10-05 Thread Nicolas Goaziou
((memq type '(nil paragraph footnote-definition))) This allows one to insert a citation in the middle of the citation number, which is not desirable either. IOW, an additional check is required. Regards, -- Nicolas Goaziou

Re: [BUG] Citations: exporting with csl crashes [9.5 (9.5-g0a86ad @ /home/quintus/.emacs.d/elpa/org-9.5/)]

2021-10-04 Thread Nicolas Goaziou
Hello, M. ‘quintus’ Gülker writes: > Ah, I see. Thank you for the pointer. I created an issue ticket with a > copy of the OP here: > <https://github.com/andras-simonyi/citeproc-el/issues/54> Great! Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Nicolas Goaziou
ime grid regularly. > >> - (when s1 (setq s1 (org-get-time-of-day s1 'overtime))) >> + (when s1 (setq s1 (format "%05s" (org-get-time-of-day s1 'overtime > > I think, "%5s" is enough, flag "0" does not anything useful for > strings. Also, the fix belongs to `org-get-time-of-day', which is also responsible for formatting the output. Regards, -- Nicolas Goaziou

Re: "Unknown processor biblatex"

2021-10-04 Thread Nicolas Goaziou
se, there is no support for it yet, though it should be trivial to add some. > I sympathise with the op in not getting this new org-cite to > work. It has beaten me despite repeated efforts. You may want to report what didn't work for you. Regards, -- Nicolas Goaziou

Re: [BUG] Citations: exporting with csl crashes [9.5 (9.5-g0a86ad @ /home/quintus/.emacs.d/elpa/org-9.5/)]

2021-10-04 Thread Nicolas Goaziou
-argument sequencep splice) > citeproc-rt--cquote-pstns-1(splice 15) It looks like the issue is in the Citeproc library, not in the Org wrapper. You may want to report it upstream. Regards, -- Nicolas Goaziou

Re: Citation in footnote not expanded/exported to LaTeX (using Org-ref-cite)

2021-10-03 Thread Nicolas Goaziou
t;---cut here---start->8--- Body text with a citation: \autocites(with a suffix){foo}[][]{bar}\footnote{Test}. --8<---cut here-------end--->8--- Both seem correct. Regards, -- Nicolas Goaziou

Re: Spurious spaces with oc-biblatex

2021-10-03 Thread Nicolas Goaziou
> parentheses and the citation. > == > > Result: > > > \autocite{doe} > > ( \autocite{doe}) => this generates a space between the opening > parentheses and the citation. > ========= Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] Don't fill displayed equations

2021-10-02 Thread Nicolas Goaziou
in LaTeX. There is no such thing as a "display equation" in Org, even though you probably see it as such due to your LaTeX background. There, \[...\] is just another way to write maths within a paragraph. Regards, -- Nicolas Goaziou

Re: [PATCH] Don't fill displayed equations

2021-10-01 Thread Nicolas Goaziou
and can contain empty lines. This is already provided by \begin{equation*}...\end{equation*} LaTeX environments. Regards, -- Nicolas Goaziou

Re: Suggestions for improved suffix parsing in oc-biblatex

2021-10-01 Thread Nicolas Goaziou
ith it. Regards, -- Nicolas Goaziou

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-10-01 Thread Nicolas Goaziou
intent, not necessarily how it should be. > To avoid confusion, can we change the docstring explicitly saying that > empty cells are ignored? (see the attached) Sure. Thanks. Regards, -- Nicolas Goaziou

Re: BUG: org-table: table option “:missing” not working (in ob-gnuplot.el)

2021-09-30 Thread Nicolas Goaziou
workaround should be needed. I'm not sure. I wrote this some years ago. I guess the rationale at that time was that it didn't feel useful to apply a format to an empty cell. For example, if you use `:fmt "$%s$"', I assume you wouldn't want to get "$$" in otherwise empty cells. Regards, -- Nicolas Goaziou

Re: [PATCH] Don't fill displayed equations

2021-09-30 Thread Nicolas Goaziou
Timothy writes: > I think there are also some relevant points which I haven’t mentioned so far, > separate from my thoughts that since we’re using the LaTeX syntax we should be > consistent with how LaTeX treats this. I'm not convinced about this. I don't think it is even possible. >> As I

Re: [PATCH] Don't fill displayed equations

2021-09-30 Thread Nicolas Goaziou
Hello, Colin Baxter writes: >>>>>> Nicolas Goaziou writes: > > > Timothy writes: > >> Nicolas Goaziou writes: > >> > >>> I strongly disagree with this. \[...\] is an inline element, not > >>

Re: [PATCH] Don't fill displayed equations

2021-09-30 Thread Nicolas Goaziou
Timothy writes: > Nicolas Goaziou writes: > >> I strongly disagree with this. \[...\] is an inline element, not a block >> element. As such, it can be filled, and filling function should obey to >> the inner structure of the document. >> >> You can use a real

Re: [PATCH] Don't fill displayed equations

2021-09-30 Thread Nicolas Goaziou
filling function should obey to the inner structure of the document. You can use a real block element here, e.g., \begin{equation*}...\end{equation*}, which will not be filled. Regards, -- Nicolas Goaziou

Re: Suggestions for improved suffix parsing in oc-biblatex

2021-09-30 Thread Nicolas Goaziou
, and possibly the expected output. Regards, -- Nicolas Goaziou

Re: Suggestions for improved suffix parsing in oc-biblatex

2021-09-29 Thread Nicolas Goaziou
in oc-csl.el should be enough in the vast majority of the cases, shouldn't it? Regards, -- Nicolas Goaziou

Re: [PATCH] oc-csl: Add support for the text and year citation styles

2021-09-28 Thread Nicolas Goaziou
ate-structure-params' probably needs to be refactored, as the pcase pattern is going to put the byte-compiler to a knee. See, e.g., a6d93cfb621356893dc69fc779894c0984cedbd1 and related thread at <http://lists.gnu.org/r/emacs-orgmode/2021-08/msg00100.html>. Regards, -- Nicolas Goaziou

Re: Suggestions for improved suffix parsing in oc-biblatex

2021-09-28 Thread Nicolas Goaziou
4; with some more text] Note the example above is not supported yet, but it might be a more sensible development than [cite:@doe {4}, with some more text] Regards, -- Nicolas Goaziou

Re: Empty headline titles unsupported: Bug?

2021-09-27 Thread Nicolas Goaziou
Hello, Bastien writes: > Ihor Radchenko writes: > >> Yet, why not simply alter the headline parser a little bit to support >> empty titles + tag? Such headlines are used in some of the tests. See >> the attached patch. > > I'm in favor of this change.

Re: org-cite not mentioned in ORG-NEWS for 9.5

2021-09-25 Thread Nicolas Goaziou
rtant feature. > > Any volunteer? Emmanuel Charpentier (Cc'ed) wrote some nice documentation for this feature. He might want to chime in. Regards, -- Nicolas Goaziou

Re: Bug: org-element-map doesn't consider all links in the current buffer [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]

2021-09-25 Thread Nicolas Goaziou
from Org. There are no links in keywords or properties drawers since those are plain key-value string pairs. Regards, -- Nicolas Goaziou

Re: [org-cite] citations in property drawers?

2021-09-15 Thread Nicolas Goaziou
ing for trouble. I understand the problem, but the solution should not be: "let's pretend export does not exist". Regards, -- Nicolas Goaziou

Re: [org-cite] citations in property drawers?

2021-09-15 Thread Nicolas Goaziou
One question though since I may have missed this in the other > threads is cite: allowed without the square brackets? No it isn't. This would conflict with "cite"-type links, if defined. Regards, -- Nicolas Goaziou

Re: [PATCH] Fix bug assuming canonical duration units in org-agenda-format-items

2021-08-31 Thread Nicolas Goaziou
ld then have to compare either against > `org-duration-units` or `org-duration-canonical-units` depending on > the canonical argument. Exactly. Regards, -- Nicolas Goaziou

Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-23 Thread Nicolas Goaziou
essions > > \emph\{\{n+1\}-a\} > \textit\{a\{b\}c\} > > Can this be fixed? Org only supports a limited part of the LaTeX syntax as raw syntax. This is not AucTeX mode! For complex macros (e.g., with nested braces), you need to use dedicated environments, as pointed out by Jérémie. Regards, -- Nicolas Goaziou

Re: Bug: Small documentation errors [9.3.6 (9.3.6-29-g6a3dff-elpaplus @ /home/jorge/.emacs.d/elpa/27.0/develop/org-plus-contrib-20200406/)]

2021-08-11 Thread Nicolas Goaziou
do > it correctly next time. I think what you did is correct. But the other option would not be the end of the world either. Regards, -- Nicolas Goaziou

Re: [PATCH] ox: Italian smart quotes

2021-08-11 Thread Nicolas Goaziou
rg-export-smart-quotes-alist): Added support for italian > smart quotes. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-08-11 Thread Nicolas Goaziou
; With this approach, the citation context isn't relevant. > > As to your question, do any style UIs currently allow you to select a > style on a new citation before selecting the keys? I added a citation argument to select-style. Let me know if it works for you. Regards, -- Nicolas Goaziou

Re: [PATCH] Fix bug assuming canonical duration units in org-agenda-format-items

2021-08-11 Thread Nicolas Goaziou
er fix would be to change `org-duration-from-minutes' so it removes any unknown unit from what is provided from fmt or `org-duration-format', and defaults to (special . h:mm) if nothing is left. WDYT? Regards, -- Nicolas Goaziou

Re: citations: rx problems with emacs-26.3

2021-08-11 Thread Nicolas Goaziou
target 'oc-csl.elc' failed > make[2]: [oc-csl.elc] Error 1 (ignored) All fixed. Thank you. Regards, -- Nicolas Goaziou

Re: citations: rx problems with emacs-26.3

2021-08-11 Thread Nicolas Goaziou
Hello, Maxim Nikulin writes: > On 08/08/2021 03:27, Nicolas Goaziou wrote: >> Maxim Nikulin writes: >> >>> It seems, rx e.g. in emacs-26.3 does not support all features used in >>> oc.el and oc-csl.el. Loading an org file using git master, I get >>>

Re: citations: rx problems with emacs-26.3

2021-08-08 Thread Nicolas Goaziou
Hello, Maxim Nikulin writes: > On 08/08/2021 03:27, Nicolas Goaziou wrote: >> Maxim Nikulin writes: >>> >>> It seems, rx e.g. in emacs-26.3 does not support all features used in >>> oc.el and oc-csl.el. Loading an org file using git master, I get >>

Re: citations: rx problems with emacs-26.3

2021-08-07 Thread Nicolas Goaziou
((rx > ...))) in `org-cite-adjust-note'. > >> diff --git a/lisp/oc-basic.el b/lisp/oc-basic.el Thanks. Could you send the patch again with a proper commit message, using git format-patch? Regards, -- Nicolas Goaziou

Re: bug processing non emacs-lisp blocks

2021-08-07 Thread Nicolas Goaziou
;org-sidebar") > #+end_src > > the following patch fixes that problem. The Regular expression should > be more stringent, so it does match exactly the string and not a > substring. Thank you. I applied an equivalent patch. Regards, -- Nicolas Goaziou

Re: Bug: invalid example for org-export-define-backend's :menu-entry argument [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-08-07 Thread Nicolas Goaziou
s v b)) > > This is invalid for two reasons: > > 1. The ?p and ?o elements should be wrapped in an extra layer of > parentheses. For example, the ?p element should be ((?p "As PDF file" > org-latex-export-to-pdf)). > 2. There is an extra parenthesis at the end of the block. Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] ox.el: fix spanish translation for `footnotes'

2021-08-07 Thread Nicolas Goaziou
rm. Attached a small > patch. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: org-cite and pandoc

2021-08-07 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > By the way, ox-md also fails if there is a #+bibliography > line. Removing it allows for the export. Very strange. Would you have an ECM? I cannot reproduce it. Regards, -- Nicolas Goaziou

Re: org-cite-list-bibliography-files

2021-07-30 Thread Nicolas Goaziou
already have a top-level binding. It would be a waste to add C-c C-c to that. We might want to use it for something different at some point. Regards, -- Nicolas Goaziou

Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-07-29 Thread Nicolas Goaziou
argument: citation? When you are inserting a whole new citation, what would be the value? nil? What would you display then? Regards, -- Nicolas Goaziou

Re: [BUG] Citations in tables are not exported

2021-07-29 Thread Nicolas Goaziou
per-theor] > | X [cite/t:@lin-2021-exper-theor] | test | > > > the citation in the caption is exported (in latex), but not the one in the > cell. I cannot reproduce it. Do you still encounter it? Regards, -- Nicolas Goaziou

Re: [BUG] Citations in tables are not exported

2021-07-29 Thread Nicolas Goaziou
, OTOH, a decent interface should prevent the most obvious issues. WDYT? Regards, -- Nicolas Goaziou

Re: [BUG] Citations in tables are not exported

2021-07-29 Thread Nicolas Goaziou
aption anyway, it does seem to get exported > correctly. Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: virtual-fill mode in mail buffers, with orgalist-mode, prefix is not considered when virtual-fill is on

2021-07-27 Thread Nicolas Goaziou
fj ablkadf > kj kajldjf adfkjaksdfjl > > > > So the prefix is not taken into account. Anybody seeing this and knows > a solution? Orgalist mode does not handle virtual indentation. Patches welcome, however. Regards, -- Nicolas Goaziou

Re: [PATCH] [BUG] Bad fontification in full displayed links

2021-07-27 Thread Nicolas Goaziou
Hello, Juan Manuel Macías writes: > You are right, I think that solution is much simpler. I attach a > new patch and I have included your name in the commit message, for the > suggestion. Thanks! Applied. Thank you. Regards, -- Nicolas Goaziou

Re: Bug: duplicated \texttt in LaTeX export

2021-07-27 Thread Nicolas Goaziou
rt as LaTeX buffer: > > \texttt{\texttt{(delete-dups nil)}} > > I see no reason why \texttt should be doubled this case. Expectation: e.g. > > \texttt{(delete-dups nil)} Fixed. Thank you. Regards, -- Nicolas Goaziou

Citations merged!

2021-07-09 Thread Nicolas Goaziou
Hello, It took years, but citations are now full part of Org syntax. Thanks to everyone involved over the time! Now, it needs to be documented, but that will come a bit later. Regards, -- Nicolas Goaziou

Re: Bug: [PATCH] Use crm for tag completion [9.4.6 (9.4.6-gab9f2a @ /home/ionasal/.emacs.d/elpa/org-9.4.6/)]

2021-07-09 Thread Nicolas Goaziou
gt; * testing/lisp/test-org.el (test-org/set-tags-command): Fixed tests. > * etc/ORG-NEWS (Tag completion now uses =completing-read-multiple=): > Added news. Applied. Thank you. I just changed string-join into to good ole mapconcat as the code base does not use subr-x.el Regards, -- Nicolas Goaziou

Re: [wip-cite-new] Merging tomorrow?

2021-07-08 Thread Nicolas Goaziou
Timothy writes: > Lastly, an example of what I’d expect when exporting to ascii (with three > example syntaxes): > > ┌ > │ #+name: sometab > │ #+caption: Some table > │ | a | b | > │ | c | d | > │ > │ Hey, look at [[sometab]]. (or) > │ Hey, look at [cite:#sometab]. (or) > │ Hey, look at

Re: [wip-cite-new] Merging tomorrow?

2021-07-08 Thread Nicolas Goaziou
ink". In this situation, I think #+bibliography: somefile.bib is closer from #+include: somefile.org or #+setupfile: config.org than it is from [[file:somefile.org]] So, I do think this is consistent with the rest of Org, actually. Regards, -- Nicolas Goaziou

Re: [wip-cite-new] Quick note about citation insertion

2021-07-08 Thread Nicolas Goaziou
"Bruce D'Arcus" writes: > Just a little thing: > > Why is it: > > org-cite-basic--complete-style > > ... rather than: > > org-cite-basic-complete-style > > I thought you would want to encourage reuse of that one, in > particular? In this situation, the function I want to encourage re-using is

Re: [wip-cite-new] Quick note about citation insertion

2021-07-08 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > On Wed, Jul 7, 2021 at 6:59 PM Nicolas Goaziou wrote: > >> For a developer, there are now two ways to create an insert processor. >> >> 1. If you are happy with the global behaviour of "basic", but want to >>

Re: [wip-cite-new] Merging tomorrow?

2021-07-08 Thread Nicolas Goaziou
UTF-8 export? This is not clear to me. What can I say however is: if this feature implies to change, or extend, syntax, then it is /de facto/ a blocker for the merge, and needs to be sorted out. Regards, -- Nicolas Goaziou

Re: Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-08 Thread Nicolas Goaziou
de-cycle'.") > > Does that sound like the right thing to do? If so then I could submit > it to the Emacs dev list. There are multiple solutions to this. But, as I wrote, you ought to answer in the other thread I mentioned, the one that initiated this change, and probably to Emacs Devel. Regards, -- Nicolas Goaziou

[wip-cite-new] Merging tomorrow?

2021-07-07 Thread Nicolas Goaziou
port"), or for all documents (with `org-cite-export-processors'). References are displayed with the "print_bibliography" keyword. It is possible to add parameters to its value, as some export processors could make use of them. --8<---cut here---end--->8--- Please let me know if there are any objections to the merge. Regards, -- Nicolas Goaziou

Re: [wip-cite-new] Quick note about citation insertion

2021-07-07 Thread Nicolas Goaziou
Yes, it is. You need to enter the empty string to exit. C-j is the way to do that on Selectrum. I don't know about Vertico. Regards, -- Nicolas Goaziou

Re: Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-07 Thread Nicolas Goaziou
Evil in the second case), is stealing the binding. I guess you have to reclaim it back. Please see (and answer there) <https://orgmode.org/list/00ca1c7b-1e1d-fc91-eef3-dfc29b51b...@daniel-mendler.de/> Regards, -- Nicolas Goaziou

Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/st

2021-07-05 Thread Nicolas Goaziou
Mohsin Kaleem writes: > Which question do you refer to? > If its reproducing with `emacs -Q` I believe I did? It's not. I asked if replacing '(lambda ...) with #'org-latex-compile would work too.

Re: [kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/straight/build/org/)]

2021-07-05 Thread Nicolas Goaziou
Hello, Mohsin Kaleem writes: > Hi just following up. Thanks for the heads up, but you haven't answered my question yet. Regards, -- Nicolas Goaziou

Re: [wip-cite-new] Quick note about citation insertion

2021-07-03 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > On Fri, Jul 2, 2021 at 4:05 PM Nicolas Goaziou wrote: >> That's expected. "nil" is the name of the processor's fall-back style, >> ignoring any inheritance. It is different from the empty style (""), >> w

Re: [wip-cite-new] Quick note about citation insertion

2021-07-03 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > On Saturday, 3 Jul 2021 at 00:33, Nicolas Goaziou wrote: >> If you have so many keys, you shouldn't be using Org Cite Basics in the >> first place! > I think there's a conceptual misunderstanding here [...] > My bibliography databa

Re: [wip-cite-new] Quick note about citation insertion

2021-07-02 Thread Nicolas Goaziou
"Bruce D'Arcus" writes: > On Fri, Jul 2, 2021, 5:48 PM Nicolas Goaziou wrote: > Rather than just completing the key, how about something like: > > ("title author date" . "key") > > E.g. look up against the data, and return the key. Well, I gues

Re: [wip-cite-new] Quick note about citation insertion

2021-07-02 Thread Nicolas Goaziou
"Bruce D'Arcus" writes: > BTW, you may already be thinking this, but you may as well add completion > from the files registered with OC at this point. :-) > > Only having the completion table populated with in-document keys won't be > very useful, particularly in a new document. The completion

Re: [wip-cite-new] Quick note about citation insertion

2021-07-02 Thread Nicolas Goaziou
ll be enough to have it occupy the binding :) Regards, -- Nicolas Goaziou

Re: [wip-cite-new] Quick note about citation insertion

2021-07-02 Thread Nicolas Goaziou
"Bruce D'Arcus" writes: > 1. I don't see a way to add a key to an existing citation. Editing an > existing key uses completing-read, rather than > completing-read-multiple (as for a new citation), and places point > after the existing key means the style editing UI will pop up. Indeed, there's

Re: [wip-cite-new] Quick note about citation insertion

2021-07-02 Thread Nicolas Goaziou
text [cite/nil:@doe21] [cite:@doe21] the first citation will use \cite whereas the second one will use \textcite. Regards, -- Nicolas Goaziou

[wip-cite-new] Quick note about citation insertion

2021-07-02 Thread Nicolas Goaziou
ion in "oc-basic.el", for example. Regards, -- Nicolas Goaziou

Re: [PATCH] Customizify org-babel-fortran-compiler

2021-07-01 Thread Nicolas Goaziou
ange `defvar' to > `defcustom' > so that the fortran compiler is customizable like almost all other org-babel > compilers. > #+end_example > > This is rather minor though, I mention this mostly as a note for the > future :) Thanks. I went ahead, applied the patch with your recommendation, added a :package-version keyword, and pushed. Thanks. Regards, -- Nicolas Goaziou

Re: [patch] add :url and :doi optional entries for export to BiBTeX

2021-07-01 Thread Nicolas Goaziou
es should have it. I didn't want all of them because I often store > the URL for a journal article in the org file just for quick access > but I do not want it exported to BiBTeX as it would be messy and > superfluous when the paper were cited. > > I'm glad the patch seemed straight

Re: [PATCH] Fix erroneous tangling of blocks

2021-07-01 Thread Nicolas Goaziou
Hello, Timothy writes: > I've just taken a look at your patch and it looks good :) glad to see > you've also followed the commit message format. I hope this gets merged > soon. Applied. Thanks for the patch, and thanks for the review. Regards, -- Nicolas Goaziou

Re: org-mode-map binds [tab]

2021-07-01 Thread Nicolas Goaziou
Hello, Daniel Mendler writes: > `org-mode-map` binds `[tab]` which is unnecessary and harmful, since it > takes precendence over bindings of TAB even in keymaps with higher > precedence. Thou shalt not have precedence over Org mode! Fixed. Thank you! Regards, -- Nicolas Goaziou

Re: [PATCH] Fix timestamp agenda setting global agenda name [9.4.6]

2021-06-30 Thread Nicolas Goaziou
e'. Wrap the call in a let-binding for > this symbol (like the agenda dispatcher does), since otherwise it > inadvertently sets the global value. Applied. Thank you! Regards, -- Nicolas Goaziou

Re: Bug: "before first headline" error when adding clock out note [9.4.6 (9.4.6-dist @ /home/wenlong/org-9.4.6/lisp/)]

2021-06-27 Thread Nicolas Goaziou
Hello, Dave D writes: > It seems the error is caused by function > org-clock-remove-empty-clock-drawer called by org-clock-out-hook > > I have removed that function from the hook for now as a workaround. I pushed a fix in master. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] source blocks mangled when edited

2021-06-27 Thread Nicolas Goaziou
arantees of correctness. I tweaked the commit message and applied your patch. Thank you. Regards, -- Nicolas Goaziou

Re: do not attempt to clean the (no-longer-existent) ./contrib directory

2021-06-26 Thread Nicolas Goaziou
Hello, Greg Minshall writes: > Nicolas, > >> Sure. Please go ahead. > > ahead and went. cheers, Greg Oops, this one had almost fallen through the cracks! Applied. Thank you > Regards, -- Nicolas Goaziou

Re: [wip-cite-new] Where is the development branch ?

2021-06-26 Thread Nicolas Goaziou
e new abilities in =Org= ? I would appreciate some alpha-testing first, but I would say the code is already good enough for inclusion at this point. I.e., there are a couple of points open for discussion, but no blocker. Please let me know how it goes! Regards, -- Nicolas Goaziou

Re: [SOLVED] (kinda) Calendar vs. org-agenda exit

2021-06-24 Thread Nicolas Goaziou
Hello, Stephen Berman writes: > Yeah, the next time Org is merged to the Emacs master branch, forcing me > to first stash and then reapply my patch locally, I'll ask if anyone > objects to the patch being committed to master. Sure, go ahead. Regards, -- Nicolas Goaziou

Re: [wip-cite-new] experimental citeproc-el based activation processor

2021-06-22 Thread Nicolas Goaziou
t;Internally, return > value is [...]" would go a long way toward conveying the message that > one shouldn't rely on the list representation. It's not that one shouldn't rely on the list representation, but the expressiveness of `car' is very low, whereas `org-element-type' is explicit. I was merely suggesting to lean towards expressiveness here. Regards, -- Nicolas Goaziou

  1   2   3   4   5   6   7   8   9   10   >