auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] XEmacs and ZUCTeX Problems


From: Ernst Joachim Weniger
Subject: [AUCTeX] XEmacs and ZUCTeX Problems
Date: Mon, 21 Nov 2005 12:55:27 +0100 (MET)

                                                   21 November 2005

Dear Mike,

I discovered another problem with XEmacs in connection with AUCTeX under
Suse 9.3, which I will describe below.

A detailed system info for my XEmacs instalation follows at the end of this
email. 

The current state of AUCTeX on my PC is as follows:

> Emacs  : XEmacs 21.5  (beta22) "cucumber" (+CVS-20050913) [Lucid] 
> (i386-suse-lin
> ux, Mule) of Tue Sep 20 2005 on barry
> Package: AUCTeX CVS-1.13 (2005-02-11)
> 
> current state:
> ==============
> (setq
>  window-system 'x
>  LaTeX-version "2e"
>  TeX-style-path '("style/" "auto/" "~/TeX/style/" "~/TeX/auto/"
>                   "/usr/share/xemacs/xemacs-packages/etc/auctex/style/"
>                   "/usr/share/xemacs/xemacs-packages/etc/auctex/auto/")
>  TeX-auto-save nil
>  TeX-parse-self nil
>  TeX-master nil
>  )

When I use within AUCTeX the commend ^c^q^e to format an environment such
as \begin{align} ... \end{align}, strange things happen.

Let us assume that I have the following environment in my LaTeX sourde code:

  \begin{subequations}
  \label{EuMaclau}
  \begin{align}
  % \label{}
  \sum_{\nu=M}^{N} \, g (\nu) & \; = \; \int_{M}^{N} \, g (x) \,
  \mathrm{d} x \, + \, \frac{1}{2} \,
  \bigl[g (M) + g (N)\bigr] \notag \\
  & \qquad + \, \sum_{j=1}^{k} \, \frac {B_{2j}} {(2j)!}  \left[
    g^{(2j-1)} (N) - g^{(2j-1)} (M) \right] \, + \, R_k (g) \, ,
  \\
  % \label{}
  R_k (g) & \; = \; - \, \frac{1}{(2k)!} \, \int_{M}^{N} \, B_{2k}
  \bigl( x - \Ent{x} \bigr) \, g^{(2k)} (x) \, \mathrm{d} x \, .
  \end{align}
  \end{subequations}

If my cursor is at the beginning of the line of the first label

  \label{EuMaclau}

the command ^c^q^e produces the following correct resuly:

  \begin{subequations}
    \label{EuMaclau}
    \begin{align}
      % \label{}
      \sum_{\nu=M}^{N} \, g (\nu) & \; = \; \int_{M}^{N} \, g (x) \,
      \mathrm{d} x \, + \, \frac{1}{2} \,
      \bigl[g (M) + g (N)\bigr] \notag \\
      & \qquad + \, \sum_{j=1}^{k} \, \frac {B_{2j}} {(2j)!}  \left[
        g^{(2j-1)} (N) - g^{(2j-1)} (M) \right] \, + \, R_k (g) \, ,
      \\
      % \label{}
      R_k (g) & \; = \; - \, \frac{1}{(2k)!} \, \int_{M}^{N} \, B_{2k}
      \bigl( x - \Ent{x} \bigr) \, g^{(2k)} (x) \, \mathrm{d} x \, .
    \end{align}
  \end{subequations}

Let us now assume that my cursor is at the veginning of the first line

  \begin{subequations}

of this environment. Then, the command ^c^q^e should try to format the
whole document. XEmacs -- or rather AUCTeX -- also tries to do this. It
starts ro format and counts the progress until it reaches 90%. Then,
XEmacs freezes and has to be killed.

If I try to get out of the frozen XEmacs via the command ^k^x, the whole
PC freezes and can only be started by turning electricity off and on.

This problem occurs both under KDE and Gnome.

Greetings and best regards

Ernst Joachim

#-------------------------------------------------------|
|  PD Dr. Ernst Joachim Weniger                         |
|  Institut für Physikalische und Theoretische Chemie   |
|  Universität Regensburg                               |
|  D-93040 Regensburg, Germany                          |
|  Tel:    +49 (0)941-943-4722                          |
|  Fax:    +49 (0)941-943-4719                          |
|  Email:  address@hidden     | 
#-------------------------------------------------------|

> System Info to help track down your bug:
> ---------------------------------------
> 
> uname -a: Linux barry 2.6.9 #1 SMP Thu Jan 27 09:19:29 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 -mcpu=i686 -fmessage-length=0 -Wall -g -Wall -Wno-switch -pipe 
> -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -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.22/i386-suse-linux' 
> '--with-docdir=/usr/lib/xemacs/21.5.22/i386-suse-linux' 
> '--with-lispdir=/usr/share/xemacs/21.5.22/lisp' 
> '--with-etcdir=/usr/share/xemacs/21.5.22/etc' 
> '--with-statedir=/var/lib/xemacs' 
> '--with-moduledir=/usr/lib/xemacs/21.5.22/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-gi
 f' '--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 -mcpu=i686 
-fmessage-length=0 -Wall -g -Wall -Wno-switch -pipe -O2 -march=i586 -mcpu=i686 
-fmessage-length=0 -Wall -g -fno-strict-aliasing' 'LDFLAGS=' 
'build_alias=i386-suse-linux' 'host_alias=i386-suse-linux' 
'target_alias=i386-suse-linux'
> 
> 
> XEmacs 21.5-b22 "cucumber" (+CVS-20050913) 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.22
>   Installation prefix:               /usr
>   Operating system description file: `s/linux.h'
>   Machine description file:          `m/intel386.h'
>   Compiler version:                  gcc (GCC) 3.3.5 20050117 (prerelease) 
> (SUSE Linux)
>     - GCC specs file:                
> /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
>     - Compiler command:              gcc -Wall -Wno-switch -Wundef 
> -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  -O2 
> -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -Wall -Wno-switch -pipe 
> -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -fno-strict-aliasing
>   libc version:                      
>   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/site-packages/lisp/flim/std11
> /usr/share/xemacs/xemacs-packages/lisp/apel/std11
> /usr/share/xemacs/site-packages/lisp/flim/sha1
> /usr/share/xemacs/xemacs-packages/lisp/ecrypto/sha1
> /usr/share/xemacs/site-packages/lisp/flim/md5
> /usr/share/xemacs/xemacs-packages/lisp/ecrypto/md5
> /usr/share/xemacs/site-packages/lisp/flim/md4
> /usr/share/xemacs/xemacs-packages/lisp/ecrypto/md4
> /usr/share/xemacs/site-packages/lisp/flim/hex-util
> /usr/share/xemacs/xemacs-packages/lisp/ecrypto/hex-util
> /usr/share/xemacs/site-packages/lisp/flim/sasl
> /usr/share/xemacs/xemacs-packages/lisp/sasl/sasl
> /usr/share/xemacs/site-packages/lisp/flim/sasl-scram
> /usr/share/xemacs/xemacs-packages/lisp/sasl/sasl-scram
> /usr/share/xemacs/site-packages/lisp/flim/sasl-ntlm
> /usr/share/xemacs/xemacs-packages/lisp/sasl/sasl-ntlm
> /usr/share/xemacs/site-packages/lisp/flim/sasl-digest
> /usr/share/xemacs/xemacs-packages/lisp/sasl/sasl-digest
> /usr/share/xemacs/site-packages/lisp/flim/sasl-cram
> /usr/share/xemacs/xemacs-packages/lisp/sasl/sasl-cram
> /usr/share/xemacs/site-packages/lisp/flim/ntlm
> /usr/share/xemacs/xemacs-packages/lisp/sasl/ntlm
> /usr/share/xemacs/site-packages/lisp/flim/hmac-sha1
> /usr/share/xemacs/xemacs-packages/lisp/sasl/hmac-sha1
> /usr/share/xemacs/site-packages/lisp/flim/hmac-md5
> /usr/share/xemacs/xemacs-packages/lisp/sasl/hmac-md5
> /usr/share/xemacs/site-packages/lisp/flim/hmac-def
> /usr/share/xemacs/xemacs-packages/lisp/sasl/hmac-def
> /usr/share/xemacs/site-packages/lisp/flim/mel-u
> /usr/share/xemacs/xemacs-packages/lisp/tm/mel-u
> /usr/share/xemacs/site-packages/lisp/flim/mel-q
> /usr/share/xemacs/xemacs-packages/lisp/tm/mel-q
> /usr/share/xemacs/site-packages/lisp/flim/mel-g
> /usr/share/xemacs/xemacs-packages/lisp/tm/mel-g
> /usr/share/xemacs/site-packages/lisp/flim/mel
> /usr/share/xemacs/xemacs-packages/lisp/tm/mel
> /usr/share/xemacs/mule-packages/lisp/mule-base/viet-util
> /usr/share/xemacs/21.5.22/lisp/mule/viet-util
> /usr/share/xemacs/mule-packages/lisp/mule-base/korea-util
> /usr/share/xemacs/21.5.22/lisp/mule/korea-util
> /usr/share/xemacs/mule-packages/lisp/mule-base/japan-util
> /usr/share/xemacs/21.5.22/lisp/mule/japan-util
> /usr/share/xemacs/mule-packages/lisp/mule-base/ethio-util
> /usr/share/xemacs/21.5.22/lisp/mule/ethio-util
> /usr/share/xemacs/mule-packages/lisp/mule-base/cyril-util
> /usr/share/xemacs/21.5.22/lisp/mule/cyril-util
> /usr/share/xemacs/mule-packages/lisp/mule-base/china-util
> /usr/share/xemacs/21.5.22/lisp/mule/china-util
> /usr/share/xemacs/mule-packages/lisp/mule-ucs/unicode
> /usr/share/xemacs/21.5.22/lisp/unicode
> /usr/share/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
> /usr/share/xemacs/21.5.22/lisp/regexp-opt
> /usr/share/xemacs/site-packages/lisp/term/gnome
> /usr/share/xemacs/21.5.22/lisp/gnome
> /usr/share/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
> /usr/share/xemacs/21.5.22/lisp/easy-mmode
> /usr/share/xemacs/xemacs-packages/lisp/build/build-report
> /usr/share/xemacs/21.5.22/lisp/build-report)
> 
> 
> Installed XEmacs Packages:
> -------------------------
> 
> 
> 
> Installed Modules:
> -----------------
> 
> 
> Features:
> --------
> 
> (mail-abbrevs xemacsbug shadow sendmail rfc822 outline font-latex latex
> tex advice advice-preload regexp-opt efs-cu blink-cursor fast-lock
> font-lock paren blink-paren pending-del font cus-face tex-site 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
> flim-1.14.7-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):
> -----------------------------------
> 
> 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...
> Updating...done
> Updating modify environment menu...
> Removing duplicates... done
> Removing duplicates...
> Sorting environment...
> Updating environment menu...
> Updating section menu...
> Applying style hooks... done
> Applying style hooks...
> Loading font-latex...done
> Loading font-latex...
> Loading latex...done
> Loading latex...
> Loading tex...done
> Loading advice...done
> Loading advice...
> Loading regexp-opt...done








reply via email to

[Prev in Thread] Current Thread [Next in Thread]