--text follows this line--
================================================================
Dear Bug Team!
I have a simple file containing the following variable and function:
(defvar jd-bug-xemacs-01-alist '(("-" . "01")))
(defun jd-bug-xemacs-01 (file)
(mapc
(lambda (assoc)
(setq file (concat file (car assoc) (cdr assoc))))
jd-bug-xemacs-01-alist)
file)
When I byte-compile/load this file, I get the following:
ELISP> (jd-bug-xemacs-01 "foo")
*** Eval error *** Symbol's value as variable is void: old-assoc
ELISP> (symbol-function 'jd-bug-xemacs-01)
#<compiled-function
(file)
"...(7)" [file jd-bug-xemacs-01-alist mapc #<compiled-function
(assoc)
"...(9)" [old-assoc file] 3>] 3>
If I rename the local variable "assoc" into "ass", it works ok!
I hope you can reproduce the bug and solve it.
)jack(
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT
XEmacs 21.4.21 "Educational Television" configured for `i586-pc-win32'.
Building XEmacs in "c:\\XEmacsBuild\\xemacs-21.4-2007-10-07\\nt".
Using compiler "cl -nologo -W3 -O2 -G5 -MD".
Installing XEmacs in "c:/XEmacsBuild/installed/2007-10-07/XEmacs-21.4.21".
Compiling in support for Microsoft Windows native GUI.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Compiling in fast dired implementation.
Using portable dumper.
Using system malloc.
Using DLL version of C runtime library
Load-Path Lisp Shadows:
----------------------
(e:\VTGK1446\.xemacs\init P:\SIRES_PROJETS\Test Diagnostic Reseau de
Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\init e:\VTGK1446\.xemacs\fsf-init
P:\SIRES_PROJETS\Test Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\fsf-init
e:\VTGK1446\.xemacs\fsf-init-compile P:\SIRES_PROJETS\Test Diagnostic
Reseau de Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\fsf-init-compile
e:\VTGK1446\.xemacs\custom P:\SIRES_PROJETS\Test Diagnostic Reseau de
Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\custom
e:\VTGK1446\.xemacs\WORK\MISC\pre-stuff p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\pre-stuff
e:\VTGK1446\.xemacs\WORK\MISC\post-stuff p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\post-stuff
e:\VTGK1446\.xemacs\WORK\MISC\jd-tools p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-tools
e:\VTGK1446\.xemacs\WORK\MISC\jd-test p:\SIRES_PROJETS\Test Diagnostic
Reseau de Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-test
e:\VTGK1446\.xemacs\WORK\MISC\jd-string p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-string
e:\VTGK1446\.xemacs\WORK\MISC\jd-SNCF-functions p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-SNCF-functions
e:\VTGK1446\.xemacs\WORK\MISC\jd-rectangle p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-rectangle
e:\VTGK1446\.xemacs\WORK\MISC\jd-percent p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-percent
e:\VTGK1446\.xemacs\WORK\MISC\jd-percent-080424A p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-percent-080424A
e:\VTGK1446\.xemacs\WORK\MISC\jd-named-object p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-named-object
e:\VTGK1446\.xemacs\WORK\MISC\jd-hooks p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-hooks
e:\VTGK1446\.xemacs\WORK\MISC\jd-dl-mode p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-dl-mode
e:\VTGK1446\.xemacs\WORK\MISC\jd-emacs p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-emacs
e:\VTGK1446\.xemacs\WORK\MISC\jd-backup p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-backup
e:\VTGK1446\.xemacs\WORK\MISC\jd-emacs-21 p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-emacs-21
e:\VTGK1446\.xemacs\WORK\MISC\jd-all p:\SIRES_PROJETS\Test Diagnostic
Reseau de Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-all
e:\VTGK1446\.xemacs\WORK\MISC\jd-replace p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-replace
e:\VTGK1446\.xemacs\WORK\MISC\jd-functions p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-functions
e:\VTGK1446\.xemacs\WORK\MISC\generic-jd p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\generic-jd
e:\VTGK1446\.xemacs\WORK\MISC\Emacs-SYNC p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\Emacs-SYNC
p:\SIRES_PROJETS\Test Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\RTF\rtf-support
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\text-modes\rtf-support
e:\VTGK1446\.xemacs\custom
e:\VTGK1446\OUTILS\XEmacs\XEmacs-21.4.21\lisp\custom
p:\SIRES_PROJETS\Test Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\generic-mode
e:\VTGK1446\.xemacs\FROM-WEB\generic-mode p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\generic-extras
e:\VTGK1446\.xemacs\FROM-WEB\generic-extras p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\emacs-vers
e:\VTGK1446\.xemacs\FROM-WEB\emacs-vers p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\backup
e:\VTGK1446\.xemacs\FROM-WEB\backup
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\text-modes\iso-insert
e:\VTGK1446\.xemacs\FROM-GNUEMACS\iso-insert
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-base\imenu
e:\VTGK1446\.xemacs\FROM-GNUEMACS\imenu
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-devel\ielm
e:\VTGK1446\.xemacs\FROM-GNUEMACS\ielm
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-devel\find-func
e:\VTGK1446\.xemacs\FROM-GNUEMACS\find-func
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-base\ffap
e:\VTGK1446\.xemacs\FROM-GNUEMACS\ffap
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\cc-mode\cc-mode
e:\VTGK1446\.xemacs\FROM-GNUEMACS\cc-mode)
Internationalization Settings:
-------------------------
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.76 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.11 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.34 upstream: 4.0pre47)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.22 upstream: 2.0f)
(semantic ver: 1.2 upstream: 1.4.4)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.09 upstream: No-Upstream-Ver)
(psgml ver: 1.45 upstream: 1.3.2)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.14 upstream: No-Upstream-Ver)
(perl-modes ver: 1.1 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.67 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(net-utils ver: 1.53 upstream: N/A)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(igrep ver: 1.15 upstream: 2.111)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(eshell ver: 1.12 upstream: 2.4.1)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edit-utils ver: 2.38 upstream: No-Upstream-Ver)
(ediff ver: 1.71 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecb ver: 1.22 upstream: 2.31)
(dired ver: 1.17 upstream: 7.13)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 ielm pp comint-patch-jd
comint ring byte-optimize bytecomp byte-compile dired-faces
dired-xemacs dired imenu debug view-less view psgml-dtd tempo
psgml-parse psgml-api psgml-ids psgml-xemacs psgml-sysdep psgml-edit
sgml-mode psgml efs-cu timer-funcs lazy-shot paren blink-paren
jd-emacs jd-emacs-21 jd-all rtf-support jd-dl-mode uniquify iso-insert
rsz-minibuf jd-hooks time-stamp eldoc timer jd-functions ffap
jd-backup jd-replace jd-string advice advice-preload emacs-vers
font-lock cus-face pending-del xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads time-autoloads
text-modes-autoloads texinfo-autoloads speedbar-autoloads
sounds-wav-autoloads sh-script-autoloads semantic-autoloads
re-builder-autoloads python-modes-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
igrep-autoloads fsf-compat-autoloads eshell-autoloads elib-autoloads
eieio-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecb-autoloads dired-autoloads debug-autoloads
cc-mode-autoloads c-support-autoloads lisp-autoloads loadhist
auto-show fontl-hooks code-cmds gutter-items menubar-items x-menubar
dragdrop mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete help-nomule cus-file derived
frame text-props obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages backquote very-early-lisp file-coding
mswindows-scrollbars mswindows toolbar native-sound scrollbar
network-streams subprocesses menu-accelerator-support menubar md5
xemacs gutter tiff png gif jpeg xpm xbm lisp-float-type windows-nt
dragdrop-api dialog devices window-system base64)
Recent keystrokes:
-----------------
button1 button1up button2 button2up ) RET button1 button1up
C-x b RET button1 button1up C-x C-e C-x b RET button1
button1up BS BS BS ' ( ( " - " SPC . SPC " 0 1 " )
) ) C-x C-e C-a M-f C-M-f C-x C-e C-n button1 button1up
M-p M-p RET button1 button1up C-x C-s q C-x b RET button1
button1up M-% M-p M-p RET M-p M-p RET SPC SPC SPC C-x
C-s button1 button1up M-< M-% M-p M-p RET M-p M-p RET
SPC n SPC SPC C-x C-s misc-user C-x 5 2 button1 button1up
button1 button1up misc-user misc-user
Recent messages (most recent first):
-----------------------------------
Loading mail-abbrevs...done
Loading mail-abbrevs...done
Loading mail-abbrevs...
Loading mail-abbrevs...
Requiring mail-abbrevs...
Loading xemacsbug...done
Loading xemacsbug...done
Loading xemacsbug...done
Requiring shadow...done
Loading shadow...done
Loading shadow...
Requiring shadow...
Requiring sendmail...done
Loading sendmail...done
Requiring rfc822...done
Loading rfc822...done
Loading rfc822...
Requiring rfc822...
Loading sendmail...
Requiring sendmail...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta