From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Conkeror like hints for incremental search Date: Tue, 24 Jan 2012 08:55:35 +0100 Message-ID: <87aa5dmt54.fsf@tsdh.uni-koblenz.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327391749 30178 80.91.229.12 (24 Jan 2012 07:55:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 07:55:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Gideon Stupp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 08:55:45 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpbEH-0002U2-B5 for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 08:55:45 +0100 Original-Received: from localhost ([::1]:53539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpbEG-0005Ch-0a for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2012 02:55:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpbED-0005CW-1L for emacs-devel@gnu.org; Tue, 24 Jan 2012 02:55:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpbEB-0002eD-LA for emacs-devel@gnu.org; Tue, 24 Jan 2012 02:55:40 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:41944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpbEB-0002dk-EU for emacs-devel@gnu.org; Tue, 24 Jan 2012 02:55:39 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id EB6C0D234D; Tue, 24 Jan 2012 08:55:37 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rqcBmFJSVhog; Tue, 24 Jan 2012 08:55:37 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from tsdh.uni-koblenz.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 60A9AD2358; Tue, 24 Jan 2012 08:55:37 +0100 (CET) In-Reply-To: (Gideon Stupp's message of "Mon, 23 Jan 2012 19:52:04 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 141.26.64.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147868 Archived-At: Gideon Stupp writes: Hi Gideon, > This patch adds Conkeror like hints to incremental-search's currently > matched strings. > This way it is possible to choose one of the highlighted possibilities > without completing the search string (useful when using incremental > search for navigation). isearch is my main navigation feature, so I've just given your patch a try. Here's my feedback: - The characters inserted in front of matches are somewhat baffling (First I've thought: Why do I have all those typos?!). At least in X11 frames, I'd make them smaller than the usual text, maybe even superscript. And it would be nice if the hint chars where appended to matches in forward isearch but prepended in backward isearch. That way, the hint char would indicate the position of point when selecting that match. - Concerning navigation speed, I don't feel that those type hints help me. It might do so if the visible buffer portion contains tons of matches, but in my regular use, there are only ~3 matches, so hitting C-s or C-r repeatedly is faster for me than switching my finger to some other key. - I think C-f (and all other keys normally used for navigation) is a bad choice, because that's what people usually use for leaving isearch. Maybe M-h would be ok. It has some mnemonics, and its usual binding of `mark-paragraph' isn't too useful in isearch. Bye, Tassilo