From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: can't tell if one is searching with appended whitespace Date: Fri, 04 Jun 2004 15:40:23 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40C0EC47.10707@yahoo.com> References: <874qpsgyqf.fsf@jidanni.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1086385236 32006 80.91.224.253 (4 Jun 2004 21:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Jun 2004 21:40:36 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 04 23:40:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWMQR-00052R-00 for ; Fri, 04 Jun 2004 23:40:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWMQq-0000d0-9B for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jun 2004 17:40:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BWMQo-0000ck-Qc for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2004 17:40:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BWMQm-0000c5-Pm for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2004 17:40:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWMQm-0000bv-NI for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2004 17:40:52 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BWMQ5-0003Gh-SE for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2004 17:40:10 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BWMQ5-0002TV-00 for ; Fri, 04 Jun 2004 23:40:09 +0200 Original-Received: from 170.207.51.80 ([170.207.51.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Jun 2004 23:40:09 +0200 Original-Received: from ihs_4664 by 170.207.51.80 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Jun 2004 23:40:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 170.207.51.80 User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8118 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8118 Dan Jacobson wrote: > Gentlemen, looking in the minibuffer, how can you tell the difference between > I-search: bla > and > I-search: bla > Therefore, something must be done about it. > Why, one could miss important stuff if one doesn't realize he is > carrying around an appended blank in his search string! > Perhaps do something with color, or a " $" appearing, or turn on > show-trailing-whitespace in the minibuffer by default. > (setq-default show-trailing-whitespace t in .emacs isn't good enough.) That may be because trailing whitespace is not highlighted when point is at the end of a line in any buffer, even if the line is terminated by a newline (and thus there is at least 1 [possibly empty] subsequent line). Or perhaps that point is moot, because isearch.el displays the search string in the echo area, not in the minibuffer (if so, perhaps the message function should be changed to respect show-trailing-whitespace). -- Kevin Rodgers