From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tobias C. Rittweiler" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4947: Comments on misearch.el [repost from emacs-devel] Date: Tue, 17 Nov 2009 19:36:28 +0100 Message-ID: <87my2lj8wj.fsf@freebits.de> Reply-To: "Tobias C. Rittweiler" , 4947@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258483666 349 80.91.229.12 (17 Nov 2009 18:47:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 18:47:46 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 17 19:47:39 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAT5W-00087U-O5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 19:47:39 +0100 Original-Received: from localhost ([127.0.0.1]:58517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAT5W-0002cC-6Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 13:47:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAT5M-0002Z3-1v for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 13:47:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAT5H-0002X6-Tz for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 13:47:27 -0500 Original-Received: from [199.232.76.173] (port=37387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAT5H-0002Wz-43 for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 13:47:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49728) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAT5G-0007jR-G6 for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 13:47:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAHIlKLj007027; Tue, 17 Nov 2009 10:47:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAHIe5v7006181; Tue, 17 Nov 2009 10:40:05 -0800 Resent-Date: Tue, 17 Nov 2009 10:40:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Tobias C. Rittweiler" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 17 Nov 2009 18:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4947 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12584830376021 (code B ref -1); Tue, 17 Nov 2009 18:40:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 Nov 2009 18:37:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAHIbEj4006018 for ; Tue, 17 Nov 2009 10:37:16 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:50873 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NASvS-0002DL-7R for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 13:37:14 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NASvN-0005s6-7B for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 13:37:13 -0500 Original-Received: from a022.reverse.yawsp.de ([62.27.20.22]:58559 helo=freebits.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NASvM-0005rk-Tf for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 13:37:09 -0500 Original-Received: from host146.natpool.mwn.de ([138.246.7.146] helo=thaleron) by freebits.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44) id 1NASvB-0008PT-OY for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 18:36:57 +0000 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) X-freebits.de-MailScanner-Information: http://freebits.de X-freebits.de-MailScanner: Sauber X-freebits.de-MailScanner-SpamCheck: not spam, SpamAssassin (notcached, Wertung=0, benoetigt 6, autolearn=not spam) X-MailScanner-From: tcr@freebits.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 17 Nov 2009 13:47:27 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32670 gmane.emacs.pretest.bugs:25199 Archived-At: I just tried misearch.el which provides the ability to search through multiple files / buffers via isearch. Thank you, Juri, for writing it, it's exactly what I need. (BTW., is there something like misearch but for query-replace, too?) I do have some comments on it: * The docstring of `multi-isearch-next-buffer-function' says that the function is called with the current buffer as first argument. However, in case of the initial buffer, it's actually called with `nil' as first argument. Is that intended? If so, the docstring should reflect that. I now have in my next-buffer function (setq current-buffer (or current-buffer (current-buffer))) as a workaround. * It'd be nice, not only to display "Repeat for next buffer", but actually include the next buffer's name. * If I'm in a file that contains matches, and I'm at the last match, it exhibits the following behaviour in the minibuffer: Multi Isearch: ... (pressing C-s) Failing multi Isearch: ... [Repeat ...] (pressing C-s) jumps to first match in next buffer However, if I'm in a buffer that won't have a match, I see the following behaviour: Multi Isearch: ..(incremently typing).. --> turns to Failing multi Isearch: ... [Repeat ...] (pressing C-s) Failing mutli Isearch: ... (pressing C-s) goes to next file I.e., as you can hopefully see, it expects one C-s too much. (The line without the "[Repeat ...]" is superfluous.) -T. -- Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber. Freebits E-Mail Virus Scanner