Open nivaca opened 3 years ago
I second this bug report. It also happens with quotes when a region is active. Using ubuntu 20.04 linux.
I can reproduce this but for me it only happens if I also select an empty space in front of the word, otherwise it just erases the word and does nothing (not even inserting \
)
I have the same problem with Emacs 28 on MacOS High Sierra. This is very annoying as undo will not work properly in this case, so I have to remember the original text or find an old version of the file.
I can no longer reproduce this bug.
I can still reproduce this bug (calling "\" on a region just deletes the region). It should be solved with the new AUCTeX version and #1208 merged in.
Expected behavior
The selected text gets replaced with a "\".
Actual behavior
Smartparens completely changes my text and I cannot undo the changes.
Steps to reproduce the problem
In latex-mode, select a piece of text within curly braces. Type "\".
Please see screencast here: https://imgur.com/W8djB90
Backtraces if necessary (
M-x toggle-debug-on-error
)Environment & version information
smartparens
version: 20200911.1124major-mode
:latex-mode
M-x emacs-version
): GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3) of 2020-08-28Also occurs on GNU Emacs 28.
Also happens on Mac:
smartparens
version: 20200911.1124major-mode
:latex-mode
M-x emacs-version
): GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2020-08-12myparent.el.txt