bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23180: Still a problem


From: Uwe Brauer
Subject: bug#23180: Still a problem
Date: Sat, 02 Apr 2016 17:44:35 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

>>> "Mosè" == Mosè Giordano <address@hidden> writes:

   > Hi Uwe,
   > 2016-04-02 19:31 GMT+02:00 Uwe Brauer <address@hidden>:
   >>>>> "Mosè" == Mosè Giordano <address@hidden> writes:
   >> (I think everybody is tired with this bug),
   >> So I thought of modifying directly the auto-capitalize code.
   >> 
   >> Most likely the line
   >> (funcall auto-capitalize-predicate)))
   >> 
   >> Should read
   >> 
   >> (funcall (save-match-data (auto-capitalize-predicate))))
   >> 
   >> Is this correct?

   > Yes.  Since that function is to be run in `after-change-functions' I
   > believe that it should be auto-capitalize task to make sure match data
   > is preserved after `auto-capitalize-predicate' is executed.

No that did not work, gave a syntax error(!)

it seems that the correct syntax is

               (save-match-data (funcall auto-capitalize-predicate))))


now (for the moment being, finger crossed) everything works as expected.

If Kevin is not responding in due time, I try to find out how I could
change the code in MELPA.

Bye

Uwe 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]