[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22661: 25.0.91; python.el electric-indent misbehaviour with 'else:'
bug#22661: 25.0.91; python.el electric-indent misbehaviour with 'else:' and nested 'if:'
Sun, 22 Jan 2017 16:50:22 -0800
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0
On 01/22/2017 03:08 PM, address@hidden wrote:
> I think it's better to maximize the range of save-match-data, i.e., have
> it cover as much code as practical between the place that sets the match
> data and the place that uses the it, rather than minimizing the range so
> that it only covers functions which modify match data (because the
> default assumption in Emacs is that functions may modify match data
> unless they say otherwise). In this case, I would put it around the
> `and` in the line above.
Thanks. I've attached a newer version with tests with all the issues fixed.
Description: Text Data
Description: OpenPGP digital signature