Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Ihor Radchenko
Matt Price writes: > Yes, it definitely seems to be related tofile size, which makes me think > that some kind of buffer parsing is the cause of the problem. Parsing would show up in the profiler report in such scenario. It is not the case though. The problem might be invisible text (it would

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Ihor Radchenko
Matt Price writes: >>20128 80% - redisplay_internal (C function) >> 7142 28% - assq >> 908 3% - org-context Note that org-context is an obsolete function. Do you directly call it in your config? Or do you use a third-party package calling org-context? Best, Ihor

Re: [BUG] Prompted to submit (unsure what happened) [9.5.2 (9.5.2-g072523 @ /Users/apc/.emacs.d/straight/build/org/)]

2022-02-22 Thread Ihor Radchenko
Alejandro Pérez Carballo writes: > I was simply entering an entry to my main bib file. I received an error > message and was asked to submit this report. Thanks for the report! Do I understand correctly that you got: 1. An error message 2. A warning popup Did it happen when you were _not_ in

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Matt Price
sorry everyone, I accidentally sent this to Kaushal this morning, and then took quite a while to get back to a computer after he let me know my mistake! On Tue, Feb 22, 2022 at 10:12 AM Matt Price wrote: > > On Tue, Feb 22, 2022 at 12:45 AM Kaushal Modi > wrote: > >> >> >> On Tue, Feb 22,

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Matt Price
Yes, it definitely seems to be related tofile size, which makes me think that some kind of buffer parsing is the cause of the problem. I'll replay in more detail to Ihor, down below! On Mon, Feb 21, 2022 at 5:22 PM Samuel Wales wrote: > i have been dealing with latency also, often in undo-tree.

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-22 Thread Juan Manuel Macías
Hi Samuel, Samuel Banya writes: > Hey Juan, > > Just wanted to let you know that this works beautifully! > > I wish I was as good at Elisp to make this in the first place, but > this really helps since I wanted to have some minimum overhead for 2 > separate websites to be able to just write in

Re: Footnote tooltips (an attempt)

2022-02-22 Thread Juan Manuel Macías
Ypo writes: > I love it! > I am going to read your code, Juan Manuel, I won't understand anything > but that function is very interesting for me, since it could be used > too with internal links, I suppose. Org links already have tooltips out of the box. You can also display the tooltip in the

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-22 Thread Samuel Banya
Hey Juan, Just wanted to let you know that this works beautifully! I wish I was as good at Elisp to make this in the first place, but this really helps since I wanted to have some minimum overhead for 2 separate websites to be able to just write in Org Mode but include ideas for buttons, with

[BUG] Prompted to submit (unsure what happened) [9.5.2 (9.5.2-g072523 @ /Users/apc/.emacs.d/straight/build/org/)]

2022-02-22 Thread Alejandro Pérez Carballo
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

[PATCH] Fix date in org-latex--format-spec

2022-02-22 Thread Lucas V. R.
Hi all, This is my first time posting here. Sorry in advance if I did something wrong. I tried customizing org-latex-title-command with a "%D" placeholder but the LaTeX was not compiling since this placeholder was being replaced by the string ((latex-fragment (:value \today :begin 1 :end 7

Footnote tooltips (an attempt)

2022-02-22 Thread Ypo
I love it! I am going to read your code, Juan Manuel, I won't understand anything but that function is very interesting for me, since it could be used too with internal links, I suppose. Thanks

Re: Footnote tooltips (an attempt)

2022-02-22 Thread Juan Manuel Macías
I answer myself to comment a couple more things on this question of footnotes and tooltips. I think my approach is quite poor, and also when it comes to files with many notes, it takes a long time to create or update the list of tooltips. So I think I'll give up on' footnote tooltips. If what it

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Samuel Wales writes: > >> i have been dealing with latency also, often in undo-tree. this might >> be a dumb suggestion, but is it related to org file size? my files >> have not really grown /that/ much but maybe you could bisect one. as >> opposed to config. > > I

Re: [WISH] Allow to hide the '*Org Help*' in 'org-goto' [9.5.2 (release_9.5.2-13-gdd6486 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-02-22 Thread Rudolf Adamkovič
Ihor Radchenko writes: > If you want to hide *Org Help* buffer, you can customise your > display-buffer-alist: > > [...] It works and TIL! Thank you, Ihor. Rudy -- "Strange as it may sound, the power of mathematics rests on its evasion of all unnecessary thought and on its wonderful saving

Prompt when resolving clocks [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]

2022-02-22 Thread Roméo La Spina
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Prompt when resolving clocks [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]

2022-02-22 Thread Roméo La Spina
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [PATCH] etc/ORG-NEWS: Add news items about new features in texinfo exporter

2022-02-22 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > --- > etc/ORG-NEWS | 19 +++ Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] ox-latex.el: Add a `t' value for `:float' in tables and figures

2022-02-22 Thread Nicolas Goaziou
Hello, Juan Manuel Macías writes: > I am attaching an updated version of the patch, which retrieves the > `t' value for `:float' in tables and figures. The necessary information in > the Manual is also updated. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: More robust CSL-JSON date parsing in oc-basic

2022-02-22 Thread Nicolas Goaziou
Hello, David Lukeš writes: > -(car (split-string date "-"))) > +(replace-regexp-in-string > ".*?\\([0-9]\\{4\\}\\).*" "\\1" date)) > + [...] > Let me know which of these changes -- if any -- seem acceptable, and >

Re: Open a footnote definition outside a narrowed subtree (workaround)

2022-02-22 Thread Juan Manuel Macías
Nicolas Goaziou writes: > The "standard" solution is to use Thanks fot the tip! org-edit-special > org-edit-footnote-reference: it's clearly explained in the docstring, and I've been cloning buffers manually all my life (facepalm). Sorry for the noise, naturally the "standard" solution is

Re: [FR][org-cite][oc-basic] Display Editor of Volume in Completion Table

2022-02-22 Thread psychosis
Hello Nicolas, it works perfectly. Thank you very much! Regards, Paul On So, Feb 13 2022 at 22:29:25 +0100, Nicolas Goaziou wrote: Hello, psychosis writes: when executing org-cite-insert with the oc-basic processor, the “author”-field in the completion table is empty for edited

Re: Open a footnote definition outside a narrowed subtree (workaround)

2022-02-22 Thread Nicolas Goaziou
Hello, Juan Manuel Macías writes: > When I am working on a narrowed subtree and want to open a footnote for > editing (`C-c C-o': `org-open-at-point'), I get the message: "Definition > is outside narrowed part of buffer". I don't know if there is a > "standard" solution for that (aside from

Open a footnote definition outside a narrowed subtree (workaround)

2022-02-22 Thread Juan Manuel Macías
Hi all, When I am working on a narrowed subtree and want to open a footnote for editing (`C-c C-o': `org-open-at-point'), I get the message: "Definition is outside narrowed part of buffer". I don't know if there is a "standard" solution for that (aside from cloning the buffer and/or removing the

Re: [WISH] Allow to hide the '*Org Help*' in 'org-goto' [9.5.2 (release_9.5.2-13-gdd6486 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-02-22 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> org-goto-location: Wrong type argument: stringp, nil > > Could we make it so that setting the 'org-goto-help' to 'nil' makes Org > not show the help window for those who do not need it? org-goto-help is a constant. It is not meant to be used to control showing or not