From unknown Sun Jun 22 22:41:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8704 <8704@debbugs.gnu.org> To: bug#8704 <8704@debbugs.gnu.org> Subject: Status: 23.2; nxml-mode function nxml-electric-slash not indenting when completing Reply-To: bug#8704 <8704@debbugs.gnu.org> Date: Mon, 23 Jun 2025 05:41:49 +0000 retitle 8704 23.2; nxml-mode function nxml-electric-slash not indenting whe= n completing reassign 8704 emacs submitter 8704 James Ahlborn severity 8704 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 19 16:46:03 2011 Received: (at submit) by debbugs.gnu.org; 19 May 2011 20:46:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNA6b-0000Ul-BD for submit@debbugs.gnu.org; Thu, 19 May 2011 16:46:03 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNA4h-0000Rb-Q6 for submit@debbugs.gnu.org; Thu, 19 May 2011 16:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNA4a-00087D-Ck for submit@debbugs.gnu.org; Thu, 19 May 2011 16:43:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:36804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNA4a-000879-BC for submit@debbugs.gnu.org; Thu, 19 May 2011 16:43:56 -0400 Received: from eggs.gnu.org ([140.186.70.92]:33564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNA4X-0006lc-SP for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 16:43:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNA4V-00086a-Dx for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 16:43:53 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:50699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNA4V-00086V-9H for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 16:43:51 -0400 Received: by qwa26 with SMTP id 26so2132670qwa.0 for ; Thu, 19 May 2011 13:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=UnKhSKhGYhiwtDQa+noFgx4HOr7NeeeBPDs0ilRiGaM=; b=ehxqSCsQ5hzMZoXm7orrQPl0FqfgGoQmfGdecRG9Dy1M24DxaCp5wMVAvvAuZItfJq mHCLMqlUxGlQ3MRl++LpOwJY06BhY9vC+FNbwMGTCSTDttrw4CyFiR+TQH8hUya0OYRZ yP6RBMD7N4g9G5K0GlKdZzjkNHIXDRyRQaCwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VPc61yZVQgacUkSkjnzxKGuezBD89Q4Kh2NpNIoSEAnzKKQjRRWJBTWFgy28TGrKy5 lDpBC7UamoF5oh0JpDbkeReZylACucuAfW+nvRTzfD2Fh8uC8foPdRqMfmEXNH6rCsFP irYrzK75x/Zm/2G/jYKpA4CLIhhwKQ7S8rmEo= MIME-Version: 1.0 Received: by 10.229.43.142 with SMTP id w14mr2781684qce.27.1305837829733; Thu, 19 May 2011 13:43:49 -0700 (PDT) Received: by 10.229.222.73 with HTTP; Thu, 19 May 2011 13:43:49 -0700 (PDT) Date: Thu, 19 May 2011 16:43:49 -0400 Message-ID: Subject: 23.2; nxml-mode function nxml-electric-slash not indenting when completing From: James Ahlborn To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0016e64bd564f9bee704a3a70fc1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 19 May 2011 16:45:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --0016e64bd564f9bee704a3a70fc1 Content-Type: text/plain; charset=ISO-8859-1 in older versions of emacs/nxml-mode the nxml-electric-slash function would both complete the close tag and auto-indent the close tag. in the latest emacs version, it seems to do one or the other. i *think* this is an oversight, and the old functionality can be easily fixed by moving the final (when ...) block outside of the (if nxml-slash-auto-complete-flag ...) block (so that the indenting is done regardless of whether or not completion is enabled). In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-09-01 on pluot, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: C value of $LC_COLLATE: nil value of $LC_CTYPE: en_US.UTF-8 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: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: JDE Minor modes in effect: nxml-which-path-mode: t flymake-mode: t semantic-mru-bookmark-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t senator-minor-mode: t jde-plugin-minor-mode: t jde-jdb-minor-mode: t desktop-save-mode: t display-time-mode: t shell-dirtrack-mode: t which-dir-mode: t recentf-mode: t icomplete-mode: t global-hl-line-mode: t linum-mode: t autopair-mode: t autopair-global-mode: t auto-image-file-mode: t delete-selection-mode: t show-paren-mode: t auto-insert-mode: t which-function-mode: t operator-show-mode: t page-break-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Recent input: t h e SPC a r t a r g e t SPC l o o p SPC k e y SPC s SPC s e t s o u C-x C-s C-c b C-s n o d e C-SPC M-w C-x o C-a C-x C-s C-x C-s C-x o C-c C-k C-x o C-x b e n C-s p r i n t l n C-a C-SPC M-; C-s C-s C-x C-s C-c r ! C-x b f i l n a n n n a n n n n q y C-x C-s M-x f i n d - f u n c i m e n u - d e f c r C-g C-x o M-. T r a n s f o r m E n T M-x f i n d - l o j t a - e m C-s n x m l C-a C-SPC M-w M-x r e p o r t - e Recent messages: Loading /home/jahlborn/src/tmp/container/jde-prj.el (source)...done Loading /home/jahlborn/src/tmp/container/transform/jde-prj.el (source)...done [4 times] Quit [2 times] Loading /home/jahlborn/src/tmp/container/jde-prj.el (source)...done Loading /home/jahlborn/src/tmp/container/transform/jde-prj.el (source)...done [2 times] Making tags completion table for /home/jahlborn/src/tmp/container/TAGS...done Loading /home/jahlborn/src/tmp/container/jde-prj.el (source)...done Loading /home/jahlborn/src/tmp/container/transform/jde-prj.el (source)...done [2 times] Mark saved where search started Mark set Load-path shadows: /home/jahlborn/lib/emacs-23/psvn hides /usr/share/emacs/site-lisp/psvn /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /home/jahlborn/lib/emacs-23/cedet/common/ezimage hides /usr/share/emacs/23.2/lisp/ezimage /home/jahlborn/lib/emacs-23/cedet/speedbar/sb-image hides /usr/share/emacs/23.2/lisp/sb-image /home/jahlborn/lib/emacs-23/cedet/speedbar/speedbar hides /usr/share/emacs/23.2/lisp/speedbar /home/jahlborn/lib/emacs-23/cedet/speedbar/dframe hides /usr/share/emacs/23.2/lisp/dframe /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell /home/jahlborn/lib/emacs-23/flymake hides /usr/share/emacs/23.2/lisp/progmodes/flymake /home/jahlborn/lib/emacs-23/cedet/eieio/eieio hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-speedbar hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-speedbar /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-comp hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-comp /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-datadebug hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-datadebug /home/jahlborn/lib/emacs-23/cedet/eieio/chart hides /usr/share/emacs/23.2/lisp/emacs-lisp/chart /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-opt hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-opt /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-custom hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-custom /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-base hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-base Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug semantic-el semantic-bovine bovine-debug semantic-debug vc ediff-vers ini-mode newcomment cperl-mode ede-linux ede-emacs ede-cpp-root semantic-dep semantic-analyze-complete semantic-tag-ls semantic-tag-file multi-isearch edmacro kmacro semantic-tag-write nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-which-path nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok semanticdb-typecache semanticdb-find semanticdb-ref semantic-edit pom-parser jde-javadoc-helper java-mode-indent-annotations wisent-java wisent-java-wy semantic-wisent wisent jde-loader jta-jde-util find-lisp jde-eclipse-compiler-server flymake jde-hippie semantic-decorate-mode semantic-decorate pulse semantic-mru-bookmark semanticdb-ebrowse ebrowse ebuff-menu electric view semanticdb-file cedet-files semanticdb-mode jde jde-annotations jde-open-source jde-bsh jde-parse-expr jde-class jde-parse-class jde-import semantic-find jde-java-font-lock jde-which-method jde-java-grammar jde-wiz jde-complete semantic-idle eldoc senator warnings jde-plugins executable jde-gen tempo jde-run jde-jdb jde-bug jde-dbs jde-dbo regress jde-db jde-parse sregex jde-imenu semantic-imenu semantic-java semantic-doc avl-tree semantic-sb jde-compile cus-edit cus-start cus-load cc-mode cc-menus cc-cmds cc-styles cc-align jde-help jde-widgets beanshell lmenu jde-custom jde-project-file jde-util arc-mode archive-mode efc jde-autoload jta-jde-gen-config cedet cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs speedbar-load speedbar-loaddefs ede-load ede-loaddefs ede-speedbar ede-files ede ede-base ede-auto eieio-speedbar semantic-ia-sb semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort semanticdb-el semanticdb semantic-ctxt semantic-format semantic-util-modes semantic-util semantic semantic-lex semantic-tag working fame speedbar sb-image ezimage dframe eieio-custom ede-source eieio-base srecode-load srecode srecode-loaddefs semantic-load semantic-fw semantic-loaddefs mode-local find-func derived eieio-load eieio-loaddefs cedet-load cedet-compat cedet-loaddefs eieio inversion vc-dispatcher vc-svn jta-tags etags-select gtags etags disp-table jta-emacs server jta-keybindings hippie-exp dabbrev desktop-menu desktop xcscope time fold-dwim hideshow doxygen tramp-sudo tramp-imap assoc tramp-gw tramp-gvfs zeroconf url-parse url-vars mm-util mail-prsvr dbus xml tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc time-date shell password-cache format-spec tramp-compat trampver ange-ftp diminish keep-buffers java-helper cc-fonts cc-engine cc-vars cc-defs javadoc-helper cc-helper which-dir buffer-create-util anchored-transpose recentf tree-widget icomplete ido-util ido iswitchb hl-line linum autopair filladapt image-file uniquify moccur-edit color-moccur toggle-case eol-conversion find-file jgrep find-dired dired-sort-menu dired regexp-opt find-recursive shell-toggle vkill ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff ffap jta-emacs-20 delsel paren c-comment-edit autorevert noutline outline easy-mmode autoinsert vti-doc jta-util which-func imenu telnet time-stamp browse-url byte-opt bytecomp byte-compile advice help-fns advice-preload thingatpt jta-color-theme color-theme easymenu wid-edit cl cl-19 compile comint ring 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) --0016e64bd564f9bee704a3a70fc1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable in older versions of emacs/nxml-mode the nxml-electric-slash function
wo= uld both complete the close tag and auto-indent the close tag.=A0 in thelatest emacs version, it seems to do one or the other.=A0 i *think* this is an oversight, and the old functionality can be easily fixed by movingthe final (when ...) block outside of the (if
nxml-slash-auto-complete-= flag ...) block (so that the indenting is done
regardless of whether or = not completion is enabled).


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
= =A0of 2010-09-01 on pluot, modified by Debian
Windowing system distribut= or `The X.Org Foundation', version 11.0.10706000
configured using `c= onfigure=A0 '--build=3Dx86_64-linux-gnu' '--host=3Dx86_64-linux= -gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' &= #39;--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '= --infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '-= -with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs23:/etc/emacs:= /usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr= /share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.= 2/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '= --with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' &#= 39;host_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-DDEBIAN -g -O2' &#= 39;LDFLAGS=3D-g' 'CPPFLAGS=3D''

Important settings:
=A0 value of $LC_ALL: C
=A0 value of $LC_COLL= ATE: nil
=A0 value of $LC_CTYPE: en_US.UTF-8
=A0 value of $LC_MESSAGE= S: nil
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil=A0 value of $LC_TIME: nil
=A0 value of $LANG: en_US.UTF-8
=A0 value of $XMODIFIERS: nil
=A0 loc= ale-coding-system: nil
=A0 default enable-multibyte-characters: t
Major mode: JDE

Minor modes in effect:
=A0 nxml-which-path-mode:= t
=A0 flymake-mode: t
=A0 semantic-mru-bookmark-mode: t
=A0 semantic-id= le-summary-mode: t
=A0 semantic-idle-scheduler-mode: t
=A0 senator-mi= nor-mode: t
=A0 jde-plugin-minor-mode: t
=A0 jde-jdb-minor-mode: t=A0 desktop-save-mode: t
=A0 display-time-mode: t
=A0 shell-dirtrack-mode: t
=A0 which-dir-mod= e: t
=A0 recentf-mode: t
=A0 icomplete-mode: t
=A0 global-hl-line-= mode: t
=A0 linum-mode: t
=A0 autopair-mode: t
=A0 autopair-global= -mode: t
=A0 auto-image-file-mode: t
=A0 delete-selection-mode: t
=A0 show-paren-mode: t
=A0 auto-insert-m= ode: t
=A0 which-function-mode: t
=A0 operator-show-mode: t
=A0 pa= ge-break-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
=A0 m= enu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lo= ck-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t=A0 line-number-mode: t
=A0 transient-mark-mode: t
=A0 abbrev-mode:= t
=A0 hs-minor-mode: t

Recent input:
<backspace> <backspace> <backspace> = t h e SPC a r <backspace>
<backspace> t a r g e t SPC l o o= p SPC k e y SPC <backspace>
s SPC s e t <down> <down>= ; <down> <left> <left> s o
u <tab> C-x C-s <up> <up> <up> <up> C-c b <= ;home> C-s
n o d e <C-left> <C-left> C-SPC <C-right&g= t; <C-right>
M-w C-x o C-a <up> <C-right> <C-backs= pace> C-x C-s
<down> <down> <down> <down> <down> <down&g= t; <M-up> <M-down>
C-x C-s <up> <up> <up>= <up> <f7> <return> <help-echo>
<help-echo&g= t; <up> <f7> <C-backspace> <C-backspace> <C-back= space>
<C-backspace> <C-backspace> <C-backspace> <backspace&g= t;
<return> C-x o C-c C-k C-x o C-x b e n <return> <home= >
C-s p r i n t l n C-a C-SPC <down> M-; C-s C-s <up> C-x C-s <f7> <return> <down-mouse-4> <mouse-4> <= double-down-mouse-4>
<double-mouse-4> <down-mouse-4> <= ;mouse-4> <down-mouse-4>
<mouse-4> <double-down-mouse= -4> <double-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <down-mouse-5> <mouse-5> <double-down= -mouse-5>
<double-mouse-5> <triple-down-mouse-5> <tri= ple-mouse-5>
<triple-down-mouse-5> <triple-mouse-5> C-c = r ! C-x
b f i l <return> <C-f6> n a n n n a n n n n q y C-x
C-s <= ;f7> <return> <help-echo> M-x f i n d - f u n c
<tab&= gt; <return> i m e n u - d e f <tab> c r <tab> C-g
C-x o M-. T r a n s f o r m E n <tab> T <tab> <return> <help-echo> <down-mouse-5> <mouse-5> <double-down-mo= use-5>
<double-mouse-5> <triple-down-mouse-5> <triple= -mouse-5>
<triple-down-mouse-5> <triple-mouse-5> <triple-down-mouse-5&= gt;
<triple-mouse-5> <down-mouse-5> <mouse-5> <dou= ble-down-mouse-5>
<double-mouse-5> <triple-down-mouse-5>= <triple-mouse-5>
<triple-down-mouse-5> <triple-mouse-5> <triple-down-mouse-5&= gt;
<triple-mouse-5> <triple-down-mouse-5> <triple-mouse= -5>
<triple-down-mouse-5> <triple-mouse-5> <triple-do= wn-mouse-5>
<triple-mouse-5> <down-mouse-5> <mouse-5> <double-down= -mouse-5>
<double-mouse-5> <triple-down-mouse-5> <tri= ple-mouse-5>
<down-mouse-5> <mouse-5> M-x f i n d - l o = <tab> <return>
j t a - e m <tab> <return> C-s n x m l <down> C-a C-SPC <= br><down> <down> <down> M-w <down-mouse-5> <mous= e-5> <down-mouse-1>
<mouse-1> M-x r e p o r t - e <ta= b> <return>

Recent messages:
Loading /home/jahlborn/src/tmp/container/jde-prj.el= (source)...done
Loading /home/jahlborn/src/tmp/container/transform/jde-= prj.el (source)...done [4 times]
Quit [2 times]
Loading /home/jahlbor= n/src/tmp/container/jde-prj.el (source)...done
Loading /home/jahlborn/src/tmp/container/transform/jde-prj.el (source)...do= ne [2 times]
Making tags completion table for /home/jahlborn/src/tmp/con= tainer/TAGS...done
Loading /home/jahlborn/src/tmp/container/jde-prj.el (= source)...done
Loading /home/jahlborn/src/tmp/container/transform/jde-prj.el (source)...do= ne [2 times]
Mark saved where search started
Mark set

Load-pat= h shadows:
/home/jahlborn/lib/emacs-23/psvn hides /usr/share/emacs/site-= lisp/psvn
/usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup
/home/jahlborn/lib/emacs-23/cedet/common/ezimage hid= es /usr/share/emacs/23.2/lisp/ezimage
/home/jahlborn/lib/emacs-23/cedet/= speedbar/sb-image hides /usr/share/emacs/23.2/lisp/sb-image
/home/jahlborn/lib/emacs-23/cedet/speedbar/speedbar hides /usr/share/emacs/= 23.2/lisp/speedbar
/home/jahlborn/lib/emacs-23/cedet/speedbar/dframe hid= es /usr/share/emacs/23.2/lisp/dframe
/usr/share/emacs23/site-lisp/dictio= naries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell<= br> /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/em= acs/23.2/lisp/textmodes/ispell
/home/jahlborn/lib/emacs-23/flymake hides= /usr/share/emacs/23.2/lisp/progmodes/flymake
/home/jahlborn/lib/emacs-2= 3/cedet/eieio/eieio hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio
/home/jahlborn/lib/emacs-23/cedet/eieio/eieio-speedbar hides /usr/share/ema= cs/23.2/lisp/emacs-lisp/eieio-speedbar
/home/jahlborn/lib/emacs-23/cedet= /eieio/eieio-comp hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-comp /home/jahlborn/lib/emacs-23/cedet/eieio/eieio-datadebug hides /usr/share/em= acs/23.2/lisp/emacs-lisp/eieio-datadebug
/home/jahlborn/lib/emacs-23/ced= et/eieio/chart hides /usr/share/emacs/23.2/lisp/emacs-lisp/chart
/home/j= ahlborn/lib/emacs-23/cedet/eieio/eieio-opt hides /usr/share/emacs/23.2/lisp= /emacs-lisp/eieio-opt
/home/jahlborn/lib/emacs-23/cedet/eieio/eieio-custom hides /usr/share/emacs= /23.2/lisp/emacs-lisp/eieio-custom
/home/jahlborn/lib/emacs-23/cedet/eie= io/eieio-base hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-base

Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 m= ml mml-sec
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2= 047 rfc2045
qp ietf-drums mailabbrev nnheader gmm-utils mailheader canlo= ck sha1
hex-util hashcash mail-utils emacsbug semantic-el semantic-bovine
bovine= -debug semantic-debug vc ediff-vers ini-mode newcomment cperl-mode
ede-l= inux ede-emacs ede-cpp-root semantic-dep semantic-analyze-complete
seman= tic-tag-ls semantic-tag-file multi-isearch edmacro kmacro
semantic-tag-write nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml
rng-= valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util
rng= -pttrn nxml-ns nxml-which-path nxml-mode nxml-outln nxml-rap
nxml-util n= xml-glyph nxml-enc xmltok semanticdb-typecache
semanticdb-find semanticdb-ref semantic-edit pom-parser
jde-javadoc-help= er java-mode-indent-annotations wisent-java
wisent-java-wy semantic-wise= nt wisent jde-loader jta-jde-util find-lisp
jde-eclipse-compiler-server = flymake jde-hippie semantic-decorate-mode
semantic-decorate pulse semantic-mru-bookmark semanticdb-ebrowse ebrowseebuff-menu electric view semanticdb-file cedet-files semanticdb-mode jdejde-annotations jde-open-source jde-bsh jde-parse-expr jde-class
jde-p= arse-class jde-import semantic-find jde-java-font-lock
jde-which-method jde-java-grammar jde-wiz jde-complete semantic-idle
eld= oc senator warnings jde-plugins executable jde-gen tempo jde-run
jde-jdb= jde-bug jde-dbs jde-dbo regress jde-db jde-parse sregex
jde-imenu seman= tic-imenu semantic-java semantic-doc avl-tree semantic-sb
jde-compile cus-edit cus-start cus-load cc-mode cc-menus cc-cmds
cc-styl= es cc-align jde-help jde-widgets beanshell lmenu jde-custom
jde-project-= file jde-util arc-mode archive-mode efc jde-autoload
jta-jde-gen-config = cedet cedet-contrib-load contrib-loaddefs cogre-load
cogre-loaddefs speedbar-load speedbar-loaddefs ede-load ede-loaddefs
ede= -speedbar ede-files ede ede-base ede-auto eieio-speedbar
semantic-ia-sb = semantic-analyze semantic-scope semantic-analyze-fcn
semantic-sort seman= ticdb-el semanticdb semantic-ctxt semantic-format
semantic-util-modes semantic-util semantic semantic-lex semantic-tag
wor= king fame speedbar sb-image ezimage dframe eieio-custom ede-source
eieio= -base srecode-load srecode srecode-loaddefs semantic-load
semantic-fw se= mantic-loaddefs mode-local find-func derived eieio-load
eieio-loaddefs cedet-load cedet-compat cedet-loaddefs eieio inversion
vc= -dispatcher vc-svn jta-tags etags-select gtags etags disp-table
jta-emac= s server jta-keybindings hippie-exp dabbrev desktop-menu desktop
xcscope= time fold-dwim hideshow doxygen tramp-sudo tramp-imap assoc
tramp-gw tramp-gvfs zeroconf url-parse url-vars mm-util mail-prsvr dbus
= xml tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp
auth-sou= rce gnus-util netrc time-date shell password-cache format-spec
tramp-com= pat trampver ange-ftp diminish keep-buffers java-helper
cc-fonts cc-engine cc-vars cc-defs javadoc-helper cc-helper which-dir
bu= ffer-create-util anchored-transpose recentf tree-widget icomplete
ido-ut= il ido iswitchb hl-line linum autopair filladapt image-file
uniquify moc= cur-edit color-moccur toggle-case eol-conversion find-file
jgrep find-dired dired-sort-menu dired regexp-opt find-recursive
shell-t= oggle vkill ediff-merg ediff-diff ediff-wind ediff-help
ediff-util ediff= -mult ediff-init ediff ffap jta-emacs-20 delsel paren
c-comment-edit aut= orevert noutline outline easy-mmode autoinsert vti-doc
jta-util which-func imenu telnet time-stamp browse-url byte-opt bytecompbyte-compile advice help-fns advice-preload thingatpt jta-color-theme
c= olor-theme easymenu wid-edit cl cl-19 compile comint ring 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-e= shadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax fa= cemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tib= etan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-tab= le 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)

--0016e64bd564f9bee704a3a70fc1-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 09:15:57 2011 Received: (at 8704-done) by debbugs.gnu.org; 20 May 2011 13:15:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNPYb-0008F5-2C for submit@debbugs.gnu.org; Fri, 20 May 2011 09:15:57 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNPYY-0008Es-Nl for 8704-done@debbugs.gnu.org; Fri, 20 May 2011 09:15:55 -0400 Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:42206 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QNPYT-0004jf-3b; Fri, 20 May 2011 09:15:49 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 86F8E6621E; Fri, 20 May 2011 10:15:45 -0300 (ART) From: Stefan Monnier To: James Ahlborn Subject: Re: bug#8704: 23.2; nxml-mode function nxml-electric-slash not indenting when completing Message-ID: References: Date: Fri, 20 May 2011 10:15:45 -0300 In-Reply-To: (James Ahlborn's message of "Thu, 19 May 2011 16:43:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8704-done Cc: 8704-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Version: 24.1 > In older versions of emacs/nxml-mode the nxml-electric-slash function > would both complete the close tag and auto-indent the close tag. in the > latest emacs version, it seems to do one or the other. i *think* this > is an oversight, and the old functionality can be easily fixed by moving > the final (when ...) block outside of the (if > nxml-slash-auto-complete-flag ...) block (so that the indenting is done > regardless of whether or not completion is enabled). Indeed, this looks like an odd choice (if anything, I'd have expected the reindent to be disabled when nxml-slash-auto-complete-flag is disabled rather than when it's enabled). So I've applied the change you suggest to the trunk. Thank you, Stefan === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2011-05-20 00:51:46 +0000 +++ lisp/ChangeLog 2011-05-20 13:12:51 +0000 @@ -1,3 +1,8 @@ +2011-05-20 Stefan Monnier + + * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is + enabled. Suggested by James Ahlborn (bug#8704). + 2011-05-20 Nix * files.el (basic-save-buffer-2): === modified file 'lisp/nxml/nxml-mode.el' --- lisp/nxml/nxml-mode.el 2011-01-26 08:36:39 +0000 +++ lisp/nxml/nxml-mode.el 2011-05-20 13:10:18 +0000 @@ -1263,9 +1263,9 @@ (nxml-scan-error nil)) (when (and (eq (nxml-token-before) (point)) (eq xmltok-type 'partial-empty-element)) - (insert ">"))) + (insert ">")))) (when (and end-tag-p at-indentation) - (nxml-indent-line)))))) + (nxml-indent-line))))) (defun nxml-balanced-close-start-tag-block () "Close the start-tag before point with `>' and insert a balancing end-tag. From unknown Sun Jun 22 22:41:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Jun 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator