Bug 19174

Summary: sgml-indent-or-tab doesn't work
Product: Branch 4.1 Reporter: Ivan Zakharyaschev <imz>
Component: emacs-mode-psgmlAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: qa-4.1 <qa-4.1>
Severity: enhancement    
Priority: P2 CC: viy
Version: unspecified   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2009-03-13 15:57:00 MSK
emacs-mode-psgml-1.2.5-alt1
emacs22-tramp-2.0.57-alt5
emacs-apel-10.6-alt1.20050606
emacs-base-0.0.7-alt1
emacs22-speedbar-1.0-alt5
emacs-elscreen-1.3.2-alt0.2
emacs22-leim-22.2-alt5
emacs22-common-22.2-alt5
emacs22-elisp-manual-22.2-alt5
emacs22-X11-gtk-22.2-alt5
emacs22-X11-22.2-alt5
emacs-git-1.5.5.5-alt1

After loading the xml-mode from psgml, I press Tab, but the text doesn't get moved to the correct indentation level.

TAB (translated from <tab>) runs the command sgml-indent-or-tab
  which is an interactive compiled Lisp function in `psgml.el'.
It is bound to TAB.

In older versions of Emacs (21), it used to work.
Comment 1 Ivan Zakharyaschev 2009-03-13 17:56:53 MSK
It was not a valid report: I forgot that setting sgml-indent-data was needed to do what I wanted.

Perhaps, there could be an enhancement: make this variable customizable (so that users can find it in the customization menu), or even turn it on be default, it's convenient for indenting XHTML.
Comment 2 Michael Shigorin 2014-11-05 20:42:28 MSK
В 4.1/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.