[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving match data
From: |
Uwe Brauer |
Subject: |
Re: Saving match data |
Date: |
Thu, 29 Sep 2016 09:29:26 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> On 2016-09-28, at 16:01, Philipp Stephani <address@hidden> wrote:
> Yes, it is surprising. Here's a story from three years ago about how
> this hit me:
> http://mbork.pl/2013-09-18_Selective_replacement_in_LaTeX_documents_(en)
There was also a problem with auto-capitalize-mode and auctex. See
see: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23180
and its solution
In order to avoid, that in Auctex, math-mode constructions like
$A_i$ get expanded to $A_I$ use set `auto-capitalize-predicate' was
set to (lambda () (not (texmathp))) as in the following. However
`texmathp' function doesn't save match data but it's run in
`auto-capitalize' that is installed into `after-change-functions'
hook however such functions (info "(elisp)Change Hooks") must
restore match data otherwise unexpected behavior will appear, as
it's in the case of the following BUG.....
- Re: Saving match data, (continued)
- Re: Saving match data, Michael Heerdegen, 2016/09/28
- Re: Saving match data, Stefan Monnier, 2016/09/28
- Re: Saving match data, Michael Heerdegen, 2016/09/28
- Re: Saving match data, Eli Zaretskii, 2016/09/28
- Re: Saving match data, Michael Heerdegen, 2016/09/28
- Re: Saving match data, Eli Zaretskii, 2016/09/28
- Re: Saving match data, Michael Heerdegen, 2016/09/28
- Re: Saving match data, Lars Ingebrigtsen, 2016/09/28
- Re: Saving match data, Eli Zaretskii, 2016/09/28
- Re: Saving match data, Marcin Borkowski, 2016/09/28
- Re: Saving match data,
Uwe Brauer <=