Hi Paul,

"Paul D. Nelson" <[email protected]> writes:

> I've tried what I hope is an equivalent setup: emacs -Q, loading auctex
> and buframe (via the elpaca-test macro rather than package.el), and the
> two settings you mention.  It works as expected for me: buframes display
> previews when point is on math.
>
> (I could try it later with package.el, but I wouldn't have thought that
> would make a difference.)

I think I now know what's going on: I have installed buframe.el via
package.el.  If I eval this form:

  (progn
    (package-initialize t)
    (package-activate 'buframe)
    (featurep 'buframe))
  => nil

package.el loads the autoloads defined by buframe; the library itself is
loaded lazily.  Now we have this in preview.el:

  (defun preview--update-buframe (&optional force)
    "Show or hide a buframe popup depending on overlays at point."
    (when (featurep 'buframe)
      ...

The function doesn't work as expected due to the check above.  I think
the test should be adjusted.  What do you and Al think?

The setup I sent upthread works as expected if I add this form to it:

  (require 'buframe)

> I'm using buframe.el version 0.3, in case that matters.

Same here, from ELPA.

Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to