[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if and only if an Error message
From: |
Michael Heerdegen |
Subject: |
Re: if and only if an Error message |
Date: |
Mon, 21 Jul 2014 10:51:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Emanuel Berg <embe8573@student.uu.se> writes:
> > Maybe also call `discard-input' as
> > `command-error-default-function' does.
>
> Well, yes, I removed that part from your suggestion
> (not `discard-input' but the whole part with
> `command-error-default-function') because I don't have
> that, neither as a function or a variable. Do you have
> it? What is it?
A function. I didn't check -- it doesn't exist in the current release,
but will be in the next one.
Until then, I suggest you call `discard-input'.
> > And (message "%s" error-str).
> > ^^^^
>
> Isn't it already a string from this?
That's not the point. The first arg of `message' is treated as a
"format control string". If there's a "%" char in `error-str', you'll
get an error with your version.
- Re: if and only if an Error message, (continued)
- Message not available
- Re: if and only if an Error message, Emanuel Berg, 2014/07/19
- Re: if and only if an Error message, Michael Heerdegen, 2014/07/19
- Re: if and only if an Error message, Michael Heerdegen, 2014/07/19
- Message not available
- Re: if and only if an Error message, Emanuel Berg, 2014/07/19
- Re: if and only if an Error message, Michael Heerdegen, 2014/07/19
- Re: if and only if an Error message, Michael Heerdegen, 2014/07/19
- Message not available
- Re: if and only if an Error message, Emanuel Berg, 2014/07/19
- RE: if and only if an Error message, Drew Adams, 2014/07/19
- Re: if and only if an Error message, Michael Heerdegen, 2014/07/19
- Message not available
- Re: if and only if an Error message, Emanuel Berg, 2014/07/20
- Re: if and only if an Error message,
Michael Heerdegen <=
- Message not available
- Re: if and only if an Error message, Emanuel Berg, 2014/07/21
- avoiding global variables (was: Re: if and only if an Error message), Emanuel Berg, 2014/07/20
- Re: avoiding global variables, Thien-Thi Nguyen, 2014/07/21
- Message not available
- Re: avoiding global variables, Emanuel Berg, 2014/07/21
- Message not available
- Re: Emacs hangs with 100pc CPU during query-replace, Emanuel Berg, 2014/07/18
- Re: Emacs hangs with 100pc CPU during query-replace, Thorsten Jolitz, 2014/07/19
- Re: Emacs hangs with 100pc CPU during query-replace, Eli Zaretskii, 2014/07/19
- Re: Emacs hangs with 100pc CPU during query-replace, Michael Heerdegen, 2014/07/19
- Re: Emacs hangs with 100pc CPU during query-replace, Thorsten Jolitz, 2014/07/19
- Re: Emacs hangs with 100pc CPU during query-replace, Thorsten Jolitz, 2014/07/19