emacs-devel
[Top][All Lists]
Advanced

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

Re: ELPA: New package nano-dialog


From: Nicolas P. Rougier (inria)
Subject: Re: ELPA: New package nano-dialog
Date: Tue, 25 Apr 2023 13:59:19 +0100
User-agent: mu4e 1.10.3; emacs 30.0.50


Philip Kaludercic [2023-04-25 at 12:42] wrote:
"Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr> writes:

> Nicolas P. Rougier (inria) [2023-04-19 at 09:19] wrote:
>> Dear all,
>> I would like to submit a new package to ELPA which is a >> library for >> creating native dialog popups. Those popups are child frames >> where:
>> - header line is used to show the (optional) header
>> - mode line is used to show (optional) clickable buttons
>> - buttons can be highlighted with cursor (tooltips hack)
>> - dialog content is a regular buffer
>> Usage example:
>> (nano-dialog nil :title "Dialog title" :buttons '("OK" >> "CANCEL")) >> The library is hosted at >> https://github.com/rougier/nano-dialog and
>> the README displays what it looks like.
>> Best,
>> Nicolas
>
> Hi all,
>
> Any comments on this package for inclusion in ELPA?

One nice thing would be if you could provide an .elpaignore file so that
the screenshot is not included in the tarball.

Your user options all lack types, that should be addressed. You should
probably also run checkdoc and address those issues.

Thanks, I'll correct that.

My general question (and the reason I did not respond to the issue the first time I saw your message), is that I am not sure what this package
provides over built-in functionality like yes-or-no-p or
read-multiple-choice. Is this a library for another package of yours?

It's actually redundant with minibuffer interaction but it also offers more options. I'm mosly using it to display nano-agenda for quick interaction without disturbing windows layout. There are probably many more use. For example it could serve as a replacement for system dialog

Nicolas

--
Nicolas P. Rougier —— www.labri.fr/perso/nrougier
Institute of Neurodegenerative Diseases, Bordeaux



reply via email to

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