--- Begin Message ---
Subject: |
repeated C-s doesn't wrap back to the top if file is .gz |
Date: |
Thu, 25 Sep 2014 01:09:01 +0800 |
$ emacs -q directory_that_contains_a_.gz_file
v on that file. (view mode)
C-s some_string, C-s C-s C-s C-s C-s ... but then instead of wrapping
around back to the top, we get
File not found and directory write-protected
By the way, it happened on a changelog.gz
file, and the prompt was "Multi I-Search" whatever that means.
Debian emacs 24.3+1-5
emacs-version "24.3.1"
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#18547: repeated C-s doesn't wrap back to the top if file is .gz |
Date: |
Thu, 25 Sep 2014 23:57:05 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
>> (I'm not sure whether it should go into emacs-24 or trunk):
>
> I don't think it's urgent, so: trunk.
Actually there were two cases: when `wrap' is non-nil then a new buffer
"ChangeLog" should not be created (fixes the reported problem).
When `wrap' is nil, then `file-exists-p' will raise a signal
(as `find-file-noselect' did before this patch) that is handled
by `multi-isearch-search-fun' to display the "end of multi" message.
The same patch installed to trunk will handle both cases.
--- End Message ---