help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to setup default program to launch directory?


From: Emanuel Berg
Subject: Re: How to setup default program to launch directory?
Date: Mon, 18 Oct 2021 18:36:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jean Louis wrote:

> You missed examples I have given:
>
> - If directory is DVD copy, I need to open it with video
>   player or enter inside if it is not;
>
> - If directory is Maildir, I wish to open it in terminal,
>   with Mutt, or in Emacs terminal or by using Emacs Maildir
>   package;
>
> - If directory is related to many other objects, I wish to
>   open database showing me all other objects;

I think you need different functions for these, assigned to
different keys, if you don't want that you'd need one big
function that would perhaps based on the directory file name
take proper action - even so it can be beneficial to have it
call different functions ... it will be easier (and better) to
write it that way as well.

> Don't you play DVD directories with vlc?

No, I don't use DVDs, and I use mpv for Hollywood movies and
Australian Survivor episodes ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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