From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: Re: NonGNU ELPA: New package 'xdg-appmenu' Date: Thu, 07 Sep 2023 00:56:03 +0600 Message-ID: <87o7ifuo58.fsf@disroot.org> References: <871qhivj86.fsf@disroot.org> <87pm2wwjyz.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40910"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Developer List , Philip Kaludercic , Juri Linkov To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 06 21:03:40 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 1qdxoR-000AQJ-NR for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Sep 2023 21:03:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdxna-0006bW-Fj; Wed, 06 Sep 2023 15:02:46 -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 1qdxnI-0006L0-Ap for emacs-devel@gnu.org; Wed, 06 Sep 2023 15:02:30 -0400 Original-Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdxnD-0008Ha-1l for emacs-devel@gnu.org; Wed, 06 Sep 2023 15:02:25 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F3144414FE; Wed, 6 Sep 2023 21:02:21 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BxevoD3jUTJn; Wed, 6 Sep 2023 21:02:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1694026940; bh=zHCQxCINCEmJ15+pIreucbmhLn7T1hgl00Zcv5+uqS0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=U6E2Vi9WqdO9aZXhEfcSpjEXX6Vj99c2BkZTAqkoRUf+1SAaQzlewOHSwfFKW2dRi LTB98EJgwVz3eTsshiGTQ2i9Kloqiwkf0+a5aiyXJFmDZGzrPyAFWOPSI2unbm+M9c Hb3roZpJwBoSHODxzD8Y9tVO3rrK0EkWeQ/2WlHH4td/+ys4OhXB8S9ctKoeiTNnHE 9gCHujRm9+7wGnaicpJGC2h4bi4j038UTWyc7djWDvYB4zfSO2z6WluEEhjJqs1xFj KA7jgj8BaMj5gYh+dqz9gd1cSeeVVo2Q0IBIGKUfAZ/ndSu2X2MCinayky30q/+1Sh bI5h0V9tgMejw== In-Reply-To: (Stefan Kangas's message of "Tue, 5 Sep 2023 13:11:30 -0700") Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=layka.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:310218 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Kangas writes: > Akib Azmain Turja writes: > >> Ping? (2) >> >> Akib Azmain Turja writes: >> >>> I've just written a new package and would like to publish it to on >>> NonGNU ELPA: >>> >>> XDG Appmenu allows you to run XDG desktop application right from your >>> Emacs. To run an application, just do `M-x xdg-appmenu'. > > Thanks, this looks like a useful addition. I have two questions: > > - How does this compare to the work made by Juri in Bug#63911? Could > the efforts be merged somehow, such that the end result ends up in > Emacs, or does that not make sense? (I'm copying in Juri too.) > Taking a quick look at Bug#63911, IIUC that ticket is about adding the "Open with" option in Dired like the GUI file managers, right? On the other hand, my package launches an app, without any file, like you'd do from the application menu (or whatever term, I don't know) of GNOME or KDE. > - Do you think that it might make sense to add it to GNU ELPA instead? > I see that you're the only author, so we would only need a copyright > assignment from you. > I took a look at xdg.el, and seems like it already has everything needed. I think it might make it sense to put it directly in xdg.el, it would be a small addition I think, just the command and one or two helper function. > In case you're interested, there is also Bug#18132 where we have > previously discussed XDG and mailcap in relation to Dired. > >>> From 32b80f3bc0e4c35a74cc7027017676849ab311bf Mon Sep 17 00:00:00 2001 >>> From: Akib Azmain Turja >>> Date: Sat, 8 Jul 2023 15:24:20 +0600 >>> Subject: [PATCH] * elpa-packages (xdg-appmenu): New package >>> >>> --- >>> elpa-packages | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/elpa-packages b/elpa-packages >>> index 0610724..ef0af0c 100644 >>> --- a/elpa-packages >>> +++ b/elpa-packages >>> @@ -784,6 +784,8 @@ >>> (xah-fly-keys :url "https://github.com/xahlee/xah-fly-keys" >>> :ignored-files ("*.png")) >>> >>> + (xdg-appmenu :url "https://codeberg.org/akib/emacs-xdg-appm= enu") >>> + >>> (xkcd :url "https://github.com/vibhavp/emacs-xkcd" >>> :readme "README.org" >>> :ignored-files ("LICENSE" ".travis.yml" "images")) >>> -- >>> 2.40.1 > =2D-=20 Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 Fediverse: akib@hostux.social Codeberg: akib emailselfdefense.fsf.org | "Nothing can be secure without encryption." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmT4y0MACgkQVTX89U2I YWu6kxAAh/gA9YpD/dTr6sNaSJhtV44NxuRitDXytbjTBhJYJx/upOBancABbjSS kCA+J2OpCciGQuoBl7UrpGDbMeEnXny3VKP/QPum0s0IBwLXPt6E4eA42x2azlO4 If+4G1NtOTjTKYOo2DI/jHk/thDqhBJM1qssSEggi3kHfjNt2HEBeDEmqM+rj6xb CXB08vY3JOwDlNgWF2XxZzwPVZgn/tkHihCStr+Jrht8rXHOFrHXkgvyduIgTI6t yj21E7SZ8vcOItlgp3zQtrVpSlzrBExmVYkuwcpHLgQAH2ZbaC6zIbpcXB2sUqnH aAqGZ+Qoxo/1GQnyUIuU84gLU5nepC65bGjQAYIbDYC0gI1ORkegoXLMqTFoxxKP Pm/ci04So28kAlynNM6zs096Jeu+ckMj3m6+mg3V6ofZCPDKhRnMWQ0JlJr+Yj1H JIKCHrYHkVFcu44MOGGtoH8+LPiwdHHJ25p5/DxSDHPJbctiHOr+D4tlDStYihDg ZZpOIfJuCvp32vk1cVpAKiSrr3nSTUG0jaac21qgByXQV72+Gx0Eo5HgX1h1xJ1J pE5MJX5COcFoIBCClp5iDPP6xU9Wv5Rn0uruBQWwbJh8zY5O7JJwvp6dGHK5lF+b pw50mJ5AWWZh+x/lyXwAOqTR2OyRXQtvjX5rFMBsJ1lnFrAzCXk= =bXOa -----END PGP SIGNATURE----- --=-=-=--