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

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

Re: Problems with catch and throw


From: Tassilo Horn
Subject: Re: Problems with catch and throw
Date: Fri, 05 Oct 2007 09:14:32 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Barry Margolin <barmar@alum.mit.edu> writes:

Hi Barry,

> The problem isn't with minibuffer-contents, it's with
>
> (message "cont = " (minibuffer-contents))
>
> The first argument to message is a format string, and the remaining
> arguments will be substituted for the % codes in the string.  Since
> you don't have any % codes, it never displays the minibuffer contents.
> So that should be:
>
> (message "cont = %s" (minibuffer-contents))

Oh my god, that's more than awkward.  That happens when you use `insert'
and `message' in parallel. :-P

Ok, then the real question is: How can I invoke
`execute-extended-command' with an initial input string?

Bye,
Tassilo


reply via email to

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