[Bug: 21.5-b31] seg fault
13 years
Don Cohen
Dear Bug Team!
I was having trouble with the keyboard or mouse somehow inserting
random junk in my input stream so was about to look at what was
actually being sent. I had put (recent-keys ) into *scratch* and
then did m-x eval-print <enter> when I got the crash.
I had done this earlier without incident.
My init also contained
(set-recent-keys-ring-size 10000)
I have no core file but am prepared to help further.
Here's what I found in the console from which I started xemacs:
(It's just lucky that I started xemacs from a console!)
====
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may describe
your crash, and with luck a workaround. Please check it first, but do report
the crash anyway.
Please report this bug by invoking M-x report-emacs-bug, or by selecting
`Send Bug Report' from the Help menu. If that won't work, send ordinary
email to `xemacs-beta(a)xemacs.org'. *MAKE SURE* to include this entire
output from this crash, especially including the Lisp backtrace, as well as
the XEmacs configuration from M-x describe-installation (or equivalently,
the file `Installation' in the top of the build tree).
*Please* try *hard* to obtain a C stack backtrace; without it, we are unlikely
to be able to analyze the problem. Locate the core file produced as a result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /usr/bin/xemacs core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited')
in case of future reoccurrence of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
prin1([#<keypress-event meta-P 0x15477> #<keypress-event meta-B 0x154cb> #<keypress-event meta-B 0x154cc> #<keypress-event meta-D 0x154cd> #<keypress-event f 0x154ce> #<keypress-event f 0x154cf> #<keypress-event tab 0x154d0> #<keypress-event backspace 0x154d1> #<keypress-event control-E 0x154d2> #<keypress-event return 0x154d3> #<keypress-event c 0x154d4> #<keypress-event d 0x154d5> #<keypress-event space 0x154d6> #<keypress-event / 0x154d7> #<keypress-event r 0x154d8> #<keypress-event o 0x154d9> #<keypress-event tab 0x154da> #<keypress-event f 0x154db> #<keypress-event f 0x154dc> #<keypress-event tab 0x154dd> #<keypress-event return 0x154de> #<keypress-event meta-P 0x154df> #<keypress-event meta-P 0x154e0> #<keypress-event meta-P 0x154e1> #<keypress-event return 0x154e2> #<keypress-event control-X 0x154e3> #<keypress-event control-B 0x154e4> #<keypress-event control-X 0x154e5> #<keypress-event o 0x154e6> #<keypress-event control-N 0x154e7> #<keypress-event control-N 0x154e
8> #<keypress-event control-N 0x154e9> #<keypress-event control-N 0x154ea> #<keypress-event control-N 0x154eb> #<keypress-event control-N 0x154ec> #<keypress-event control-N 0x154ed> #<keypress-event f 0x154ee> #<keypress-event control-N 0x154ef> #<keypress-event control-X 0x154f0> #<keypress-event o 0x154f1> #<keypress-event meta-P 0x154f2> #<keypress-event control-space 0x154f3> #<keypress-event control-A 0x154f4> #<keypress-event meta-W 0x154f5> #<keypress-event control-X 0x154f6> #<keypress-event o 0x154f7> #<keypress-event control-Y 0x154f8> #<keypress-event control-A 0x154f9> #<keypress-event control-O 0x154fa> #<keypress-event control-X 0x154fb> ...] nil)
# bind (seen-first value G52206 stream multiple-value-list)
prin1-list-as-multiple-values(([#<keypress-event meta-P 0x15477> #<keypress-event meta-B 0x154cb> #<keypress-event meta-B 0x154cc> #<keypress-event meta-D 0x154cd> #<keypress-event f 0x154ce> #<keypress-event f 0x154cf> #<keypress-event tab 0x154d0> #<keypress-event backspace 0x154d1> #<keypress-event control-E 0x154d2> #<keypress-event return 0x154d3> #<keypress-event c 0x154d4> #<keypress-event d 0x154d5> #<keypress-event space 0x154d6> #<keypress-event / 0x154d7> #<keypress-event r 0x154d8> #<keypress-event o 0x154d9> #<keypress-event tab 0x154da> #<keypress-event f 0x154db> #<keypress-event f 0x154dc> #<keypress-event tab 0x154dd> #<keypress-event return 0x154de> #<keypress-event meta-P 0x154df> #<keypress-event meta-P 0x154e0> #<keypress-event meta-P 0x154e1> #<keypress-event return 0x154e2> #<keypress-event control-X 0x154e3> #<keypress-event control-B 0x154e4> #<keypress-event control-X 0x154e5> #<keypress-event o 0x154e6> #<keypress-event control-N 0x154e7> #<keypre
ss-event control-N 0x154e8> #<keypress-event control-N 0x154e9> #<keypress-event control-N 0x154ea> #<keypress-event control-N 0x154eb> #<keypress-event control-N 0x154ec> #<keypress-event control-N 0x154ed> #<keypress-event f 0x154ee> #<keypress-event control-N 0x154ef> #<keypress-event control-X 0x154f0> #<keypress-event o 0x154f1> #<keypress-event meta-P 0x154f2> #<keypress-event control-space 0x154f3> #<keypress-event control-A 0x154f4> #<keypress-event meta-W 0x154f5> #<keypress-event control-X 0x154f6> #<keypress-event o 0x154f7> #<keypress-event control-Y 0x154f8> #<keypress-event control-A 0x154f9> #<keypress-event control-O 0x154fa> #<keypress-event control-X 0x154fb> ...]))
# bind (standard-output opoint ignore-quotes eval-last-sexp-arg-internal)
eval-last-sexp(t)
# bind (standard-output)
#<compiled-function (from eval-print-last-sexp) nil "...(13)" [standard-output terpri eval-last-sexp t] 2 1355621 nil 0x833>()
call-interactively(eval-print-last-sexp)
command-execute(eval-print-last-sexp t)
# bind (execute-command-keys execute-command-name prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
[1]+ Segmentation fault (core dumped) xemacs
[2011-12-10 12:47:52 root@number11 ~]
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux x86-12.phx2.fedoraproject.org 2.6.32-131.2.1.el6.x86_64 #1 SMP Wed May 18 07:07:37 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
./configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--mandir=/usr/share/man/man1' '--with-archlibdir=/usr/lib64/xemacs-21.5-b31/x86_64-redhat-linux' '--with-moduledir=/usr/lib64/xemacs-21.5-b31/x86_64-redhat-linux/modules' '--with-lispdir=/usr/share/xemacs-21.5-b31/lisp' '--with-etcdir=/usr/share/xemacs-21.5-b31/etc' '--with-system-packages=/usr/share/xemacs' '--without-msw' '--with-mule' '--with-clash-detection' '--with-database=berkdb' '--without-ldap' '--without-postgresql' '--with-mail-locking=lockf' '--with-pop' '--without-hesiod' '--with-pdump' '--with-debug' '--with-error-checking=none' '--
enable-bignum=gmp' '--with-union-type' '--with-docdir=/usr/lib64/xemacs-21.5-b31/doc' '--with-sound=nonative,alsa' '--with-athena=next' '--with-menubars=lucid' '--with-widgets=athena' '--with-dialogs=athena' '--with-scrollbars=lucid' '--with-xim=xlib' '--without-wnn' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing' 'LDFLAGS=-Wl,-z,relro' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
XEmacs 21.5-b31 "ginger" configured for `x86_64-redhat-linux'.
Compilation Environment and Installation Defaults:
Source code location: /builddir/build/BUILD/xemacs-21.5.31
Installation prefix: /usr
Not using any operating system description file
Not using any machine description file
Compiler version: gcc (GCC) 4.6.1 20110715 (Red Hat 4.6.1-3)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wunused-parameter -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing
libc version: glibc-2.14.90-4.x86_64
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:
- X Windows libraries location:
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/neXtaw
- Athena library to link: neXtaw
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.
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 ALSA (Advanced Linux Sound Architecture).
Databases:
Compiling in support for Berkeley database.
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.
Compiling in support for Canna on Mule.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "lockf" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for more number types using the GNU MP library.
Using the union type for Lisp_Objects.
WARNING: ---------------------------------------------------------
WARNING: This tends to trigger compiler bugs, especially when
WARNING: combined with MULE and ERROR_CHECKING. Crashes have
WARNING: been seen with various versions of GCC (up to about 2.95),
WARNING: and recently with Visual C++ as well (mid-2003).
WARNING: More recent versions may be safer, or not.
WARNING: ---------------------------------------------------------
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs/xemacs-packages/lisp/cedet-common/sformat
/usr/share/xemacs/xemacs-packages/lisp/semantic/sformat
/usr/share/xemacs/xemacs-packages/lisp/cedet-common/working
/usr/share/xemacs/xemacs-packages/lisp/semantic/working
/usr/share/xemacs/mule-packages/lisp/mule-base/ethio-util
/usr/share/xemacs-21.5-b31/lisp/mule/ethio-util
/usr/share/xemacs/mule-packages/lisp/mule-base/viet-util
/usr/share/xemacs-21.5-b31/lisp/mule/viet-util
/usr/share/xemacs/mule-packages/lisp/mule-base/japan-util
/usr/share/xemacs-21.5-b31/lisp/mule/japan-util
/usr/share/xemacs/mule-packages/lisp/mule-base/korea-util
/usr/share/xemacs-21.5-b31/lisp/mule/korea-util
/usr/share/xemacs/mule-packages/lisp/mule-base/china-util
/usr/share/xemacs-21.5-b31/lisp/mule/china-util
/usr/share/xemacs/xemacs-packages/lisp/build/build-report
/usr/share/xemacs-21.5-b31/lisp/build-report
/usr/share/xemacs/xemacs-packages/lisp/apel/alist
/usr/share/xemacs-21.5-b31/lisp/alist
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/share/xemacs-21.5-b31/lisp/easy-mmode
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/share/xemacs-21.5-b31/lisp/regexp-opt)
Internationalization Settings:
-------------------------
Environment:
Value of LC_ALL : nil
Value of LC_COLLATE : nil
Value of LC_CTYPE : nil
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
Lisp locale settings:
current-language-environment => "English"
default-buffer-file-coding-system => utf-8
default-process-coding-system => (undecided . utf-8)
(current-locale) => "en_US.UTF-8"
keyboard-coding-system => utf-8
terminal-coding-system => utf-8
(coding-priority-list) =>
(utf-8 iso-8-1 utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7
no-conversion iso-8-2 iso-8-designate iso-lock-shift shift-jis
big5 utf-16-little-endian utf-16 ucs-4)
Coding system aliases:
'native is aliased to utf-8
'file-name is aliased to utf-8
'mswindows-multibyte-system-default is not a coding system alias
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xetla ver: 1.02 upstream: steve(a)eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.82 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.3 upstream: No-Upstream-Ver)
(x-symbol ver: 1.13 upstream: 4.5.1)
(w3 ver: 1.35 upstream: 4.0pre47)
(viper ver: 1.67 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.22 upstream: 3.33.12)
(vc ver: 1.48 upstream: No-Upstream-Ver)
(tramp ver: 1.4 upstream: 2.0.56)
(tpu ver: 1.14 upstream: 4.2X)
(tm ver: 1.39 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 2.0 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.29 upstream: 1.0pre4)
(slider ver: 1.16 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.24 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.21 upstream: 2.0pre4)
(scheme ver: 1.18 upstream: No-Upstream-Ver)
(ruby-modes ver: 1.04 upstream: 1.8.7)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.23 upstream: 3.1.2)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.14 upstream: 5.0.0)
(psgml ver: 1.45 upstream: 1.3.2)
(ps-print ver: 1.12 upstream: 6.5.6)
(prog-modes ver: 2.21 upstream: No-Upstream-Ver)
(pgg ver: 1.08 upstream: 0.1)
(perl-modes ver: 1.14 upstream: No-Upstream-Ver)
(pcomplete ver: 1.06 upstream: 1.1.6)
(pcl-cvs ver: 1.7 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.41 upstream: No-Upstream-Ver)
(oo-browser ver: 1.05 upstream: 4.08)
(ocaml ver: 0.06 upstream: 3.06)
(misc-games ver: 1.22 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.33 upstream: 7.4.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.8 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.36 upstream: 5.12.0)
(igrep ver: 1.16 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.1 upstream: No-Upstream-Ver)
(hyperbole ver: 1.17 upstream: 5.0)
(hm--html-menus ver: 1.24 upstream: 5.9)
(haskell-mode ver: 1.11 upstream: 2.1)
(guided-tour ver: 0.52 upstream: No-Upstream-Ver)
(gnats ver: 1.17 upstream: 3.101)
(games ver: 1.21 upstream: 2.00)
(fsf-compat ver: 1.19 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.4 upstream: 1.32)
(eterm ver: 1.18 upstream: No-Upstream-Ver)
(eshell ver: 1.18 upstream: 0fc80a3f6bb3bb59f42e9ff83cc8b89bf90fe658)
(escreen ver: 1.01 upstream: 1.16)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(eieio ver: 1.07 upstream: 1.0pre4)
(efs ver: 1.34 upstream: 1.24)
(edt ver: 1.14 upstream: No-Upstream-Ver)
(edit-utils ver: 2.43 upstream: No-Upstream-Ver)
(ediff ver: 1.81 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ede ver: 1.03 upstream: 1.0pre4)
(ecrypto ver: 0.21 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(easypg ver: 1.03 upstream: 0.0.16)
(docbookide ver: 0.08 upstream: 0.1)
(dired ver: 1.2 upstream: 7.17)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(cogre ver: 1.02 upstream: 0.5)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cedet-common ver: 1.01 upstream: 1.0pre4)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.38 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.15 upstream: 2.02)
(bbdb ver: 1.32 upstream: 2.35)
(auctex ver: 1.51 upstream: 11.84)
(apel ver: 1.34 upstream: 10.7)
(ada ver: 1.14 upstream: 2.27)
(mule-base ver: 1.56 upstream: No-Upstream-Ver)
(lookup ver: 1.15 upstream: 1.0)
(leim ver: 1.32 upstream: No-Upstream-Ver)
(latin-unity ver: 1.2 upstream: 1.20)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.17 upstream: 0.9.9)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 man noutline outline
efs-cu cedet-edebug debug guided-tour mwheel font disp-table font-lock
cus-face time-stamp shell comint ring zenirc-autoloads xwem-autoloads
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 oo-browser-autoloads ocaml-autoloads
net-utils-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
guided-tour-autoloads gnus-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads
escreen-autoloads erc-autoloads emerge-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ede-autoloads ecrypto-autoloads ecb-autoloads
easypg-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads cookie-autoloads cogre-autoloads
clearcase-autoloads cedet-common-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads tex-site auctex-autoloads apel-autoloads ada-autoloads
mule-base-autoloads lookup-autoloads leim-autoloads
latin-unity-autoloads egg-its-autoloads edict-autoloads
modules-autoloads mule-autoloads auto-autoloads auto-show fontl-hooks
canna-leim tibetan thai slovenian czech romanian lao devanagari indian
cyrillic 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 loadhist cus-file derived
newcomment rsz-minibuf env text-props frame obsolete packages
cus-start widget custom cl-extra cl cl-19 backquote unicode
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar alsa-sound scrollbar
unix-processes multicast network-streams subprocesses bigfloat ratio
bignum number-types modules menu-accelerator-support menubar
berkeley-db md5 xemacs xim mule gutter tiff png gif jpeg xface xpm xbm
lisp-float-type file-coding linux dialog devices debug-xemacs
window-system base64)
Recent keystrokes:
-----------------
w h o a m i RET C-x b c r a s h RET misc-user M-< C-SPC
q q C-g q C-SPC C-n C-n C-n C-n C-n C-n C-w C-x b RET
l o c a t e SPC P R O B L E M S RET C-p C-p C-a C-SPC
C-e M-w C-p C-a C-SPC C-e M-w C-n C-n C-n l s SPC -
l SPC C-y SPC C-y M-y C-. q C-/ C-/ C-p C-p C-SPC C-a
M-w M-> C-y RET C-x C-f C-y RET M-x m a n RET C-g M-x
w h i c h SPC BS BS BS BS BS e m a SPC v SPC RET C-x
b C-g C-x C-b C-x o C-n C-n f C-n C-n C-n C-n C-n C-n
C-n C-n M-x r e p o r SPC e SPC SPC RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Quit
XEmacs 21.5 (beta31) "ginger" [Lucid] (x86_64-redhat-linux, Mule) of Fri Aug 5 2011 on x86-12.phx2.fedoraproject.org
Quit
Loading man...done
Loading man...
Loading outline...done
Loading outline...
Loading efs-cu...done
Loading efs-cu...
Entering debugger...
Quit
q not defined.
q not defined.
Entering debugger...
Loading debug...done
Loading debug...
Loading guided-tour...done
Loading guided-tour...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
coding problem with babel.el (babelfish interface)
13 years
Uwe Brauer
Hello
I have a problem with the babel package. This package allows to use
online translators, such as Google[1], Babelfish and
others. The problem I encounter happens with the babelish
(yahoo) service. It is a coding problem, since there is *no*
problem if the text of language A and B contains only ASCII.
Now I have to say that there is no problem whatsoever using
GNU emacs. However using Xemacs-21.5.31 (Mule)[2] I
encounter two problems. That is why I write to the list and
CC the author of the package.
- The word of language A contains only ascii symbols,
but the translated word does not. In that case the
word seems to contain a UTF-8 however the symbol is
surrounded by a green box and when I put the cursor
on it to use
what-cursor-position I obtain
Char: � (U+2000C9 jit-ucs-charset-0 34 121) point=1065 of 1310(81%) column 1
while when I use it on É (which I typed in a xemacs buffer) I obtain
Char: É (U+00C9 latin-iso8859-1 73) point=1071 of 1320(81%) column 1
I have just insert such a word in the message, I am not
sure it will be send correctly.
�gal
- the next problem is more severe. If a word of
language A contains a no ascii symbol (and I use
,----
| `buffer-file-coding-system' is a built-in buffer-local variable.
| -- loaded from "/home/oub/xemacs/init/xemacs_init.el"
|
| Value: utf-8-unix
`----
there are two possibilities:
- the word Égal with
Char: É (U+00C9 latin-iso8859-1 73) point=1071 of 1320(81%)
column 1
Gets translated (French to German) to � � gal
- While
�gal
With
Char: � (U+2000C9 jit-ucs-charset-0 34 121) point=1065 of 1310(81%) column 1
gets translated to
Entsprech
<P>
So I am puzzled. Any comments? Should I use a different
coding system?
Uwe Brauer
Footnotes:
[1] the google interface, gave some problem with the
correct coding in the past, but it is currently
desactivated since google again changed its protocol.
[2] the UTF-8 support of 21.4 via UCS is not sufficient.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: still codings problem (saving) with babel.
13 years
Aidan Kehoe
Ar an triú lá déag de mí na Nollaig, scríobh Stephen J. Turnbull:
> Uwe Brauer writes:
>
> > Char: � (U+2000E9 jit-ucs-charset-0 35 56) point=467 of 473(99%) column 2
>
> Maybe Aidan can explain what looks like a Latin-1 character is being
> stuffed into a jit-ucs charset.
This is what happens when Latin-1 is decoded as UTF-8, since I changed the
UTF-8 coding systems to avoid transforming every octet that is not valid
UTF-8 to tilde. Basically, babel (or more probably, the URL-retrieval code)
isn’t looking at the MIME information about what coding system the data is
in at all.
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
still codings problem (saving) with babel.
13 years
Uwe Brauer
Hello
there is still a problem concerning,inserting and saving
translated text. Take the word `to answer', which is translated
to french as répondre.
Now Babelfish gives me a buffer and the word is displayed
Char: � (U+2000E9 jit-ucs-charset-0 35 56) point=467 of 473(99%) column 2
r�pondre
Now I have three possibilities.
- I insert this word into my buffer which contains
other french words and save it as iso-8859-1; result
the new word is saved as r~pondre.
- I save in UTF8. then all the symbols are saved as some
sort of japanese Syllables alphabet (I don't speak
japanese, this is a guess)
- I convert all the french words, via iso-unaccentuate
to ascii and save the file as UTF, then répondre is
saved correctly! I can then iso-accentuate the rest
of the words and continue with UTF8 coding.iplayed
so I am puzzled about which coding to chose.
Regards
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
[PATCH21.4] fix bug in parsing ^ after shy group in regex
13 years
Julian Bradfield
^ was wrongly interpreted as literal when occurring at the start
of a shy group. Cause: regex.c:at_begline_loc_p() was not told about
shy groups.
Two tests added to tests/automated/regexp-tests.el.
Patch applies against 21.4.22. (Patch for 21.5 follows.)
--- src/regex.c-dist 2006-03-31 02:29:00.000000000 +0100
+++ src/regex.c 2011-12-11 18:47:22.000000000 +0000
@@ -3295,12 +3295,18 @@
{
re_char *prev = p - 2;
re_bool prev_prev_backslash = prev > pattern && prev[-1] == '\\';
+ re_bool shy_open = prev-1 > pattern && prev[0] == ':'
+ && prev[-1] == '?' && prev[-2] == '(';
+ re_bool ppp_backslash = prev-2 > pattern && prev[-3] == '\\';
return
/* After a subexpression? */
(*prev == '(' && (syntax & RE_NO_BK_PARENS || prev_prev_backslash))
/* After an alternative? */
- || (*prev == '|' && (syntax & RE_NO_BK_VBAR || prev_prev_backslash));
+ || (*prev == '|' && (syntax & RE_NO_BK_VBAR || prev_prev_backslash))
+ /* After a shy open? */
+ || (!(syntax & RE_NO_SHY_GROUPS) && shy_open
+ && (syntax & RE_NO_BK_PARENS || ppp_backslash));
}
--- tests/automated/regexp-tests.el-dist 2008-12-26 03:45:29.000000000 +0000
+++ tests/automated/regexp-tests.el 2011-12-11 19:20:46.000000000 +0000
@@ -447,11 +447,16 @@
(Assert (progn (string-match "\\(a\\)" "a")
(string-match "\\(?:a\\)" "a")
(not (match-beginning 1))))
+
+ ;; ^ at beginning of shy group. Fix by
+ ;; Julian Bradfield on 2012-12-11.
+ (Assert (string-match "\\(?:^\\)" ""))
+ (Assert (string-match "a(?:^)" "a:^)"))
)
;; empty string at point
-;; Thanks Julian Bradford on XEmacs Beta
+;; Thanks Julian Bradfield on XEmacs Beta
;; <18652.54975.894512.880956(a)krk.inf.ed.ac.uk>
(with-string-as-buffer-contents "aáa"
(goto-char (point-min))
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
[PATCH21.5] fix bug in parsing ^ after shy group in regex
13 years
Julian Bradfield
^ was wrongly interpreted as literal when occurring at the start
of a shy group. Cause: regex.c:at_begline_loc_p() was not told about
shy groups.
Two tests added to tests/automated/regexp-tests.el.
Patch applies against 21.5.31.
--- src/regex.c-dist 2011-04-29 14:31:16.000000000 +0100
+++ src/regex.c 2011-12-11 19:43:46.000000000 +0000
@@ -3553,12 +3553,18 @@
{
re_char *prev = p - 2;
re_bool prev_prev_backslash = prev > pattern && prev[-1] == '\\';
+ re_bool shy_open = prev-1 > pattern && prev[0] == ':'
+ && prev[-1] == '?' && prev[-2] == '(';
+ re_bool ppp_backslash = prev-2 > pattern && prev[-3] == '\\';
return
/* After a subexpression? */
(*prev == '(' && (syntax & RE_NO_BK_PARENS || prev_prev_backslash))
/* After an alternative? */
- || (*prev == '|' && (syntax & RE_NO_BK_VBAR || prev_prev_backslash));
+ || (*prev == '|' && (syntax & RE_NO_BK_VBAR || prev_prev_backslash))
+ /* After a shy open? */
+ || (!(syntax & RE_NO_SHY_GROUPS) && shy_open
+ && (syntax & RE_NO_BK_PARENS || ppp_backslash));
}
--- tests/automated/regexp-tests.el-dist 2011-04-29 14:31:17.000000000 +0100
+++ tests/automated/regexp-tests.el 2011-12-11 19:48:59.000000000 +0000
@@ -401,6 +401,11 @@
(Assert (progn (string-match "\\(a\\)" a)
(string-match "\\(?:a\\)" a)
(not (match-beginning 1))))
+
+ ;; ^ at beginning of shy group. Fix by
+ ;; Julian Bradfield on 2012-12-11.
+ (Assert (string-match "\\(?:^\\)" ""))
+ (Assert (string-match "a(?:^)" "a:^)"))
)
;; bug identified by Katsumi Yamaoka 2004-09-03 <b9ywtzbbpue.fsf_-_(a)jpl.org>
@@ -548,7 +553,7 @@
;; combinations of STRING and STRBUFFER.
;; empty string at point
-;; Thanks Julian Bradford on XEmacs Beta
+;; Thanks Julian Bradfield on XEmacs Beta
;; <18652.54975.894512.880956(a)krk.inf.ed.ac.uk>
(with-string-as-buffer-contents "aáa"
(goto-char (point-min))
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
regexp bug
13 years
Julian Bradfield
Either I have a profound mis-understanding, or XEmacs (latest stable
and beta) has a bug in the regular expression handling:
(string-match "^\\|c" "")
0 ; ok
(string-match "\\(^\\|c\\)" "")
0 ; ok
(string-match "\\(?:^\\|c\\)" "")
nil ; wtf?
(string-match "\\(?:^\\|c\\)" "c")
0 ; ok
(string-match "\\(?:c\\|^\\)" "")
0 ; ok
;; and even
(string-match "\\(?:^\\)" "")
nil ; wtf?
; but
(string-match "\\(?:^\\)" "^")
0
In short, ^ seems to be mis-understood as a literal character when
immediately following a shy grouping open.
A few minutes later...
The offending code is at_begline_loc_p() in regex.c, which hasn't been
told about shy grouping.
If you like, I can propose a fix, but if somebody else knows the regex
code well (in particular all the bits that control syntax variations),
that would be better;-)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
C Mode possibility: optionally disabling K&R function headers. WDYT?
13 years
Alan Mackenzie
Hello Emacs and XEmacs.
I've got a knotty problem with a C Mode bug report: The use of a macro
in a typedef definition causes the following line to be parsed as a K&R
parameter. The actual code is this:
#ifndef G
#define G(symbol) pieni_ ## symbol
#endif
typedef struct G(foobar) *G(foobar_t);
typedef int lahna; <=========== K&R
Solving this bug is difficult. One way would be just to disable K&R in
C Mode, except when explicitly enabled by the user. After all, K&R
parameters have been obsolete for over 10 years now.
The key sequnce to toggle it would be C-c C-k.
Can anybody think up any reasons why this would be a Bad Thing. Does
anybody feel particularly strongly about this?
--
Alan Mackenzie (Nuremberg, Germany).
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: eval, backquote, compilation
13 years
Aidan Kehoe
Ar an naoiú lá de mí na Nollaig, scríobh Stephen J. Turnbull:
> Julian Bradfield writes:
>
> > >[ load-time-value ] is *equivalent to progn* in interpreted (=
> > >uncompiled) code, so it doesn’t quite do what you might expect.
> >
> > Ah, I see. The docstring is confusing: it says
> > Documentation:
> > Like `progn', but evaluates the body at load time.
> > The result of the body appears to the compiler as a quoted constant.
> >
> > which suggests that it is, well, evaluated at load time!
> >
> > Perhaps it should be amended to: Like `progn', but evaluates the body
> > at load time in byte-compiled code.
>
> How does load-time-value differ from eval-when (with appropriate WHEN)?
The closest appropriate WHEN is :load-toplevel, and that’s limited to top
level forms, while load-time-value can be deep in a function or macro body
without problems.
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
RE: package system improvements!?
13 years
steven Mitchell
Mats,
I was reading the README in /usr/local/share/xemacs-21.5.b31/etc,
and they talk about an option called "install-bootstrap-packages"
and I was wondering if that is a possible mechanism for getting the two
packages installed for bootstrapping the rest of the package system?
Not sure, just thought I would point it out.
The README continues:
"you may choose what packages you wish to include in
bootstrap.tar.gz, but to make list-packages work you need to include at
least xemacs-base, dired, and efs. The tarball should unpack directly as
an xemacs-packages tree (and optionaly, a mule-packages tree."
I was wondering if we included just the 2 (or 3) files they mention, but
no others, would that be a way to get the package system up enough to be
able to get it going?
As a side note, I was able to install without dired, so I am not sure if
that is needed to actually install the package system--didn't seem to
need it.
Steve Mitchell
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta