Hi, I have the same issue when I try to open an XML file with Emacs. nxml-mode is loaded by default even if I add the following line in my ~/.emacs file :
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t) When I try M-x xml-mode on the buffer, nothing change. My solution is to use : - M-x sgml-mode - C-x k - C-x f my_file After that, psgml-mode works. Do you think you can fix this bug ? Regards, -- Package: emacs23 Version: 23.2+1-7 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.3-2 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra ii libdbus-1-3 1.2.24-4+squeeze1 simple interprocess messaging syst ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1+squeeze4 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.24.2-1 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.6-2 X11 Inter-Client Exchange library ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG ii libm17n-0 1.6.1-1 a multilingual text processing lib ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libotf0 0.9.11-1 A Library for handling OpenType Fo ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio ii libpng12-0 1.2.44-1+squeeze4 PNG library - runtime ii librsvg2-2 2.26.3-1 SAX-based renderer library for SVG ii libsm6 2:1.1.1-1 X11 Session Management library ii libtiff4 3.9.4-5+squeeze4 Tag Image File Format (TIFF) libra ii libx11-6 2:1.3.3-4 X11 client-side library ii libxft2 2.1.14-2 FreeType-based font drawing librar ii libxpm4 1:3.5.8-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: ii emacs23-common-non-dfsg 23.2+1-1 GNU Emacs shared, architecture ind -- Package: psgml Version: 1.3.2-12 Versions of packages psgml depends on: ii emacs23 23.2+1-7 The GNU Emacs editor (with GTK+ us ii sgml-base 1.26+nmu1 SGML infrastructure and SGML catal ii sgml-data 2.0.4 common SGML and XML data ii ucf 3.0025+nmu1 Update Configuration File: preserv Versions of packages psgml recommends: ii opensp 1.5.2-8 OpenJade group's SGML parsing tool ii sp 1.3.4-1.2.1-47 James Clark's SGML parsing tools Versions of packages psgml suggests: pn debiandoc-sgml <none> (no description available) pn linuxdoc-sgml <none> (no description available) ii make 3.81-8 An utility for Directing compilati pn w3-dtd-mathml <none> (no description available) pn w3c-dtd-xhtml <none> (no description available) -- System Information: Debian Release: 6.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Nicolas
signature.asc
Description: OpenPGP digital signature