unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Demis Balbach <db@minikn.xyz>
To: Maxime Devos <maximedevos@telenet.be>, 53797@debbugs.gnu.org
Subject: [bug#53797] [PATCH] gnu: Add emacs-app-launcher.
Date: Sun, 06 Feb 2022 11:55:49 +0100	[thread overview]
Message-ID: <87sfswgt6y.fsf@minikn.xyz> (raw)
In-Reply-To: <a0b6cdf10a282a84a781d230b0368296fba3b3b3.camel@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

On 2022-02-05 13:05, Maxime Devos wrote:

> Demis Balbach schreef op za 05-02-2022 om 12:20 [+0100]:
>> +       "app-launcher defines the app-launcher-run-app command which uses Emacs
>> +standard completion feature to select an application installed on your machine
>> +and launch it.")
>
> What does ‘launching’ mean here?  Is ‘launching an application’
> functionally the same as running it (with 'fork'+'exec' or 'system' or
> whatever)?  Does it have extra bells and whistles?
>
> It's a super vague word, e.g. when Xiden has been announced on guix-
> devel, one of the words that kept being repeated was 'launcher', but it
> wasn't defined anywhere in its practically empty manual. (Nowadays
> there's actually a manual and it does define launchers, but it didn't
> use to.) 
>
> Greetings,
> Maxime.

Hello. I don't know if that's what you wanted to hear but technically,
the script is a big wrapper around
`call-process-shell-command'. `app-launcher--action-function' can be set
to whatever function to execute on the selected candidate, by default
this is set to `app-launcher--action-function-default' which ultimately
runs `call-process-shell-command'. See:
https://github.com/SebastienWae/app-launcher/blob/main/app-launcher.el#L167

Is this enough information?

-- 
Best regards / Mit freundlichen Grüßen,
Demis Balbach

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

  reply	other threads:[~2022-02-06 10:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05 11:20 [bug#53797] [PATCH] gnu: Add emacs-app-launcher Demis Balbach
2022-02-05 12:05 ` Maxime Devos
2022-02-06 10:55   ` Demis Balbach [this message]
2022-02-05 12:12 ` Maxime Devos
2022-02-05 12:14   ` Maxime Devos
2022-02-05 12:13 ` Maxime Devos
2022-02-06 10:58   ` Demis Balbach
2022-02-06 11:39     ` Maxime Devos
2022-02-05 12:16 ` Maxime Devos
2022-02-06 10:59   ` Demis Balbach
2022-02-06 11:40     ` Maxime Devos
2022-02-05 12:20 ` Maxime Devos
2022-02-06 11:01   ` Demis Balbach
2022-02-06 11:44     ` Maxime Devos
2023-09-01 22:35 ` bug#53797: " Vagrant Cascadian

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87sfswgt6y.fsf@minikn.xyz \
    --to=db@minikn.xyz \
    --cc=53797@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).