Re: Footnote tooltips (an attempt)

2022-02-23 Thread Juan Manuel Macías
Hi John, John Kitchin writes: > I think this might be a simpler approach. what you want (I think) is > to leverage font-lock on tooltips to set a help-echo function instead > of a string. You can override org-activate-footnote-links with an > advice (which makes it easy to undo of you need). The

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

2022-02-23 Thread Alejandro Pérez Carballo
Sorry about the unclear report. I was indeed _not_ in an org buffer. I do not think I was using minibuffer completion, but I cannot remember. I now just got a similar error message, this time when working on an Elisp buffer. The error message says: Warning (org-element-cache):

Re: Footnote tooltips (an attempt)

2022-02-23 Thread John Kitchin
I think this might be a simpler approach. what you want (I think) is to leverage font-lock on tooltips to set a help-echo function instead of a string. You can override org-activate-footnote-links with an advice (which makes it easy to undo of you need). The tooltip function then looks up the

Re: Footnote tooltips (an attempt)

2022-02-23 Thread Juan Manuel Macías
Hi Samuel, Samuel Wales writes: > what a great idea. i am interested in your comments. emacs has lots > of tooltip-related features. eldoc, help-at-pt, mouse-avoidance, etc. > you don't want tooltips when your mouse happens to end up over. or > for your mouse to go haywire just because you

[PATCH] Send table rows to OCaml as tuples

2022-02-23 Thread necaris
From: Rami Chowdhury Previously, tables (i.e. lists-of-lists) came through as arrays-of-arrays. Since OCaml arrays are required to be homogeneous in their types, this meant tables with heterogenous types within a row could not be handled. This change represents tables as arrays of tuples, which

Re: Bug with exporting list with link item containing "::" to markdown

2022-02-23 Thread Max Nikulin
On 13/02/2022 03:12, Cash Weaver wrote: As a quick summary: The following list item is improperly exported to org mode (org-md-export-as-markdown). The first snippet is in org-mode and the second is the exported markdown: - [[id:c89158fd-05ac-4c66-8986-05753e15096c][ryans01 :: No Zero

Re: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-23 Thread Kaushal Modi
On Wed, Feb 23, 2022 at 7:37 AM Ihor Radchenko wrote: > > Dear all, > > Since there is at least a couple of people who might be interested, lets > try to meet online on jitsi and debug performance issues you experience > because of Org mode. Probably some time this Saturday (Feb 26). I am >

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

2022-02-23 Thread Ihor Radchenko
Max Nikulin writes: >> +;; the same purpose. Overlays are implemented with O(n) complexity in >> +;; Emacs (as for 2021-03-11). It means that any attempt to move >> +;; through hidden text in a file with many invisible overlays will >> +;; require time scaling with the number of folded regions

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

2022-02-23 Thread Max Nikulin
On 22/02/2022 12:33, Ihor Radchenko wrote: I am wondering if many people in the list experience latency issues. Ihor, it is unlikely the feedback that you would like to get concerning the following patch: Ihor Radchenko. [PATCH 01/35] Add org-fold-core: new folding engine. Sat, 29 Jan 2022

Re: Inserting links stored in `org-store-link-plist`

2022-02-23 Thread Max Nikulin
On 18/02/2022 06:26, Alejandro Pérez Carballo wrote: After storing a link to an ID using `org-id-store-link` I would've expected the stored link to be made available when calling `org-insert-link`, I would expect that to store ID link it should be enough to call `org-store-link' having proper

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

2022-02-23 Thread Ihor Radchenko
Matt Price writes: >> 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? >> > > Hmm. I don't see it anywhere in my ~.emacs.d/elpa~ directory or in my > config file. I also went through ORG-NEWS and

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

2022-02-23 Thread Matt Price
On Wed, Feb 23, 2022 at 12:22 AM Ihor Radchenko wrote: > 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

Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature))

2022-02-23 Thread Ihor Radchenko
Dear all, Since there is at least a couple of people who might be interested, lets try to meet online on jitsi and debug performance issues you experience because of Org mode. Probably some time this Saturday (Feb 26). I am thinking about 9pm SG time (4pm Moscow; 8am New York; 1pm London). WDYT?