From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Misty Stanley-Jones Newsgroups: gmane.emacs.bugs Subject: bug#6622: 23.2; nxml-mode Indentation Behavior Date: Mon, 12 Jul 2010 21:45:51 -0400 (EDT) Message-ID: <156989106.198531278985551802.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com> Reply-To: Misty Stanley-Jones NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278986475 21675 80.91.229.12 (13 Jul 2010 02:01:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2010 02:01:15 +0000 (UTC) To: 6622@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 13 04:01:11 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYUo0-0006TL-UT for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 04:01:09 +0200 Original-Received: from localhost ([127.0.0.1]:36904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYUo0-0000A8-Dn for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 22:01:08 -0400 Original-Received: from [140.186.70.92] (port=56102 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYUnH-0008Bi-Ta for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 22:00:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYUnG-0002lF-LK for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 22:00:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45216) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYUnG-0002lA-Ef for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 22:00:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYUbJ-0005Qy-QJ; Mon, 12 Jul 2010 21:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Misty Stanley-Jones Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jul 2010 01:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127898563620875 (code B ref -1); Tue, 13 Jul 2010 01:48:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jul 2010 01:47:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYUaZ-0005Qe-Gu for submit@debbugs.gnu.org; Mon, 12 Jul 2010 21:47:15 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYUZE-0005Pi-SA for submit@debbugs.gnu.org; Mon, 12 Jul 2010 21:45:54 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40709) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OYUZJ-0001tM-1y for submit@debbugs.gnu.org; Mon, 12 Jul 2010 21:45:57 -0400 Original-Received: from [140.186.70.92] (port=42196 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYUZH-000384-ET for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 21:45:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYUZF-0001GV-Iy for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 21:45:55 -0400 Original-Received: from mx4-phx2.redhat.com ([209.132.183.25]:33181 helo=mx02.colomx.prod.int.phx2.redhat.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYUZF-0001GD-BO for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 21:45:53 -0400 Original-Received: from mail02.corp.redhat.com (zmail02.collab.prod.int.phx2.redhat.com [10.5.5.42]) by mx02.colomx.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6D1jptk013205 for ; Mon, 12 Jul 2010 21:45:51 -0400 X-Originating-IP: [10.5.5.72] X-Mailer: Zimbra 5.0.21_GA_3150.RHEL4_64 (ZimbraWebClient - FF3.0 (Linux)/5.0.21_GA_3150.RHEL4_64) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 12 Jul 2010 21:47:13 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Jul 2010 21:48:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 12 Jul 2010 22:01:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38470 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Normally, nxml-mode automatically indents new lines the proper amount, and re-indents after closing tags. However, if nxml-slash-auto-complete-flag is set to true, completed tags on new lines are not re-indented. For instance, type the following: This is a para. ) is automatically completed, but the line is not indented properly. When the above-mentioned flag is true, / is mapped to nxml-electric-slash. The following advice works around the problem: (defadvice nxml-electric-slash (after nxml-electric-slash-indent activate) (funcall indent-line-function)) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/23.2/etc/DEBUG. In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1) of 2010-05-13 on x86-07.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.10800000 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gene ric'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: yas/global-mode: t yas/minor-mode: t global-linum-mode: t linum-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-h e C-x k M-x r e p o r t - e m a c s - b u g Recent messages: Load-path shadows: /usr/share/emacs/site-lisp/ruby-mode/ruby-mode hides /usr/share/emacs/23.2/lisp/progmodes/ruby-mode Features: (shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug yasnippet dropdown-list derived easy-mmode edmacro kmacro easymenu assoc cl cl-19 advice help-fns advice-preload linum tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Misty Stanley-Jones Content Author, ECS 1/193 North Quay, Brisbane QLD 4000 Ph: +61 7 3514 8105 Mobile: +61 429 595 932 Time Zone: GMT+10