emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: master 513c5d827d: Use `format-prompt' in


From: Eli Zaretskii
Subject: Re: [External] : Re: master 513c5d827d: Use `format-prompt' in
Date: Mon, 05 Sep 2022 15:33:55 +0300

> From: Robert Pluim <rpluim@gmail.com>
> Cc: rms@gnu.org,  drew.adams@oracle.com,  larsi@gnus.org,  emacs-devel@gnu.org
> Date: Mon, 05 Sep 2022 14:29:15 +0200
> 
>     Eli> I didn't suggest anything concrete.  However, one possibility would 
> be
>     Eli> to teach format-prompt to accept keyword arguments.
> 
> My admittedly not well-calibrated lisp tasteʼoʼmeter doesnʼt find
> 
> (format-prompt "Prompt" nil :default "all")
> 
> all that appealing either

<Shrug> Then I hope someone will come up with a better idea.

My point is that using format-prompt obfuscates the code to some
degree, and we should try to find a way of avoiding that, while
keeping its advantages.



reply via email to

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