================================================================
Dear Bug Team!
I run 21.1.12 at work, not by choice. This is what our admins have set
up here and I think this is from some old FreeBSD package. But I use a
personal copy of all packages, so that I can atleast keep packages up
to date. Recently I upated Dired, to package version 1.14. With this
upgrade, M-x dired no longer works with 21.1.12. At home I run 21.5.x
and everything is cool there. There seems to be some sort of backward
compatibility problem.
When I run M-x dired (or C-x d) and enter the directory, I get the
following error and dired just stops. No directory, nothing.
Wrong number of arguments: #<compiled-function (&optional buffer-or-string from to
flags) "...(11)" [mapcar-extents identity nil buffer-or-string from to flags] 7
664556>, 5
After edebug-ing around for sometime (which was another weird
experience; fascinating debugger), I finally found that
dired-xemacs.el uses extent-list with 5 arguments, in
dired-set-text-properties, dired-maybe-filename-start and
dired-maybe-filename-end but extent-list in 21.1.12 takes only 4
arguments. It looks like newer versions of XEmacs have extent-list
taking 6 arguments:
,----[ extent-list ]
| `extent-list' is a Lisp function
| -- loaded from "/home/kaarthik/.xemacs/init.el"
| (extent-list &optional BUFFER-OR-STRING FROM TO FLAGS PROPERTY VALUE)
|
| Documentation:
| Return a list of the extents in BUFFER-OR-STRING.
| [...]
`----
So I got extent-list and mapcar-extents (extent-list depends on this
and this is also different) from the beta at home and put them into my
init.el and now everything is cool again.
I am filing this bug in the assumption that packages are meant to be
backward compatible, but if that assumption is not valid or if 21.1.12
is not a supported version anymore, then send this bug to /dev/null
and I wouldnt mind. I have been asking my sysadmins to upgrade XEmacs
for months now but given the slim chance of that actually happening,
is there any reason I shouldnt be using extent-list and mapcar-extents
from the beta like I am doing now?
Thanks
kaarthik
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: FreeBSD
gohan10.FreeBSD.org 4.2-BETA FreeBSD 4.2-BETA #0: Sat Nov 11 23:51:14
GMT 2000 root@bento.FreeBSD.org:/usr/src/sys/compile/CLUSTER i386
./configure '--with-clash-detection' '--lockdir=/var/run/emacs/lock'
'--with-sound=native' '--with-session=yes'
'--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib'
'--with-png=yes' '--with-tiff=yes' '--with-site-lisp'
'--with-database=berkdb' '--with-xface=no' '--with-offix=no'
'--prefix=/usr/local' 'i386--freebsd'
XEmacs 21.1.12 "Channel Islands" configured for `i386--freebsd'.
Where should the build process find the source code?
/tmp/a/ports/editors/xemacs21/work/xemacs-21.1.12
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/freebsd.h' and `m/intel386.h'
What compiler should XEmacs be built with? cc -O -pipe
Should XEmacs use the GNU version of malloc? yes
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
Additional header files: /usr/local/include
Additional libraries: /usr/local/lib
Runtime library search path:
/usr/local/lib:/usr/X11R6/lib:/usr/libexec
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
Clash detection will use "/var/run/emacs/lock" for locking files.
movemail will use "flock" for locking mail spool files.
Load-Path Lisp Shadows:
----------------------
(/home/kaarthik/.xemacs/elisp/align
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/edit-utils/align
/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-print
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-mule
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/ps-print/ps-mule
/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-bdf
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/ps-print/ps-bdf
/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-print
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/ps-print-nomule/ps-print
/home/kaarthik/.xemacs/elisp/cparse/sformat
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/semantic/sformat
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/xemacs-base/xpm-button
/usr/local/lib/xemacs-21.1.12/lisp/xpm-button
/usr/mylocal/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/local/lib/xemacs-21.1.12/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.08 :type regular)
(xemacs-devel :version 1.58 :type single-file)
(xemacs-base :version 1.81 :type regular)
(x-symbol :version 1.05 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.17 :type regular)
(viper :version 1.36 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.17 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :type regular)
(tpu :version 1.13 :type regular)
(tooltalk :version 1.14 :type regular)
(tm :version 1.36 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.66 :type single-file)
(texinfo :version 1.24 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.09 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.11 :type regular)
(sounds-au :version 1.11 :type regular)
(sml-mode :version 0.09 :type regular)
(slider :version 1.14 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.09 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.32 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.41 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.89
:type
single-file)
(pgg :version 1.03 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.32 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.17 :type single-file)
(mine :version 1.15 :type regular)
(mh-e :version 1.25 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.62 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.11 :type regular)
(idlwave :version 1.3 :type regular)
(ibuffer :version 1.08 :type regular)
(hyperbole :version 1.12 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.71 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.14 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.1 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.38 :type regular)
(eterm :version 1.14 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.1 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.31 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 2.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.19 :type regular)
(ecrypto :version 0.13 :type regular)
(ecb :version 1.12 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.14 :type regular)
(dictionary :version 1.12 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.13 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.06 :type regular)
(cc-mode :version 1.4 :type regular)
(calendar :version 1.21 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.17 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.23 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular))
Features:
--------
(xemacsbug shadow ssh supercite regi dabbrev hyper-apropos cvs-log
pcl-cvs diff-mode pcl-cvs-parse pcl-cvs-info pcl-cvs-defs pcl-cvs-util
cvs-compat cookie dll elib-node ibuf-ext ibuffer flyspell ispell
records records-search records-util records-dindex records-index
records-vars hide-copyleft cc-mode cc-fonts cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs cc-fix regexp-opt dired-faces
dired-xemacs dired time-stamp flow-fill gnus-uu bbdb-gui bbdb-hooks
sort gnus-cite smiley annotations gnus-async gnus-bcklg gnus-dup
gnus-ml disp-table eldoc gnus-topic pop3 env byte-optimize bytecomp
byte-compile nndraft nnmh efs-cu bbdb-gnus bbdb-snarf gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu
mml2015 pgg pgg-parse pgg-def mm-view gnus-sum gnus-group gnus-undo
nntp nnoo nnmail mail-source format-spec gnus-cache gnus-start
gnus-spec gnus-int gnus-range message mml mml-sec mml-smime smime dig
mm-decode mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231
rfc2047 base64 qp ietf-drums mailheader canlock gnus-win gnus gnus-ems
gnus-xmas messagexmas nnheader nnheaderxm gnus-util netrc time-date
parse-time mail-utils mm-util mail-prsvr wid-edit desktop compile
browse-kill-ring infobook info twiddle find-func eval-expr ffap
facemenu vc-hooks ishl filladapt pending-del crypt crypt++ footnote
term ehelp electric bufcomp light folding-isearch folding overlay
power-macros edmacro type-break advice advice-preload uniquify
savehist reportmail mail-extr redo recent-files mic-paren timer
func-menu detached-minibuf backup-dir gdb debug-toolbar shell comint
ring cal-desk-calendar lunar solar cal-dst cal-persia cal-julian
diary-lib calendar xcscope ctypes xemacs-font-lock-fix bbdb-w3
browse-url bbdb-com mail-abbrevs sendmail rfc822 bbdb timezone
tex-toolbar tex-site gnuserv font-lock cus-face blink-cursor
rsz-minibuf icomplete balloon-help paren blink-paren zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-nomule-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 mmm-mode-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-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
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads crisp-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 Standard-autoloads
loadhist auto-show fontl-hooks x-iso8859-1 menubar-items x-menubar
mouse mode-motion itimer auto-save lisp-mode easymenu iso8859-1 page
buff-menu lib-complete help-nomule derived frame text-props cus-start
custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp lucid-scrollbars cut-buffer lucid-menubars
athena-dialogs x tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses menubar
berkeley-db md5 xemacs tiff png gif jpeg xpm lisp-float-type
berkeley-unix dialog devices window-system c-balloon-help)
Recent keystrokes:
-----------------
C-e M-b M-b M-f C-f C-f | P BS p BS [ p P ] h a r m
a c y \ \ C-a C-x C-x C-s C-u C-SPC C-x C-s C-n C-n
C-n C-n C-n C-n C-n C-e C-x C-e C-a M-v M-v C-/ B q
C-TAB C-TAB d y C-TAB E q g p SPC q s q y M-x e p o
r BS BS BS BS r e p o r t - 0 e BS BS e m a c s - b
u TAB TAB M-b M-b C-k TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
(No changes need to be saved)
Are you sure you want to quit reading news? (y or n) Yes
Are you sure you want to quit reading news? (y or n)
Saving /home/kaarthik/.newsrc-news.eld...done
Wrote /home/kaarthik/.newsrc-news.eld
Saving /home/kaarthik/.newsrc-news.eld...
Wrote /home/kaarthik/.newsrc-news
Wrote /home/kaarthik/.xemacs/bbdb-data
Your contact with the exterior world is gone
Updating of BBDB records finished
Fetching headers for nnmh:Ericsson.CVS...done
Fetching headers for nnmh:Ericsson.CVS...
Opening nnmh server...done
Opening nnmh server...
Retrieving newsgroup: nnmh:Ericsson.CVS...
Opening nntp server on news.torrentnet.com...done
Opening nntp server on news.torrentnet.com...