1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00
emacs/lisp/progmodes
Dmitry Gutov 7e9eef0ffd Consolidate 'widen' calls
* lisp/progmodes/prog-mode.el (prog-indentation-context):
Un-document all elements but the first.
(prog-widen): Remove.
(http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00321.html)

* doc/lispref/text.texi (Mode-Specific Indent): Update.

* lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
Don't call widen.

* lisp/progmodes/python.el
(python-indent-guess-indent-offset)
(python-info-current-defun): Replace prog-widen with widen;
these functions are not called during indentation.
(python-indent-context)
(python-indent--calculate-indentation)
(python-info-dedenter-opening-block-message)
(python-info-line-ends-backslash-p)
(python-info-beginning-of-backslash)
(python-info-continuation-line-p)
(python-info-current-defun): Remove 'widen' calls.

* lisp/indent.el (indent-according-to-mode)
(indent-for-tab-command, indent-region): Move them here.

* lisp/textmodes/mhtml-mode.el (mhtml-indent-line):
Bind prog-indentation-context to one-element list.
2017-12-14 11:18:51 +02:00
..
ada-mode.el
ada-prj.el
ada-stmt.el
ada-xref.el
antlr-mode.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el
cc-awk.el
cc-bytecomp.el
cc-cmds.el Make c-defun-name analyze more thoroughly a function type which is a struct 2017-11-21 18:06:11 +00:00
cc-defs.el
cc-engine.el CC Mode: Fix defun-open being recognized as brace-list-open at EOB. 2017-11-12 11:49:03 +00:00
cc-fonts.el Fix another "wrong side of point" error in CC Mode. 2017-10-26 18:29:39 +00:00
cc-guess.el
cc-langs.el Fix irregularities with CC Mode fontification, particularly with "known types" 2017-10-05 17:16:10 +00:00
cc-menus.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
cc-mode.el Spelling fixes 2017-11-19 00:21:09 -08:00
cc-styles.el
cc-vars.el * lisp/progmodes/cc-vars.el (c-offsets-alist): Doc fix. (Bug#29407) 2017-11-24 10:41:49 +02:00
cfengine.el
cmacexp.el
compile.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
cperl-mode.el Add a Flymake backend for Perl 2017-11-05 12:53:56 +00:00
cpp.el
cwarn.el
dcl-mode.el
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el ; Fix some tiny doc and comment typos 2017-11-28 08:50:05 -08:00
ebrowse.el Fix doc typos 2017-10-28 17:10:25 -07:00
elisp-mode.el Protect Flymake checkdoc backend against checkdoc errors (bug#29176) 2017-11-09 20:45:05 +00:00
etags.el
executable.el
f90.el In f90.el, set fill-paragraph-function to a useful value 2017-11-08 20:16:38 -05:00
flymake-proc.el ; Fix a typo 2017-11-22 01:51:48 +02:00
flymake.el ; Fix some tiny doc and comment typos 2017-11-28 08:50:05 -08:00
fortran.el
gdb-mi.el Make gdb-non-stop-setting default to nil on MS-Windows 2017-11-04 13:56:39 +02:00
glasses.el
grep.el Document how to enter whitespace when using grep-read-files 2017-11-17 15:39:02 +02:00
gud.el Fix doc typos 2017-10-28 17:10:25 -07:00
hideif.el Fix some duplicate words typos 2017-10-27 20:45:23 -04:00
hideshow.el
icon.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el
idlw-toolbar.el
idlwave.el
inf-lisp.el
js.el Fix two js indentation problems 2017-10-26 02:43:53 +03:00
ld-script.el
m4-mode.el
make-mode.el
mantemp.el
meta-mode.el
mixal-mode.el
modula2.el
octave.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
opascal.el
pascal.el
perl-mode.el ; Spelling fixes 2017-11-16 00:01:00 -08:00
prog-mode.el Consolidate 'widen' calls 2017-12-14 11:18:51 +02:00
project.el Document how to enter whitespace when using grep-read-files 2017-11-17 15:39:02 +02:00
prolog.el
ps-mode.el
python.el Consolidate 'widen' calls 2017-12-14 11:18:51 +02:00
ruby-mode.el Consolidate 'widen' calls 2017-12-14 11:18:51 +02:00
scheme.el
sh-script.el
simula.el
sql.el
subword.el
tcl.el
vera-mode.el
verilog-mode.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
vhdl-mode.el
which-func.el
xref.el New xref-quit-and-goto-xref command bound to TAB (bug#28814) 2017-11-03 16:13:39 +00:00
xscheme.el Fix doc typos 2017-10-28 17:10:25 -07:00