[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non file buffers and default-directory
From: |
Tomas Hlavaty |
Subject: |
Re: Non file buffers and default-directory |
Date: |
Thu, 27 Apr 2023 20:53:22 +0200 |
On Thu 27 Apr 2023 at 12:04, Tim Landscheidt <tim@tim-landscheidt.de> wrote:
> Side note: I would love a well-maintained example of an
> "asynchronous" user interface in Emacs.
This is easy if you are writing it from scratch.
It is not easy if you are talking about existing code.
> I have a bunch of shell/Perl/Python scripts that I'd like to
> convert to Emacs Lisp for a consistent UI that can also be
> used over SSH.
>
> For example, I have a script that plays a podcast's audio
> file and afterwards asks me if the associated database entry
> selected from a list of suggestions should be marked as
> heard (and the file archived). I also use this as part of
> sequences, i. e. "$script file1.mp3 && $script file2.mp3".
>
> Now in Emacs, I obviously would want to continue to work on
> something else while the audio is playing in the background.
> I also don't want that other work to be interrupted in the
> sense of a blocking minibuffer prompt when the playback has
> finished. And I also don't want to accidentally quit Emacs
> without me being reminded, "hey, that playback has finished,
> should it be marked as heard?" And I want that "bit" to be
> usable as part of a sequence, i. e. after answering the
> question, the next statement should be executed.
Why not simply start a separate Emacs process and play the podcasts
there?
- Re: Non file buffers and default-directory, (continued)
- Re: Non file buffers and default-directory, Eli Zaretskii, 2023/04/25
- Re: Non file buffers and default-directory, Emanuel Berg, 2023/04/25
- Re: Non file buffers and default-directory, Eli Zaretskii, 2023/04/27
- Re: Non file buffers and default-directory, Emanuel Berg, 2023/04/28
- Re: Non file buffers and default-directory, Eli Zaretskii, 2023/04/28
- Re: Non file buffers and default-directory, Manuel Giraud, 2023/04/27
- Re: Non file buffers and default-directory, Eli Zaretskii, 2023/04/27
- Re: Non file buffers and default-directory, Tim Landscheidt, 2023/04/27
- Re: Non file buffers and default-directory, Eli Zaretskii, 2023/04/27
- Re: Non file buffers and default-directory, Tim Landscheidt, 2023/04/27
- Re: Non file buffers and default-directory,
Tomas Hlavaty <=
- Re: Non file buffers and default-directory, Tim Landscheidt, 2023/04/27
- Re: Non file buffers and default-directory, Manuel Giraud, 2023/04/27
- Re: Non file buffers and default-directory, Tomas Hlavaty, 2023/04/27
- Re: Non file buffers and default-directory, Manuel Giraud, 2023/04/23
- Re: Non file buffers and default-directory, Eli Zaretskii, 2023/04/23
- Re: Non file buffers and default-directory, Michael Albinus, 2023/04/22
- Re: Non file buffers and default-directory, Manuel Giraud, 2023/04/21
- Re: Non file buffers and default-directory, Michael Albinus, 2023/04/26
- Re: Non file buffers and default-directory, Manuel Giraud, 2023/04/27
Re: Non file buffers and default-directory, Emanuel Berg, 2023/04/19