emacs-devel
[Top][All Lists]
Advanced

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

Re: empty-directory predicate, native implementation


From: Arthur Miller
Subject: Re: empty-directory predicate, native implementation
Date: Wed, 14 Oct 2020 01:20:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> Arthur Miller <arthur.miller@live.com> writes:
>
> Hi Arthur,
>
>>> Tramp file name syntax here. See (info "(elisp) Magic File Names")
>>>
>> Thank you very much for kind explanation; I have read the info now, and
>> I understand it now. Not sure that I know how to implement it though,
>> but it does not matter; Eli's suggestion seems even better; I think.
>
> Agreed, we shall follow Eli's suggestion. But if we would take your
> proposal, the Tramp implementation would happen in tramp.el.
>
> Best regards, Michael.
Thanks for the pointer. I was looking at tramp.el, but I it is ~6k loc
:-). I am not sure I understand what I would need to do to implement
for this; would like to learn though. Can you maybe point me to some
function which I can take a look that would be similar to what I tried
here use-case.

Anyway, Eli's idea is much simpler; I just implemented and tested and it
seems to work nice. I have a problem with helm-find-files but I'll post
in the answer to Eli together with the patch.



reply via email to

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