From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hallvard B Furuseth Newsgroups: gmane.emacs.bugs Subject: Re: C-s C-s... with no previous string Date: 09 Jan 2003 19:45:29 +0100 Organization: University of Oslo, Norway Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <874r8so48l.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042138342 18083 80.91.224.249 (9 Jan 2003 18:52:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2003 18:52:22 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Whmu-0004hW-00 for ; Thu, 09 Jan 2003 19:52:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WhlY-0005q2-04 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 09 Jan 2003 13:50:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WhlH-0005ow-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 09 Jan 2003 13:50:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Whl5-0005mQ-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 09 Jan 2003 13:50:38 -0500 Original-Received: from chx400.switch.ch ([130.59.10.2]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WhgM-0004de-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 09 Jan 2003 13:45:34 -0500 Original-Received: from mons.uio.no ([129.240.130.14]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 18WhgI-0007Md-00 for gnu-emacs-bug@moderators.isc.org; Thu, 09 Jan 2003 19:45:30 +0100 Original-Received: from readme.uio.no ([129.240.148.41]) by mons.uio.no with esmtp (Exim 2.12 #7) id 18WhgH-0001ah-00 for gnu-emacs-bug@moderators.isc.org; Thu, 9 Jan 2003 19:45:29 +0100 Original-Received: from news by readme.uio.no with local (Exim 2.12 #7) id 18WhgH-0000Z6-00 for gnu-emacs-bug@moderators.isc.org; Thu, 9 Jan 2003 19:45:29 +0100 Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 18 Original-NNTP-Posting-Host: bombur.uio.no Original-X-Trace: readme.uio.no 1042137929 2061 129.240.186.42 (9 Jan 2003 18:45:29 GMT) Original-X-Complaints-To: abuse@uio.no Original-NNTP-Posting-Date: Thu, 9 Jan 2003 18:45:29 +0000 (UTC) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4166 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4166 Kevin Rodgers writes: >> Maybe emacs should say something if no previous string is known: >> $ emacs >> C-s C-s [C-s...] >> >> At it is it feels like one has hit XOFF :-) > > I agree. Here's one way to do it: > (...) > ! (message "Search ring is empty") > ! (sleep-for 1) Please, no! I hate to wait for sleeps. Use sit-for, so I can continue editing at once. Or better, temporarily append " [Search ring is empty]" to the prompt, but I guess that's more work. -- Hallvard