emacs-async icon indicating copy to clipboard operation
emacs-async copied to clipboard

Injecting obarrays via async-inject-variables introduces an error

Open ebellani opened this issue 8 months ago • 1 comments
trafficstars

Hello there.

I'm getting an error sending emails using smtpmail-async because (it seems to me) of the value of mail-extr-all-top-level-domains.

The injected setq list on my messages buffer shows this

(setq ... mail-extr-all-top-level-domains '# ...)

which leads predictably to a async-handle-result: Invalid read syntax: "#<" error.

This seems to be unavoidable for obarrays, since they are not made to be computer-readable (see https://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00298.html)

Adding (add-to-list 'async-inject-variables-exclude-regexps "\\\(mail-extr-all-top-level-domains\)")` does 'solve' the issue, but the point about obarrays still stands.

ebellani avatar Mar 15 '25 18:03 ebellani