================================================================
Dear Bug Team!
Loading with xemacs -vanilla, some straaaaange stuff happens
when doing searches. I believe the behavior is also found in
21.5.11. The best way to describe it is with a script:
1) Load the following into a buffer called junk:
---start
# =======================================================================
# $Source$
# $Revision$
# $Date$
# $Author$
# $Name$ - the cvs tag, if any
# $State$
# $Locker$
# =======================================================================
/* ----------------- amb_foooo_foooo_rtgsonly ----------------- */
delete_job: amb_foooo_foooo_rtgsonly
insert_job: amb_foooo_foooo_rtgsonly job_type: b
permission: gx,mx,me
# =======================================================================
# $Source$
# $Revision$
# $Date$
# $Author$
# $Name$ - the cvs tag, if any
# $State$
# $Locker$
# =======================================================================
/* ----------------- amc_foooo_foooo_rtgsonly_req ----------------- */
delete_job: amc_foooo_foooo_rtgsonly_req
insert_job: amc_foooo_foooo_rtgsonly_req job_type: c
box_name: amb_foooo_foooo_rtgsonly
command: /fo/ffooo/foo/fooooooooooooooooooooooo --univ_rule
'universe_bloom_rtgsonly'
---end
2) Make sure the window is narrow enough to cause wrap-around. 72
columns wide should do it, which is the width of the equal signs in
the cvs headers.
3) CTLR-s (for Isearch) rtgs. Finds first one.
4) CTRL-s. Finds next one.
5) Hit a left cursor key. Cursor jumps one back.
6) Keep searching until you get to a rtgs that is beyond the arrow.
7) Hit a left cursor key. Cursor jumps one back.
8) Go to top of buffer.
9) switch to *scratch* buffer
10) Type in (custom-set-variables '(truncate-lines t))
11) With cursor at end of line, evaluate by CTRL-x CTRL-E
12) Switch back to buffer junk. The wrap-around should now be
truncated with straight arrows.
13) Repeat 3,4,5,6
14) When you repeat 7, the cursor jumps back to the starting point
of the search NOT the previous character.
15) Split the window in two. Set one window to *scratch* the other to junk
16) Get into the junk window.
17) Go to top of buffer.
13) Repeat 3,4,5,6
14) When you repeat 7, the cursor moves one character back, but you get the following in
*Warnings*
(2) (command/warning) Error in `pre-command-hook' (resetting to nil): (invalid-change
(Deletion of this object not currently permitted #<window on
"amb_midss_bloom_rtnsonly.jil" 0x14f1>))
Backtrace follows:
# bind (inhibit-quit)
delete-window(#<window on "amb_midss_bloom_rtnsonly.jil" 0x14f1>)
# bind (next window window)
window-reduce-to-one(#<window on "*Warnings*" 0xa7a>)
# bind (combination-start root-window frame)
frame-reduce-to-one-window(#<mswindows-frame "emacs" 0xa79>)
# bind (configuration frame)
really-set-window-configuration(#<mswindows-frame "emacs" 0xa79>
[cl-struct-window-configuration #<mswindows-frame "emacs" 0xa79> 534 754
#<buffer "amb_midss_bloom_rtnsonly.jil"> 14 0 0 [cl-struct-saved-window
nil nil nil nil nil nil nil 0 0 534 685 0 0 nil nil [cl-struct-saved-window nil nil t
#<buffer "*Warnings*"> #<marker in no buffer 0x23b0594> #<marker
at 1 in *Warnings* 0x23b0564> #<marker at 1 in *Warnings* 0x23b057c> 0 0 534 342
0 0 nil nil nil [cl-struct-saved-window t nil nil #<buffer
"amb_midss_bloom_rtnsonly.jil"> #<marker at 1158 in
amb_midss_bloom_rtnsonly.jil 0x23b054c> #<marker at 586 in
amb_midss_bloom_rtnsonly.jil 0x23b051c> #<marker at 997 in
amb_midss_bloom_rtnsonly.jil 0x23b0534> 0 342 534 685 0 0 nil nil nil nil]]
[cl-struct-saved-window nil t nil #<buffer " *Minibuf-0*"> #<marker at
1 in *Minibuf-0* 0x23b05dc> #<marker at 1 in *Minibuf-0* 0x23b05ac> #<marker
at 1 in *Minibuf-0* 0x23b05c4> 0 685 534 699 0 0 nil nil nil nil]]])
# bind (frame configuration)
set-window-configuration([cl-struct-window-configuration #<mswindows-frame
"emacs" 0xa79> 534 754 #<buffer
"amb_midss_bloom_rtnsonly.jil"> 14 0 0 [cl-struct-saved-window nil nil nil
nil nil nil nil 0 0 534 685 0 0 nil nil [cl-struct-saved-window nil nil t #<buffer
"*Warnings*"> #<marker in no buffer 0x23b0594> #<marker at 1 in
*Warnings* 0x23b0564> #<marker at 1 in *Warnings* 0x23b057c> 0 0 534 342 0 0 nil
nil nil [cl-struct-saved-window t nil nil #<buffer
"amb_midss_bloom_rtnsonly.jil"> #<marker at 1158 in
amb_midss_bloom_rtnsonly.jil 0x23b054c> #<marker at 586 in
amb_midss_bloom_rtnsonly.jil 0x23b051c> #<marker at 997 in
amb_midss_bloom_rtnsonly.jil 0x23b0534> 0 342 534 685 0 0 nil nil nil nil]]
[cl-struct-saved-window nil t nil #<buffer " *Minibuf-0*"> #<marker at
1 in *Minibuf-0* 0x23b05dc> #<marker at 1 in *Minibuf-0* 0x23b05ac> #<marker
at 1 in *Minibuf-0* 0x23b05c4> 0 685 534 699 0 0 nil nil nil nil]]])
# bind (found-start found-point inhibit-quit edit nopush)
isearch-done()
isearch-pre-command-hook()
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x157f458> ...)
# (unwind-protect ...)
# (unwind-protect ...)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT
XEmacs 21.5-b12 "carrot" configured for `i586-pc-win32'.
Building XEmacs using "NMAKE".
Building XEmacs using make flags " ".
Building XEmacs in source tree "D:\\src\\xemacs\\xemacs-21.5.12".
For src, using compiler "cl -nologo -W3 -DSTRICT -Zi -Od -MDd -c -TP
-I"D:\src\xemacs\auxil\xpm-3.4k" -I"D:\src\xemacs\auxil\xpm-3.4k\lib"
-I"D:\src\xemacs\auxil\libpng-1.0.6"
-I"D:\src\xemacs\auxil\zlib-1.1.3" -I"D:\src\xemacs\auxil\jpeg-6b"
-I"D:\src\xemacs\auxil\zlib-1.1.3" -ID:\src\xemacs\xemacs-21.5.12\nt\inc
-ID:\src\xemacs\xemacs-21.5.12\src -DHAVE_MS_WINDOWS -DHAVE_XPM -DFOR_MSW -DHAVE_GIF
-DHAVE_PNG -DHAVE_JPEG -DHAVE_ZLIB -DHAVE_MENUBARS -DHAVE_SCROLLBARS -DHAVE_TOOLBARS
-DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_NATIVE_SOUND -DPDUMP -DSYSTEM_MALLOC
-DERROR_CHECK_ALL -DDEBUG_XEMACS -D_DEBUG -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs
-DHAVE_CONFIG_H -DPATH_VERSION=\"21.5-b12\"
-DPATH_PROGNAME=\"xemacs\" -DEMACS_VERSION=\"21.5-b12\"
-DEMACS_PROGNAME=\"xemacs\"
-DSTACK_TRACE_EYE_CATCHER=xemacs_21_5_b12_i586_pc_win32 -DPATH_PREFIX=\"..\"
-DEMACS_MAJOR_VERSION=21 -DEMACS_MINOR_VERSION=5 -DEMACS_BETA_VERSION=12
-DXEMACS_CODENAME=\""carrot"\" -DEMACS!
_CONFIGURATION=\"i586-pc-win32\"
-DPATH_PACKAGEPATH=\""~\\.xemacs;;c:\\opt\\XEmacs\\site-packages;c:\\opt\\XEmacs\\xemacs-packages"\"".
For lib-src, using compiler "cl -nologo -W3 -DSTRICT -Zi -Od -MDd
-ID:\src\xemacs\xemacs-21.5.12\lib-src -ID:\src\xemacs\xemacs-21.5.12\src -DHAVE_CONFIG_H
-DWIN32_NATIVE".
Compiling as C++.
Installing XEmacs in "c:\\opt\\XEmacs\\XEmacs-21.5-b12".
Package path is
"~\\.xemacs;;c:\\opt\\XEmacs\\site-packages;c:\\opt\\XEmacs\\xemacs-packages".
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 JPEG images.
Compiling in support for GZIP compression/decompression.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Using portable dumper.
Using system malloc.
Using DLL version of C runtime library.
Compiling in extra internal error-checking.
NOTE: ---------------------------------------------------------
NOTE: Compiling in support for runtime error-checking.
NOTE: XEmacs will run noticeably more slowly as a result.
NOTE: Error-checking is on by default for XEmacs beta releases.
NOTE: ---------------------------------------------------------
Compiling in debugging support (no slowdown).
Load-Path Lisp Shadows:
----------------------
(c:\opt\XEmacs\xemacs-packages\lisp\build\build-report
c:\opt\XEmacs\XEmacs-21.5-b12\lisp\build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.06 :type regular)
(xemacs-devel :version 1.52 :type single-file)
(xemacs-base :version 1.75 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.14 :type regular)
(viper :version 1.35 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.16 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.12 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.35 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.6 :type single-file)
(texinfo :version 1.23 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.09 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.13 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.12 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.4 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.72
:type
single-file)
(pgg :version 1.02 :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.3 :type single-file)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.31 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.16 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.19 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.57 :type regular)
(liece :version 1.11 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.31 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.28 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.2 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.68 :type regular)
(gnats :version 1.15 :type regular)
(general-docs :version 1.0 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :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.37 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.03 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 2.0 :type single-file)
(ediff :version 1.46 :type regular)
(edebug :version 1.17 :type regular)
(ecrypto :version 0.12 :type regular)
(ecb :version 1.06 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.06 :type regular)
(cc-mode :version 1.33 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-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 sieve-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-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-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
general-docs-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads ess-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
auto-autoloads loadhist rsz-minibuf auto-show fontl-hooks code-cmds
gutter-items menubar-items x-menubar dragdrop mode-motion mouse
behavior itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete cus-file derived newcomment env text-props frame obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
unicode mswindows-scrollbars mswindows toolbar native-sound scrollbar
network-streams subprocesses menu-accelerator-support menubar md5
xemacs gutter png gif jpeg xpm xbm lisp-float-type file-coding dde
windows-nt dragdrop-api dialog devices window-system base64)
Recent keystrokes:
-----------------
C-s left up C-s C-s C-s C-s C-s C-s C-s down right
right right down down down down down down down down
down down down down down down down SPC BS C-s C-s C-s
left down up down up C-s C-s C-s left button1 button1up
C-x 2 C-x b RET C-x n C-g C-g C-x o C-home C-home C-s
C-s C-s C-s C-s C-s C-s C-s C-s left button1 button1up
button1 button1up C-s C-s C-s left misc-user button1
button1up C-x k RET C-x n C-g C-g C-x o C-home C-s
C-s C-s C-s C-s C-s C-s C-s C-s left misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Warning: Error in `pre-command-hook' (resetting to nil): (invalid-change (Deletion of
this object not currently permitted #<window on "junk" 0x102a>))
Backtrace follows:
# bind (inhibit-quit)
delete-window(#<window on "junk" 0x102a>)
# bind (next window window)
window-reduce-to-one(#<window on "*scratch*" 0xa7a>)
# bind (combination-start root-window frame)
frame-reduce-to-one-window(#<mswindows-frame "emacs" 0xa79>)
# bind (configuration frame)
really-set-window-configuration(#<mswindows-frame "emacs" 0xa79>
[cl-struct-window-configuration #<mswindows-frame "emacs" 0xa79> 541 754
#<buffer "junk"> 14 0 0 [cl-struct-saved-window nil nil nil nil nil nil
nil 0 0 541 685 0 0 nil nil [cl-struct-saved-window nil nil t #<buffer
"*scratch*"> #<marker at 395 in *scratch* 0x23df294> #<marker at 1
in *scratch* 0x23df264> #<marker at 437 in *scratch* 0x23df27c> 0 0 541 342 0 0
nil nil nil [cl-struct-saved-window t nil nil #<buffer "junk"> #<marker
at 953 in junk 0x23df24c> #<marker at 1 in junk 0x23df21c> #<marker at 1 in
junk 0x23df234> 0 342 541 685 0 0 nil nil nil nil]] [cl-struct-saved-window nil t nil
#<buffer " *Minibuf-0*"> #<marker in no buffer 0x23df2dc>
#<marker at 1 in *Minibuf-0* 0x23df2ac> #<marker at 1 in *Minibuf-0*
0x23df2c4> 0 685 541 699 0 0 nil nil nil nil]]])
# bind (frame configuration)
set-window-configuration([cl-struct-window-configuration #<mswindows-frame
"emacs" 0xa79> 541 754 #<buffer "junk"> 14 0 0
[cl-struct-saved-window nil nil nil nil nil nil nil 0 0 541 685 0 0 nil nil
[cl-struct-saved-window nil nil t #<buffer "*scratch*"> #<marker at 395
in *scratch* 0x23df294> #<marker at 1 in *scratch* 0x23df264> #<marker at 437
in *scratch* 0x23df27c> 0 0 541 342 0 0 nil nil nil [cl-struct-saved-window t nil nil
#<buffer "junk"> #<marker at 953 in junk 0x23df24c> #<marker at 1
in junk 0x23df21c> #<marker at 1 in junk 0x23df234> 0 342 541 685 0 0 nil nil nil
nil]] [cl-struct-saved-window nil t nil #<buffer " *Minibuf-0*">
#<marker in no buffer 0x23df2dc> #<marker at 1 in *Minibuf-0* 0x23df2ac>
#<marker at 1 in *Minibuf-0* 0x23df2c4> 0 685 541 699 0 0 nil nil nil nil]]])
# bind (found-start found-point inhibit-quit edit nopush)
isearch-done()
isearch-pre-command-hook()
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x157f458> ...)
# (unwind-protect ...)
# (unwind-protect ...)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
Quit
C-x n C-g not defined.
Warning: Error in `pre-command-hook' (resetting to nil): (invalid-change (Deletion of
this object not currently permitted #<window on "junk" 0xec6>))
Backtrace follows:
# bind (inhibit-quit)
delete-window(#<window on "junk" 0xec6>)
# bind (next window window)
window-reduce-to-one(#<window on "*scratch*" 0xa7a>)
# bind (combination-start root-window frame)
frame-reduce-to-one-window(#<mswindows-frame "emacs" 0xa79>)
# bind (configuration frame)
really-set-window-configuration(#<mswindows-frame "emacs" 0xa79>
[cl-struct-window-configuration #<mswindows-frame "emacs" 0xa79> 541 754
#<buffer "junk"> 14 10 4 [cl-struct-saved-window nil nil nil nil nil nil
nil 0 0 541 685 0 0 nil nil [cl-struct-saved-window nil nil nil #<buffer
"*scratch*"> #<marker at 395 in *scratch* 0x236897c> #<marker at 1
in *scratch* 0x23d3d44> #<marker at 437 in *scratch* 0x23d3d5c> 0 0 541 342 0 0
nil nil nil [cl-struct-saved-window t nil nil #<buffer "junk"> #<marker
at 1 in junk 0x23d3d2c> #<marker at 1 in junk 0x23d3cfc> #<marker at 1 in junk
0x23d3d14> 0 342 541 685 0 0 nil nil nil nil]] [cl-struct-saved-window nil t nil
#<buffer " *Minibuf-0*"> #<marker in no buffer 0x23689c4>
#<marker at 1 in *Minibuf-0* 0x2368994> #<marker at 1 in *Minibuf-0*
0x23689ac> 0 685 541 699 0 0 nil nil nil nil]]])
# bind (frame configuration)
set-window-configuration([cl-struct-window-configuration #<mswindows-frame
"emacs" 0xa79> 541 754 #<buffer "junk"> 14 10 4
[cl-struct-saved-window nil nil nil nil nil nil nil 0 0 541 685 0 0 nil nil
[cl-struct-saved-window nil nil nil #<buffer "*scratch*"> #<marker at
395 in *scratch* 0x236897c> #<marker at 1 in *scratch* 0x23d3d44> #<marker at
437 in *scratch* 0x23d3d5c> 0 0 541 342 0 0 nil nil nil [cl-struct-saved-window t nil
nil #<buffer "junk"> #<marker at 1 in junk 0x23d3d2c> #<marker at
1 in junk 0x23d3cfc> #<marker at 1 in junk 0x23d3d14> 0 342 541 685 0 0 nil nil
nil nil]] [cl-struct-saved-window nil t nil #<buffer " *Minibuf-0*">
#<marker in no buffer 0x23689c4> #<marker at 1 in *Minibuf-0* 0x2368994>
#<marker at 1 in *Minibuf-0* 0x23689ac> 0 685 541 699 0 0 nil nil nil nil]]])
# bind (found-start found-point inhibit-quit edit nopush)
isearch-done()
isearch-pre-command-hook()
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x157f458> ...)
# (unwind-protect ...)
# (unwind-protect ...)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
Quit
C-x n C-g not defined.
Quit
Quit
nil