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

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

bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with


From: Eli Zaretskii
Subject: bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path.
Date: Thu, 11 Nov 2021 17:09:37 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: dgutov@yandex.ru,  50572@debbugs.gnu.org,  andrewjmoreton@gmail.com,
>   manuel@ledu-giraud.fr
> Date: Thu, 11 Nov 2021 13:21:22 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > If we will require the caller to provide an absolute file name, then
> > why not call expand-file-name internally?
> 
> We don't require that.  It's a perfectly valid thing to wonder (for
> instance) "what's the last two elements in this directory structure I
> have here", and the answer is:
> 
> (file-name-split "foo/bar") => ("foo" "bar")

We were mis-communicating: I was talking about a function that
determines which file is "deeper" in the filesystem.





reply via email to

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