[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ubiquitous (format-prompt) ?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Ubiquitous (format-prompt) ? |
Date: |
Fri, 19 Mar 2021 08:40:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Gabriel <gabriel376@hotmail.com> writes:
> So before opening any patch, I would like to know if 'format-prompt'
> should be used everywhere, when applicable, or if there's some
> rationale or exception to use a hardcoded value instead?
It should be used everywhere applicable, and patches are welcome.
> If we go ahead and replace everything to use 'format-prompt', how can we
> deal with 'read_buffer' on 'src/minibuf.c'? That's the only occurrence I
> could find on a C file.
I haven't looked at that call site, but calling Lisp code from C is
usually unproblematic (except in those cases where it's problematic :-)).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no