[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Messages in el functions & the Mini-Buffer
From: |
Joost Kremers |
Subject: |
Re: Messages in el functions & the Mini-Buffer |
Date: |
Wed, 28 Oct 2020 12:06:44 +0100 |
User-agent: |
mu4e 1.5.5; emacs 27.1.50 |
On Wed, Oct 28 2020, Christopher Dimech wrote:
> Very good. Have been trying to write (message "%end-of-fuckup")
> and a problem crops up when trying to display the '%' symbol.
That's because the string passed to `message` is a format string, as with the
function `format`. See the documentation strings of `message` and `format` for
details.
>> > When I introduce (message "Fuckup") in an Elisp function, does it always
>> > use the
>> > mini-buffer? Is there a command to output in a window buffer like when I
>> > use
>> > M-x describe function?
You can use the macro `with-help-window` to get an effect similar to
`describe-function`.
--
Joost Kremers
Life has its moments