From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Type Ahead Find Date: Mon, 21 Mar 2005 21:28:14 +0200 Organization: JURTA Message-ID: <878y4golg1.fsf@jurta.org> References: <87k6o4eo2u.fsf@jurta.org> <874qf83a5i.fsf-monnier+emacs@gnu.org> <87psxvq11d.fsf@jurta.org> <87acoy89fa.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111433644 29886 80.91.229.2 (21 Mar 2005 19:34:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 19:34:04 +0000 (UTC) Cc: snogglethorpe@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 20:34:02 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDSep-0005UU-AA for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 20:33:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDSvy-00057S-Jh for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 14:51:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDSul-00050i-Qr for emacs-devel@gnu.org; Mon, 21 Mar 2005 14:50:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDSu1-0004nh-3R for emacs-devel@gnu.org; Mon, 21 Mar 2005 14:49:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDStz-0004ip-I7 for emacs-devel@gnu.org; Mon, 21 Mar 2005 14:49:27 -0500 Original-Received: from [194.126.101.98] (helo=MXR-5.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDSbJ-0003SB-2Q; Mon, 21 Mar 2005 14:30:09 -0500 Original-Received: from mail.neti.ee (80-235-43-141-dsl.mus.estpak.ee [80.235.43.141]) by MXR-5.estpak.ee (Postfix) with ESMTP id 31B6D12CA10; Mon, 21 Mar 2005 21:30:06 +0200 (EET) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Sun, 20 Mar 2005 22:46:42 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34908 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34908 David Kastrup writes: > Again: I don't like the left-right jump of the minibuffer caused by > that. If there really is a need for that kind of information, can't > we put this in the mode-line lighter of Isearch mode? > > Like Isearch/Wrapped, Isearch/X-Node... > > Then the information is available in case of need, but does not take > up room and concentration in the minibuffer. As I see in isearch.el there is the following line in `isearch-mode' function with the comment indicating that someone already considered this idea: (setq isearch-mode " Isearch") ;; forward? regexp? This suggests to put the search type in the mode-line. But I think its biggest drawback is that the search state might be not visible in the mode-line when the mode-line is too wide. For example, in the current buffer when I activate the search I see the text "Isearch" truncated in the mode-line: -=:** *wide reply to David Kastrup* All (32,42) (Message MML Abbrev Fill Isea Any additional information in the mode-line will not be visible at all. So the only place for this information is the minibuffer. Instead of putting it in the message prefix we could put it in the suffix in square brackets: I-search: foo [Failing] I-search: foo [Wrapped] I-search: foo [Failing wrapped] But this doesn't look good either when after wrapping the suffix [Wrapped] remains for the wrapped search. -- Juri Linkov http://www.jurta.org/emacs/