From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Nicolas P. Rougier (inria)" Newsgroups: gmane.emacs.devel Subject: Re: ELPA: New package nano-dialog Date: Tue, 25 Apr 2023 13:59:19 +0100 Message-ID: References: <874jp4b0bc.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7124"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.3; emacs 30.0.50 Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 25 15:04:57 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1prILp-0001b6-64 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Apr 2023 15:04:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prILQ-000375-Fw; Tue, 25 Apr 2023 09:04:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prILI-000363-1k for emacs-devel@gnu.org; Tue, 25 Apr 2023 09:04:24 -0400 Original-Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prILF-0004Zd-93 for emacs-devel@gnu.org; Tue, 25 Apr 2023 09:04:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=X19b7EYQD8SM+ZFajWuM2ejov2Tjc6tph4bMwl73QeA=; b=LoPEbXViXuihwp1kJBbKyQvw/EnvvXh5AbC3hk/j9qqUwYZpDL2nRa4N RS9xB3LPSdZFiZn9LQVLCmDmIXzRp50QjryvQVaadGrVxVd7o/OqSwklf qw4v7EjolsVgvtjekU4+56dZvIFnQpO5TplGm+LhoGsXBdNmL0VhM8fkJ U=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=nicolas.rougier@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.99,225,1677538800"; d="scan'208";a="54325222" Original-Received: from 58-50-114-217.reverse.luns.net.uk (HELO M-E7-NPR.local) ([217.114.50.58]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 15:04:18 +0200 In-reply-to: <874jp4b0bc.fsf@posteo.net> Received-SPF: pass client-ip=192.134.164.104; envelope-from=nicolas.rougier@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305652 Archived-At: Philip Kaludercic [2023-04-25 at 12:42] wrote: > "Nicolas P. Rougier (inria)" writes: >=20 > > 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=20 > >> library for > >> creating native dialog popups. Those popups are child frames=20 > >> 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"=20 > >> "CANCEL")) > >> The library is hosted at=20 > >> 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? >=20 > One nice thing would be if you could provide an .elpaignore file=20 > so that > the screenshot is not included in the tarball. > > Your user options all lack types, that should be addressed. You=20 > 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=20 > issue the > first time I saw your message), is that I am not sure what this=20 > package > provides over built-in functionality like yes-or-no-p or > read-multiple-choice. Is this a library for another package of=20 > yours? It's actually redundant with minibuffer interaction but it also=20 offers more options. I'm mosly using it to display nano-agenda for=20 quick interaction without disturbing windows layout. There are=20 probably many more use. For example it could serve as a=20 replacement for system dialog Nicolas --=20 Nicolas P. Rougier =E2=80=94=E2=80=94 www.labri.fr/perso/nrougier Institute of Neurodegenerative Diseases, Bordeaux