Re: Desktop saves isearch-mode

2005-10-19 Thread Juri Linkov
> Where in the existing code of Isearch does it switch buffers > without frobbing the Isearch mode in the two buffers? > That place needs to be changed to turn of Isearch mode > in the old buffer. This code is in my .emacs. I intended to take measures for the case when someone else does the same

Re: Desktop saves isearch-mode

2005-10-18 Thread Richard M. Stallman
The first key activates search mode, the second key switches to the *Messages* buffer, and the third key continues to search for `a' in the *Messages* buffer with search mode still enabled. After exiting the search in the *Messages* buffer and switching back to the original buf

Re: Desktop saves isearch-mode

2005-10-18 Thread Juri Linkov
> When isearch leaves the buffer in isearch mode (this can happen after > switching buffers during incremental search), > > I think that is the bug. Isearch mode should not be left enabled. > > Can you debug that and fix it? The simplest way to reproduce this is to evaluate: (define-key

Re: Desktop saves isearch-mode

2005-10-17 Thread Richard M. Stallman
When isearch leaves the buffer in isearch mode (this can happen after switching buffers during incremental search), I think that is the bug. Isearch mode should not be left enabled. Can you debug that and fix it? ___ Emacs-devel mailing list

Desktop saves isearch-mode

2005-10-17 Thread Juri Linkov
When isearch leaves the buffer in isearch mode (this can happen after switching buffers during incremental search), and desktop-mode is enabled, it writes isearch-mode as one of buffer's minor modes to the desktop file. This causes bad effects during restoring the desktop. When desktop.el calls i