1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00
emacs/lisp/progmodes
Joel Rosdahl a3c79d44cc Fix electric indent bug in python-mode after dedenting colon
* list/progmodes/python.el (python-indent-post-self-insert-function):
Use markers instead of positions when reindenting statement(s) after
inserting electric colon to avoid reindenting too many
statements (bug#22663).

* test/lisp/progmodes/python-tests.el (python-indent-electric-colon-2):
Improve test case to also verify the fix of bug#22663.

Copyright-paperwork-exempt: yes
2019-01-05 11:02:02 +02:00
..
ada-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ada-prj.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ada-stmt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ada-xref.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
antlr-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
asm-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
autoconf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bat-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bug-reference.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-align.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-awk.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-bytecomp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-cmds.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-defs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-engine.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-fonts.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-guess.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-langs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-menus.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-styles.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-vars.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cfengine.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cmacexp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
compile.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cperl-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cpp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cwarn.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dcl-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ebnf-abn.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-bnf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-dtd.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-ebx.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-iso.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-otz.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-yac.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf2ps.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebrowse.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
elisp-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
etags.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
executable.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
f90.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
flymake-cc.el Update more copyright years 2018-12-31 18:47:22 -08:00
flymake-proc.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
flymake.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fortran.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gdb-mi.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
glasses.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
grep.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gud.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hideif.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hideshow.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
icon.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
idlw-complete-structtag.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
idlw-help.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
idlw-shell.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
idlw-toolbar.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
idlwave.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
inf-lisp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
js.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ld-script.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
m4-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
make-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mantemp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
meta-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mixal-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
modula2.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
octave.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
opascal.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pascal.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
perl-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
prog-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
project.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
prolog.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
python.el Fix electric indent bug in python-mode after dedenting colon 2019-01-05 11:02:02 +02:00
ruby-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
scheme.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sh-script.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
simula.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sql.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
subword.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tcl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vera-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
verilog-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vhdl-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
which-func.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xref.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xscheme.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00