Hi Al,

Al Haji-Ali <[email protected]> writes:

> Hello Paul,
>
> I am also coming back to this now.
>
> On 07/06/2026, Paul D. Nelson wrote:
>> if I type
>>
>>   Let \(x
>>
>> inside an otherwise empty document environment, a preview generates.
>> When I then type the closing
>>
>>   \)
>>
>> the *.../_region_ output* buffer pops up with the message:
>>
>>   LaTeX: LaTeX found no preview images
> This didn't happen with me on a clean install, can you provide a
> reproduction recipe?

I'm on a different computer now and wasn't immediately able to reproduce
the same issue, but now I get the following issue.

Start with emacs -Q (recent master).  Activate recent AUCTeX master with
your patch (3f4122b0dab0f8832f9b32efbc73427818b16904) applied.  Evaluate

(setq preview-automatic-function #'texmathp)
(find-file "test.tex")

Insert

\documentclass{article}
\begin{document}

\end{document}

Activate preview-automatic mode, and type "Let \(" between the begin/end
document pair.  This generates a preview overlay that runs from the
start of "\(" to the end of the buffer.


In GNU Emacs 32.0.50 (build 11, aarch64-apple-darwin25.5.0, NS
 appkit-2685.60 Version 26.5.2 (Build 25F84)) of 2026-07-10 built on
 pauls-mbp.st.client.au.dk
Repository revision: e8e129e05ddf62fe83400563edef6b2b989de4fa
Repository branch: working
Windowing system distributor 'Apple', version 10.3.2685
System Description:  macOS 26.5.2

Configured using:
 'configure --with-ns --with-native-compilation --with-tree-sitter
 --with-gif --with-png --with-jpeg --with-rsvg --with-tiff
 --with-imagemagick --with-x-toolkit=gtk3 --with-xwidgets'

Configured features:
ACL GLIB GNUTLS IMAGEMAGICK LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY
KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
  preview-automatic-mode: t
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
time-date mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader
sendmail mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cl-extra pp cl-print help-fns radix-tree help-mode
preview timeout tex-bar toolbar-x noutline outline tex-mode shell
pcomplete font-latex latex edmacro kmacro latex-flymake flymake project
warnings thingatpt tex-ispell tex-style tex crm texmathp auctex latexenc
auctex-autoloads tex-site compile text-property-search comint ansi-osc
ansi-color ring comp-run comp-common rx hl-line display-line-numbers
elpaca-log elpaca-ui derived url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util url-parse auth-source eieio eieio-core icons password-cache
json map url-vars mailcap byte-opt bytecomp byte-compile elpaca-git
elpaca easy-mmode pcase cl-seq inline cl-macs gv elpaca-process subr-x
cl-loaddefs cl-lib elpaca-autoloads rmc iso-transl tooltip cconv eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
xwidget-internal kqueue cocoa ns lcms2 multi-tty make-network-process
tty-child-frames native-compile emacs)

Memory information:
((conses 16 244650 13010) (symbols 48 14604 0) (strings 32 64117 5199)
 (string-bytes 1 1801437) (vectors 16 33606)
 (vector-slots 8 350755 6324) (floats 8 143 232) (intervals 56 469 0)
 (buffers 1064 23))



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

Reply via email to