Sorry I have no patch but for the record, here's the bug. Consider three states of searching ...
0) unknown message = I-search: 1) winning message = I-search: 2) losing message = Failing I-search: ... alas, unknown sometimes displays a losing message. This is usually invisible because the message rarely appears long enough to see except in huge buffers: Type See ==== === ^X ^R /usr/local/bin/emacs Find file read-only: /usr/local/bin/emacs <-- or any enormous file RET Note: file is write protected <-- be patient ... Note: file is write protected <-- screen fills, after a wait ESC ^R \ ' Failing regexp I-search backward: \' <-- good losing message ^S Failing regexp I-search: \' <-- BAD! THIS IS UNKNOWN! ... Regexp I-search: \' <-- good winning message, after a wait ... take care to type `quote' and not `back quote' while replicating the disconcerting false losing message which eventually goes away by itself when the search wins. Took too long to write this, time is up now. I-search being so hairy, this may never get fixed. Peace --Devon PS: I also tested this on an out-of-the-box emacs 21.3 with squeaky clean command $ emacs -nw -q --no-site-file In GNU Emacs 21.3.50.8 (i386-unknown-freebsd4.10, X toolkit, Xaw3d scroll bars) of 2005-02-13 on grant.org configured using `configure 'CC=gcc'' Important settings: 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: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: display-time-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: k RET C-x k e m SPC C-x C-r ESC p RET C-x k RET C-g C-g C-x C-r ESC p RET ESC C-s \ ' C-r ESC < ESC C-s \ ' C-r ESC > C-x k RET C-x C-z C-x C-f ESC p C-g C-g C-x C-r ESC p RET ESC C-s \ ' C-r C-e ESC C-r \ ' ESC > ESC > ESC C-s \ ` C-r C-x k RET C-z C-c C-z C-g C-x C-z RET ESC [ 1 9 ~ ESC x r e p o r t SPC e m SPC SPC RET Recent messages: Note: file is write protected Mark saved where search started Mark set [2 times] Mark saved where search started Quit Getting mail from /var/mail/devon... Counting new messages...done (1) Saving file /home1/devon/RMAIL... Wrote /home1/devon/RMAIL 1 new message read _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug