emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problems with yasnippet enabled in hidden font locking buffer


From: Nicolas Goaziou
Subject: Re: [O] Problems with yasnippet enabled in hidden font locking buffer
Date: Wed, 27 Mar 2019 15:31:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Carlos Pita <address@hidden> writes:

> I've been having problems with latex font locking the first time the
> internal font locking buffer is created (this with native latex
> fontification). It was hard to debug but at a point it became obvious that
> the culprit was yas minor mode, which I had globally enabled. I don't think
> this global minor mode should be enabled in hidden buffers and I requested
> this to be changed [1]. I'll keep you informed of any advance regarding
> this matter but, anyway, maybe org mode could also add a hook to
> yas-dont-activate-functions in order to disable activation when the buffer
> name matches an org mode specific pattern/prefix. Short of every concerned
> user taking action here, at least one of the interacting parties (org and
> snippet) would have to compromise: (i) yasnippet by disabling its global
> minor mode for all hidden buffers and/or those matching an org specific
> pattern and/or (ii) org by including a yasnippet specific filter. IMO the
> best solution is what I described above: yasnippet disabling its global
> minor mode for *all* hidden buffers.

I don't think the issue belongs to the Org side, and Org needs not be
aware of Yasnippets.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]