help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Minibuffer and Dabbrev problems


From: Kevin Rodgers
Subject: Re: Minibuffer and Dabbrev problems
Date: Wed, 18 Jun 2003 17:30:31 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

K T Ligesh wrote:

 You mean, you cannot 'return' from a function without generating an
 error message? Elisp doesn't have a straight 'return' statement?

Yes.  But the Common Lisp emulaton library has both `return' and `return-from'.

Just add this to your .emacs file:

(require 'cl)


 Actually coming from the vim world, all these error messages are sort
 of strange. For a person used to just a beep, after some time, these
 messages can get into your head.

See http://www.dina.dk/~abraham/religion/poor-mans-vi-mode.html

 There should be some option for advanced users to turn off -all-
 error messages; they do cause certain discomfort. But I guess, that
 is not trivially possible. I will just have to rewrite those
 functions without those error messages...  That will mean a lot of
 rewrite though....

Why don't you just rewrite/advise the `error' and/or `signal' function?
(See the "Signalling Errors" node of the Emacs Lisp manual.)


--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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