emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why should interactive search results raise errors?


From: Chong Yidong
Subject: Re: Why should interactive search results raise errors?
Date: Wed, 03 May 2006 12:34:10 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> Some interactive search functions raise errors when no hit is
> found. It is quite annoyning if you have set debug-on-error to t. Is
> there any reason why this functions raises errors in this cases? Can
> that be used for anything?
>
> An example is the function in the menu bar: Edit - Search - String
> Forward. As far as I can see this in only meant to be run
> interactively. The same goes for viper-search-next.
>
> It would in my opinion be more convenient if these functions just
> return nil and showed a message when a search fails. Would it not be a
> good convention for interactive search functions in Emacs?

Probably the better thing to do is to add the error to
debug-ignored-errors.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]