Drag'n'Drop drop works usually but there's something in matlab mode
<
URL:ftp://ftp.mathworks.com/pub/contrib/v5/tools/matlab.el>, that
causes Drag'n'Drop to crash XEmacs. Same thing with i686-pc-linux
and alpha-unknown-linux (not yet tested on other platforms).
xemacs -vanilla
<Drag'n'Drop works>
(setq auto-mode-alist (append '(("\\.m\\'" . matlab-mode))
auto-mode-alist))
(load "matlab")
C-x C-f foo.m
<write something and Drag'n'Drop it>
Fatal error: assertion failed, file /proj/ave/xemacs/xemacs-21.0-b44/src/event-stream.c,
line 1212, !NILP (rest)
Fatal error (6).
<...>
Lisp backtrace follows:
# (condition-case ... . error)
# (catch top-level ...)
zsh: 26915 abort (core dumped) src/xemacs --vanilla
chaos 16:01 % gdb src/xemacs core
Core was generated by `src/xemacs --vanilla'.
Program terminated with signal 6, Aborted.
find_solib: Can't read pathname for load map: Input/output error
#0 0x40359661 in ?? () from /lib/libc.so.6
(gdb) where
#0 0x40359661 in ?? () from /lib/libc.so.6
#1 0x80b2040 in fatal_error_signal (sig=6)
at /proj/ave/xemacs/xemacs-21.0-b44/src/emacs.c:262
#2 0xbfffed04 in ?? ()
#3 0x4035a69f in ?? () from /lib/libc.so.6
#4 0x80b4513 in assert_failed (
file=0x820cd05 "/proj/ave/xemacs/xemacs-21.0-b44/src/event-stream.c",
line=1212, expr=0x820ce9e "!NILP (rest)")
at /proj/ave/xemacs/xemacs-21.0-b44/src/emacs.c:2605
#5 0x80e91df in event_stream_resignal_wakeup (interval_id=364, async_p=0,
function=0xbfffef64, object=0xbfffef60)
at /proj/ave/xemacs/xemacs-21.0-b44/src/event-stream.c:1212
#6 0x80eac2b in next_event_internal (target_event={gu = {
type = Lisp_Type_Record, val = 35478092}, s = {bits = 0,
val = 70956184}, u = {bits = 0, val = 70956184}, ui = 141912368,
i = 141912368, v = 0x8756930, cv = 0x8756930}, allow_queued=1)
at /proj/ave/xemacs/xemacs-21.0-b44/src/event-stream.c:2030
#7 0x80eb355 in Fnext_event (event={gu = {type = Lisp_Type_Record,
val = 35478092}, s = {bits = 0, val = 70956184}, u = {bits = 0,
val = 70956184}, ui = 141912368, i = 141912368, v = 0x8756930,
cv = 0x8756930}, prompt={gu = {type = Lisp_Type_Record, val = 34413773},
s = {bits = 0, val = 68827546}, u = {bits = 0, val = 68827546},
ui = 137655092, i = 137655092, v = 0x8347334, cv = 0x8347334})
at /proj/ave/xemacs/xemacs-21.0-b44/src/event-stream.c:2239
#8 0x8097c84 in Fcommand_loop_1 ()
at /proj/ave/xemacs/xemacs-21.0-b44/src/cmdloop.c:570
#9 0x80979d1 in command_loop_1 (dummy={gu = {type = Lisp_Type_Record,
val = 34413773}, s = {bits = 0, val = 68827546}, u = {bits = 0,
val = 68827546}, ui = 137655092, i = 137655092, v = 0x8347334,
cv = 0x8347334}) at /proj/ave/xemacs/xemacs-21.0-b44/src/cmdloop.c:494
#10 0x80b7eb4 in condition_case_1 (handlers={gu = {type = Lisp_Type_Record,
val = 34413801}, s = {bits = 0, val = 68827602}, u = {bits = 0,
val = 68827602}, ui = 137655204, i = 137655204, v = 0x83473a4,
cv = 0x83473a4}, bfun=0x8097978 <command_loop_1>, barg={gu = {
type = Lisp_Type_Record, val = 34413773}, s = {bits = 0,
val = 68827546}, u = {bits = 0, val = 68827546}, ui = 137655092,
i = 137655092, v = 0x8347334, cv = 0x8347334},
hfun=0x8097df4 <cmd_error>, harg={gu = {type = Lisp_Type_Record,
val = 34413773}, s = {bits = 0, val = 68827546}, u = {bits = 0,
val = 68827546}, ui = 137655092, i = 137655092, v = 0x8347334,
cv = 0x8347334}) at /proj/ave/xemacs/xemacs-21.0-b44/src/eval.c:1653
#11 0x8097f11 in command_loop_2 (dummy={gu = {type = Lisp_Type_Record,
val = 34413773}, s = {bits = 0, val = 68827546}, u = {bits = 0,
val = 68827546}, ui = 137655092, i = 137655092, v = 0x8347334,
cv = 0x8347334}) at /proj/ave/xemacs/xemacs-21.0-b44/src/cmdloop.c:256
#12 0x80b7a07 in internal_catch (tag={gu = {type = Lisp_Type_Record,
val = 34432373}, s = {bits = 0, val = 68864746}, u = {bits = 0,
val = 68864746}, ui = 137729492, i = 137729492, v = 0x83595d4,
cv = 0x83595d4}, func=0x8097ed4 <command_loop_2>, arg={gu = {
type = Lisp_Type_Record, val = 34413773}, s = {bits = 0,
val = 68827546}, u = {bits = 0, val = 68827546}, ui = 137655092,
i = 137655092, v = 0x8347334, cv = 0x8347334}, threw=0x0)
at /proj/ave/xemacs/xemacs-21.0-b44/src/eval.c:1328
#13 0x809720b in initial_command_loop (load_me={gu = {type = Lisp_Type_Record,
val = 34413773}, s = {bits = 0, val = 68827546}, u = {bits = 0,
val = 68827546}, ui = 137655092, i = 137655092, v = 0x8347334,
cv = 0x8347334}) at /proj/ave/xemacs/xemacs-21.0-b44/src/cmdloop.c:305
#14 0x80b3396 in xemacs_21_0_i686_pc_linux (argc=2, argv=0xbffff420,
envp=0xbffff42c, restart=0)
at /proj/ave/xemacs/xemacs-21.0-b44/src/emacs.c:1702
#15 0x80b3ac9 in main (argc=2, argv=0xbffff420, envp=0xbffff42c)
at /proj/ave/xemacs/xemacs-21.0-b44/src/emacs.c:2119
uname -a: Linux chaos.lce.hut.fi 2.0.32 #1 Thu Apr 16 11:25:50 EDT 1998 i686 unknown
../../xemacs-21.0-b44/configure '--prefix=/proj/ave/xemacs' '--debug=yes'
'--error-checking=all' '--gung-ho' '--use-union-type'
'--srcdir=../../xemacs-21.0-b44'
XEmacs 21.0 "Swedish Landrace" configured for `i686-pc-linux'.
Where should the build process find the source code?
/proj/ave/xemacs/xemacs-21.0-b44
What installation prefix should install use? /proj/ave/xemacs
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for X-Face message headers.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for OffiX.
Compiling in EXPERIMENTAL support for Drag'n'Drop ( OffiX ).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using the union type for Lisp_Objects.
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
uname -a: Linux calypso.lce.hut.fi 2.0.30 #1 Tue Nov 11 22:53:37 EST 1997 alpha unknown
../../xemacs-21.0-b44/configure '--cflags=-O4 -fomit-frame-pointer
-funroll-loops' '--gung-ho' '--prefix=/proj/ave/xemacs'
'--debug=no' '--error-checking=none' '--use-union-type'
'--srcdir=../../xemacs-21.0-b44'
XEmacs 21.0 "Swedish Landrace" configured for `alpha-unknown-linux'.
Where should the build process find the source code?
/proj/ave/xemacs/xemacs-21.0-b44
What installation prefix should install use? /proj/ave/xemacs
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/alpha.h'
What compiler should XEmacs be built with? gcc -O4 -fomit-frame-pointer
-funroll-loops
Should XEmacs use the GNU version of malloc? no
(The GNU allocators don't work with this system configuration).
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for X-Face message headers.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for OffiX.
Compiling in EXPERIMENTAL support for Drag'n'Drop ( OffiX ).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using the union type for Lisp_Objects.
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.