-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with some triggers in LaTeX mode #771
Comments
Maybe the problem with double-quotes described at the end of https://emacs.stackexchange.com/a/34060/2370 is related? For reference I cite here the relevant section: As of 2017-07-09 (melpa-version 20170708.1326), https://github.com/Fuco1/smartparens/ seems to be broken. If I press " in the middle between
I get the following strange auto-insertion:
One can follow the execution of |
@TobiasZawada What you describe is a different problem I think. I don't guard the case where the trigger is also a pair prefix :/ We should probably open a different issue for that. |
This problem still persists as of 2019 |
I am using smartparens with AUCTeX in emacs. I was going through the
smartparens-latex.el
file and trying out some of the code in there.Let me consider code in lines 143- 150.
Expected behavior
So in LaTeX math mode if I press
\l(
or\l[
I should see
\left (* \right )
and\left [ * \right ]
where*
is the point.Actual behavior
Instead I get
\left ((*) \right )
and\left [[* \right ]
.Steps to reproduce the problem
Press
\l(
or\l[
inside LaTeX math mode with AUCTeX activated.Environment & version information
smartparens
version: 20170207.2239M-x emacs-version
):26.0.50The text was updated successfully, but these errors were encountered: