all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: ELPA: New package nano-dialog
Date: Tue, 25 Apr 2023 13:59:19 +0100	[thread overview]
Message-ID: <m11qk8865v.fsf@inria.fr> (raw)
In-Reply-To: <874jp4b0bc.fsf@posteo.net>


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	other threads:[~2023-04-25 12:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19  7:19 ELPA: New package nano-dialog Nicolas P. Rougier (inria)
2023-04-25  6:11 ` Nicolas P. Rougier (inria)
2023-04-25 12:42   ` Philip Kaludercic
2023-04-25 12:59     ` Nicolas P. Rougier (inria) [this message]
2023-04-25 14:13       ` Philip Kaludercic
2023-04-25 15:20         ` Nicolas P. Rougier (inria)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m11qk8865v.fsf@inria.fr \
    --to=nicolas.rougier@inria.fr \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.