You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emacs version (M-x emacs-version): GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2023-08-30, modified by Debian
Starterkit/Distribution: Vanilla
OS: gnu/linux
The text was updated successfully, but these errors were encountered:
Mismatched sexp state: wrapping would break structure
Expected behaviour
In org mode buffer, with smartparens mode enabled, selecting text and pressing '*' should wrap the text in parens and emphasize it.
Actual behaviour
No closing paren is inserted and an error message is shown:
Mismatched sexp state: wrapping would break structure
Steps to reproduce the problem
This can easily and consistently be reproduced:
Backtrace
I edited smartparens.el, replacing 'user-error' with 'error' to get a Backtrace.
Smartpackage configuration
Standard configuration, except setting for sp-navigate-consider-symbols, set to nil.
Actually, setting sp-navigate-consider-symbols to t solves the problem, but I insist on setting it to nil for fast navigation in emacs-lisp mode.
Ouput from sp-describe-system
smartparens
version: 20231024.1804major-mode
:org-mode
M-x emacs-version
): GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2023-08-30, modified by DebianThe text was updated successfully, but these errors were encountered: