From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50572@debbugs.gnu.org, andrewjmoreton@gmail.com,
manuel@ledu-giraud.fr, dgutov@yandex.ru
Subject: bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path.
Date: Thu, 11 Nov 2021 03:56:29 +0100 [thread overview]
Message-ID: <87zgqbe6xu.fsf@gnus.org> (raw)
In-Reply-To: <83sfw42ipa.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Nov 2021 16:23:13 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> We can always use "/\\" as SEPARATORS on MS-Windows, can't we?
I was wondering about that -- are both of those characters disallowed in
file name components on Windows? If so, then yes. What would be the
test to identify the systems where this is the case?
> Alternatively, we could loop with file-name-directory, I guess.
That's what the current implementation does, and it's slow (since it
consults the file name handlers).
> But if we want a function that returns the "depth" of a file in a
> filesystem, then it will need to call expand-file-name internally
> anyway, for the same reason I point out above, right?
Yes. This function can be used as a component in that calculation, but
if that's the purpose of the call, then the caller has to make the file
name non-relative first.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-11-11 2:56 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-13 15:47 bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path Manuel Giraud
2021-09-13 16:10 ` Eli Zaretskii
2021-09-13 23:48 ` Dmitry Gutov
2021-09-14 2:28 ` Eli Zaretskii
2021-09-14 7:57 ` Manuel Giraud
2021-09-14 7:50 ` Manuel Giraud
2021-09-14 11:38 ` Eli Zaretskii
2021-09-14 12:08 ` Manuel Giraud
2021-09-14 12:57 ` Eli Zaretskii
2021-09-14 15:15 ` Manuel Giraud
2021-09-14 16:03 ` Eli Zaretskii
2021-09-15 9:17 ` Manuel Giraud
2021-09-15 10:35 ` Dmitry Gutov
2021-09-15 11:20 ` Eli Zaretskii
2021-09-15 11:36 ` Dmitry Gutov
2021-09-15 10:41 ` Dmitry Gutov
2021-09-15 11:22 ` Eli Zaretskii
2021-09-15 11:37 ` Dmitry Gutov
2021-09-15 11:44 ` Eli Zaretskii
2021-09-15 11:47 ` Dmitry Gutov
2021-09-16 12:55 ` Lars Ingebrigtsen
2021-11-06 0:16 ` Lars Ingebrigtsen
2021-11-06 15:01 ` Andy Moreton
2021-11-06 18:19 ` Lars Ingebrigtsen
2021-11-06 22:30 ` Andy Moreton
2021-11-06 22:35 ` Dmitry Gutov
2021-11-07 13:17 ` Lars Ingebrigtsen
2021-11-08 9:28 ` Manuel Giraud
2021-11-08 9:31 ` Lars Ingebrigtsen
2021-11-08 10:37 ` Manuel Giraud
2021-11-09 3:29 ` Lars Ingebrigtsen
2021-11-09 8:09 ` Juri Linkov
2021-11-09 22:55 ` Lars Ingebrigtsen
2021-11-09 8:51 ` Manuel Giraud
2021-11-09 23:30 ` Lars Ingebrigtsen
2021-11-10 0:06 ` Dmitry Gutov
2021-11-10 0:20 ` Lars Ingebrigtsen
2021-11-10 0:29 ` Dmitry Gutov
2021-11-10 0:39 ` Lars Ingebrigtsen
2021-11-10 12:54 ` Eli Zaretskii
2021-11-10 12:59 ` Lars Ingebrigtsen
2021-11-10 14:23 ` Eli Zaretskii
2021-11-11 2:56 ` Lars Ingebrigtsen [this message]
2021-11-11 7:06 ` Eli Zaretskii
2021-11-11 7:46 ` Michael Albinus
2021-11-11 8:04 ` Eli Zaretskii
2021-11-11 10:46 ` Michael Albinus
2021-11-11 12:21 ` Lars Ingebrigtsen
2021-11-11 15:09 ` Eli Zaretskii
2021-11-12 3:01 ` Lars Ingebrigtsen
2021-11-12 9:51 ` Manuel Giraud
2021-11-12 12:05 ` Eli Zaretskii
2021-11-12 15:09 ` Manuel Giraud
2021-11-12 15:20 ` Eli Zaretskii
2021-11-12 15:41 ` Manuel Giraud
2021-11-12 19:21 ` Manuel Giraud
2021-11-12 19:40 ` Eli Zaretskii
2021-11-14 0:51 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgqbe6xu.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=50572@debbugs.gnu.org \
--cc=andrewjmoreton@gmail.com \
--cc=dgutov@yandex.ru \
--cc=eliz@gnu.org \
--cc=manuel@ledu-giraud.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.