emacs-devel
[Top][All Lists]
Advanced

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

Re: NonGNU ELPA: New package 'xdg-appmenu'


From: Akib Azmain Turja
Subject: Re: NonGNU ELPA: New package 'xdg-appmenu'
Date: Thu, 07 Sep 2023 00:47:47 +0600

Juri Linkov <juri@linkov.net> 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.)
>
> The patch in bug#63911 relies on the helper functions implemented
> in the core package emacs/lisp/xdg.el such as 'xdg-mime-apps'
> and 'xdg-desktop-read-file'.

Is it something new (in Emacs 29 or master branch) or did I just missed
these nice functions?

>
> The package https://codeberg.org/akib/emacs-xdg-appmenu
> duplicates the work already done in xdg.el.

Taking a quick look, the answer is looks like yeah, sadly.

>
> However, it's hard to compare these two implementations.
> Maybe in case if something is missing in xdg.el
> it could be improved based on code from the package?

I don't think anything can be improved.  xdg.el contains a full-blown
desktop file parser.  And xdg-appmenu, just a hacky regexp based
implement that just looks for specific keys in a particular group.

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

Attachment: signature.asc
Description: PGP signature


reply via email to

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