* C-s C-s... with no previous string
@ 2003-01-01 23:11 Dan Jacobson
2003-01-02 18:16 ` Kevin Rodgers
[not found] ` <mailman.23.1041532825.28484.bug-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-01-01 23:11 UTC (permalink / raw)
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 :-)
--
http://jidanni.org/ Taiwan(04)25854780
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C-s C-s... with no previous string
2003-01-01 23:11 C-s C-s... with no previous string Dan Jacobson
@ 2003-01-02 18:16 ` Kevin Rodgers
[not found] ` <mailman.23.1041532825.28484.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2003-01-02 18:16 UTC (permalink / raw)
Dan Jacobson wrote:
> 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:
*** emacs-20.7/lisp/isearch.el.orig Wed May 31 05:43:30 2000
--- emacs-20.7/lisp/isearch.el Thu Jan 2 11:12:27 2003
***************
*** 906,912 ****
(or (if isearch-regexp
(car regexp-search-ring)
(car search-ring))
! "")
isearch-message
(mapconcat 'isearch-text-char-description
isearch-string ""))
--- 906,915 ----
(or (if isearch-regexp
(car regexp-search-ring)
(car search-ring))
! (progn
! (message "Search ring is empty")
! (sleep-for 1)
! ""))
isearch-message
(mapconcat 'isearch-text-char-description
isearch-string ""))
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C-s C-s... with no previous string
[not found] ` <mailman.23.1041532825.28484.bug-gnu-emacs@gnu.org>
@ 2003-01-09 18:45 ` Hallvard B Furuseth
0 siblings, 0 replies; 3+ messages in thread
From: Hallvard B Furuseth @ 2003-01-09 18:45 UTC (permalink / raw)
Kevin Rodgers <kevin.rodgers@ihs.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-09 18:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-01 23:11 C-s C-s... with no previous string Dan Jacobson
2003-01-02 18:16 ` Kevin Rodgers
[not found] ` <mailman.23.1041532825.28484.bug-gnu-emacs@gnu.org>
2003-01-09 18:45 ` Hallvard B Furuseth
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.