Re: [PATCH] org-preview-latex-fragment dvipng fix for packages in org-latex-packages-alist breaking 'latex' command

2020-09-20 Thread Sébastien Miquel
Hi, If I've understood your problem correctly, simply using ("" "fontspec" nil) in org-latex-packages-alist should fix your issue. Per the documentation, this third argument stops the package from being used when compiling preview fragments. Regards, Sébastien Gabriel S. X. Smith

Re: Cycling through TODO workflow joins the next line onto the current one

2020-09-20 Thread Nicholas Savage
I'm having a hard time reproducing this on the latest master, although it's clear from your image that something is going wrong. How are you marking the tasks as DONE? When I use C-c C-t to mark them as done, it doesn't add the "CLOSED" tag by default under emacs -Q, so I'm wondering if it's

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

2020-09-20 Thread Kévin Le Gouguec
Hi! Ihor Radchenko writes: > The current version of the patch (against master) is in > https://gist.github.com/yantar92/6447754415457927293acda43a7fcaef I'm probably missing something obvious, but when applying your patch on top of master[1], make fails when generating manuals: > emacs -Q

Cycling through TODO workflow joins the next line onto the current one

2020-09-20 Thread Krishan Kharagjitsing
Hello, I found the following weird behaviour. I first reported it to the spacemacs github (https://github.com/syl20bnr/spacemacs/issues/13901) but they confirmed that it is an upstream bug. When I set some tasks to DONE and fold the headings with TAB, then when I cycle back from DONE to TODO it

Re: eldoc recursion error

2020-09-20 Thread James N . V . Cash
Kyle Meyer writes: > Using lexical-let here is problematic because it's obsolete since Emacs > 24. Taking a quick glance, I don't see any issues with switching this > file over to lexical binding by adding " -*- lexical-binding: t; -*-" to > the first line. Cool, will do. I was concerned that

Bug: latex nested environments are failed on preview and export [9.3.8 (9.3.8-1-g13dfab-elpaplus @ /home/sd/.emacs.d/elpa/26.3/develop/org-plus-contrib-20200914/)]

2020-09-20 Thread Сергей Олегович
I want to use a matrix environment that is included in an outer environment, so: ``` Environment: \begin{equation*} \left| \begin{matrix} a_1 & b_1\\ a_2 & b_2 \end{matrix} \right| \end{equation*} Display--math: \[ \left| \begin{matrix} a_1 & b_1\\ a_2 & b_2 \end{matrix} \right| \]

Re: eldoc recursion error

2020-09-20 Thread James N . V . Cash
James N. V. Cash writes: > I was just thinking more about this, and I'm concerned I might need to > change things around a little bit more. The closure that > org-eldoc-get-mode-local-documentation-function now returns under Emacs > 28 doesn't take any arguments and instead lets the >

Re: Custom block agendas: Set buffer name

2020-09-20 Thread Nathan Neff
I found it in this section of the docs: https://orgmode.org/manual/Setting-options.html#Setting-options I had unbalanced parenthesis in Feb. and gave up. I was finally able to find the right place to put the options for all the commands (see org-agenda-buffer-name) below. I create variables and

Re: eldoc recursion error

2020-09-20 Thread Kyle Meyer
This was resolved by the thread at . Although the first message in that thread had an In-Reply-To header pointing to a message in this thread, it didn't have a proper References header, so I don't think will pick up

Re: Bug: latex nested environments are failed on preview and export [9.3.8 (9.3.8-1-g13dfab-elpaplus @ /home/sd/.emacs.d/elpa/26.3/develop/org-plus-contrib-20200914/)]

2020-09-20 Thread Nicolas Goaziou
Hello, Сергей Олегович writes: > I want to use a matrix environment that is included in an outer > environment, so: > > ``` > Environment: > \begin{equation*} > \left| > \begin{matrix} > a_1 & b_1\\ > a_2 & b_2 > \end{matrix} > \right| > \end{equation*} > > Display--math: > \[ > \left| >

Re: eldoc recursion error

2020-09-20 Thread Kyle Meyer
James N. V. Cash writes: > Kyle Meyer writes: > >> Does your cider test case above break if we use >> eldoc-print-current-symbol-info without relaying the callback? That is, >> this squashed into your patch: > > My concern with using the eldoc-print-current-symbol-info is that it's > now

Re: eldoc recursion error

2020-09-20 Thread Kyle Meyer
James N. V. Cash writes: > Indeed, testing with an eldoc backend (a personally hacked-up version of > clojure's cider) that actually uses the callback, it wasn't working with > the previous approach. I've attached a patch that addresses the > previously-mentioned issues as well as this. [...] >

Re: eldoc recursion error

2020-09-20 Thread James N . V . Cash
Kyle Meyer writes: > All right, so we can't get by without using eldoc--make-callback here? > Relying on a symbol marked with "--" makes me uneasy, and I'd like to > avoid it if possible. Yeah, good point. I was doing that so I could honour the setting of eldoc-documentation-strategy. I don't

[PATCH] (org-remove-occur-highlights) Implements option to remove highlights between points

2020-09-20 Thread Nicholas Savage
I realize now that I messed up sending this patch yesterday so it didn't show up on updates.orgmode.org. I just wanted to repost it with a correct subject to make sure it didn't get lost. My original message follows. -- I posted earlier about why org-remove-occur-highlights ignored it's