Package: emacs23
Version: 23.2+1-7
Severity: normal

Run emacs23 -Q and open an xml file in nxml-mode with the following content:

"""
<?xml version="1.0" encoding="utf-8"?>
<dinner>
  <monday>
    <firstCourse>soup</firstCourse>
    <mainCourse>pumpkin</mainCourse>
  </monday>
  <tuesday>
    soup
  </tuesday>
</dinner>
"""

Calling nxml-dynamic-markup-word with the cursor behind Tuesday's soup results 
in 

"""
<?xml version="1.0" encoding="utf-8"?>
<dinner>
  <monday>
    <firstCourse>soup</firstCourse></firstCourse>
    <mainCourse>pumpkin</mainCourse>
  </monday>
  <tuesday>
    <firstCourse>soup
  </tuesday>
</dinner>
"""

The problem is that Monday's firstCourse is closed twice, and Tuesday's 
firstCourse isn't closed.

I'd expect a result as follows:

"""
<?xml version="1.0" encoding="utf-8"?>
<dinner>
  <monday>
    <firstCourse>soup</firstCourse>
    <mainCourse>pumpkin</mainCourse>
  </monday>
  <tuesday>
    <firstCourse>soup</firstCourse>
  </tuesday>
</dinner>
"""




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs23 depends on:
ii  emacs23-bin-common     23.2+1-7          The GNU Emacs editor's shared, arc
ii  libasound2             1.0.23-2.1        shared library for ALSA applicatio
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libc6                  2.11.2-11         Embedded GNU C Library: Shared lib
ii  libcairo2              1.8.10-6          The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.4.6-1           simple interprocess messaging syst
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.4-1           FreeType 2 font engine, shared lib
ii  libgconf2-4            2.28.1-6          GNOME configuration database syste
ii  libgif4                4.1.6-9           library for GIF images (library)
ii  libglib2.0-0           2.28.1-1+b1       The GLib library of C routines
ii  libgpm2                1.20.4-3.3        General Purpose Mouse - shared lib
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libice6                2:1.0.7-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libm17n-0              1.6.2-2           a multilingual text processing lib
ii  libncurses5            5.7+20100313-5    shared libraries for terminal hand
ii  libotf0                0.9.12-1          A Library for handling OpenType Fo
ii  libpango1.0-0          1.28.3-1+squeeze1 Layout and rendering of internatio
ii  libpng12-0             1.2.44-1          PNG library - runtime
ii  librsvg2-2             2.26.3-1          SAX-based renderer library for SVG
ii  libsm6                 2:1.2.0-1         X11 Session Management library
ii  libtiff4               3.9.4-6           Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.4.1-5         X11 client-side library
ii  libxft2                2.2.0-2           FreeType-based font drawing librar
ii  libxpm4                1:3.5.9-1         X11 pixmap library
ii  libxrender1            1:0.9.6-1         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

emacs23 recommends no packages.

Versions of packages emacs23 suggests:
pn  emacs23-common-non-dfsg       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to