================================================================
Dear Bug Team!
Xemacs seems to fail on the Mx uncomment-region commnd on cc-mode or c-mode:
Creating a comment with the 'Mx comment-region' command results in following
lines
/* void printVersion(void) */
/* { */
/* printf(stderr,"%s %s - blablub\n", progName, progVersion); */
/* } */
But using 'Mx uncomment-region' will not eliminate the comment strings
properly.
/ void printVersion(void) /
/ { /
/ printf(stderr,"%s %s - blablub\n", progName, progVersion); */
/ } /
This bug occurs in a linux environment as well under win2k, using the
xemacs-21.5.17 precompiled version
from /pub/xemacs/binaries/win32/installshield.
Regards,
Christian
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux macintyre 2.6.12 #1 SMP Wed Mar 23 21:52:37 UTC 2005 i686
athlon i386 GNU/Linux
./configure 'i386-suse-linux' '--with-gcc' '--with-dynamic'
'--enable-debug=no' '--enable-error-checking=none' '--with-cflags=-O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall
-Wno-switch -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing' '--with-ldflags='
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/X11R6/bin'
'--datadir=/usr/share'
'--with-archlibdir=/usr/lib/xemacs/21.5.21.20050721/i386-suse-linux'
'--with-docdir=/usr/lib/xemacs/21.5.21.20050721/i386-suse-linux'
'--with-lispdir=/usr/share/xemacs/21.5.21.20050721/lisp'
'--with-etcdir=/usr/share/xemacs/21.5.21.20050721/etc'
'--with-statedir=/var/lib/xemacs'
'--with-moduledir=/usr/lib/xemacs/21.5.21.20050721/i386-suse-linux/modules'
'--infodir=/usr/share/xemacs/info' '--mandir=/usr/share/man/man1'
'--enable-database=gdbm,berkdb' '--with-ncurses' '--with-tty=yes'
'--with-site-lisp' '--disable-mc-alloc' '--disable-kkcc'
'--enable-sound=native' '--with-gpm' '--enable-pdump'
'--disable-dump-in-exec' '--with-xpm' '--with-gif'
'--with-tiff'
'--with-jpeg' '--with-png' '--with-x' '--with-athena=3d'
'--enable--menubars=lucid' '--enable-scrollbars=lucid'
'--enable-dialogs=athena' '--enable-widgets=athena'
'--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib'
'--enable-mule' '--with-xim=xlib' '--with-xfs'
'--enable-clash-detection'
'--with-ldap' '--with-pop' 'CFLAGS=-O2 -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -Wno-switch -pipe -O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g
-fno-strict-aliasing' 'LDFLAGS=' 'build_alias=i386-suse-linux'
'host_alias=i386-suse-linux' 'target_alias=i386-suse-linux'
XEmacs 21.5-b21 "corn" (+CVS-20050720) configured for `i386-suse-linux'.
WARNING: --------------------------------------------------------------
WARNING: This was produced from a new autoconf-2.5 based configuration.
WARNING: If this configuration seems buggy then copy etc/configure-2.13
WARNING: to configure and try again. Also please report the bug.
WARNING: --------------------------------------------------------------
Compilation Environment and Installation Defaults:
Source code
location: /usr/src/packages/BUILD/xemacs-21.5.21.20050721
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler version: gcc (GCC) 4.0.2 20050901 (prerelease)
(SUSE Linux)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef
-Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g -O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall
-Wno-switch -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing
libc version: 2.3.5
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
- Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs/mule-packages/lisp/mule-base/ethio-util
/usr/share/xemacs/21.5.21.20050721/lisp/mule/ethio-util
/usr/share/xemacs/mule-packages/lisp/mule-base/china-util
/usr/share/xemacs/21.5.21.20050721/lisp/mule/china-util
/usr/share/xemacs/mule-packages/lisp/mule-base/cyril-util
/usr/share/xemacs/21.5.21.20050721/lisp/mule/cyril-util
/usr/share/xemacs/mule-packages/lisp/mule-base/korea-util
/usr/share/xemacs/21.5.21.20050721/lisp/mule/korea-util
/usr/share/xemacs/mule-packages/lisp/mule-base/viet-util
/usr/share/xemacs/21.5.21.20050721/lisp/mule/viet-util
/usr/share/xemacs/mule-packages/lisp/mule-base/japan-util
/usr/share/xemacs/21.5.21.20050721/lisp/mule/japan-util
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/share/xemacs/21.5.21.20050721/lisp/easy-mmode
/usr/share/xemacs/mule-packages/lisp/mule-ucs/unicode
/usr/share/xemacs/21.5.21.20050721/lisp/unicode
/usr/share/xemacs/xemacs-packages/lisp/build/build-report
/usr/share/xemacs/21.5.21.20050721/lisp/build-report
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/share/xemacs/21.5.21.20050721/lisp/regexp-opt
/usr/share/xemacs/site-packages/lisp/term/gnome
/usr/share/xemacs/21.5.21.20050721/lisp/gnome)
Installed XEmacs Packages:
-------------------------
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 tex-site font-lock
cus-face un-define latin-euro-input quail overlay latin-unity-tables
latin-euro-standards latin-euro-latin10 latin-euro-latin9
latin-euro-latin7 latin-unity-vars latin-unity ispell
latin-euro-latin8 x-compose zenirc-autoloads xwem-autoloads edmacro
xslt-process-autoloads xslide-autoloads xlib-autoloads xetla-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-autoloads tramp-autoloads tpu-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
re-builder-autoloads python-modes-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads ocaml-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads liece-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
ibuffer-autoloads hm--html-menus-autoloads haskell-mode-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
fortran-modes-autoloads forms-autoloads footnote-autoloads
eudc-autoloads eterm-autoloads ess-autoloads eshell-autoloads
escreen-autoloads erc-autoloads emerge-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
ediff-hook edebug-autoloads ecrypto-autoloads ecb-autoloads
docbookide-autoloads dired-autoloads dictionary-autoloads
debug-autoloads cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
mule-ucs-autoloads mule-base-autoloads leim-autoloads
latin-unity-autoloads egg-its-autoloads edict-autoloads
modules-autoloads mule-autoloads auto-autoloads disp-table loadhist
rsz-minibuf auto-show fontl-hooks canna-leim tibetan lao devanagari
indian slovenian czech romanian ccl code-cmds gutter-items
menubar-items x-menubar mode-motion mouse behavior itimer auto-save
lisp-mode easymenu easy-mmode iso8859-1 page buff-menu lib-complete
cus-file derived newcomment env text-props frame obsolete cus-start
custom widget cl-extra cl cl-19 packages backquote CANNA wnn unicode
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db dbm md5 xemacs xim mule
gutter tiff png gif jpeg xface xpm xbm lisp-float-type file-coding
linux dialog devices window-system base64)
Recent keystrokes:
-----------------
misc-user
Recent messages (most recent first):
-----------------------------------
Auto save file for draft message exists; consider M-x mail-recover
Warning:
Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.
To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.
To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent .
Loading xemacsbug...done
Loading xemacsbug...
Loading cus-face...done
Loading cus-face...
Loading edmacro...done
Loading edmacro...