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

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

Re: ask for the value of several variables at once


From: Emanuel Berg
Subject: Re: ask for the value of several variables at once
Date: Wed, 14 Mar 2018 10:39:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Uwe Brauer wrote:

> Do you mean (call-interactively
> 'my-ask-mail-yank)
>
> That works nicely. Thanks

Well, I don't mean it should be used in your
code, but posted it to show the difference, why
the function was both verbose and silent
in execution.

In your case, instead use `message' to output
the message you want to see.

> Just out of curiosity what is the advantage
> over Yuri's solution?

By using a general solution, you achieve the
specific functionality you seek, only the
general solution is then added to the arsenal
so the next time the same situation appears,
only in another context, you don't have to do
anything but write a simple wrapper, and you
can look at the specific interface already
there if you forgot how it looked. Also, again
having the general part in your arsenal, it
might be useful in some completely different
situation, and then it'll be really nice to
just dust it off and use again for new
wonders :)

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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