GNU bug report logs - #64088
[PATCH] Make project-root for vc projects return an absolute path

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Thu, 15 Jun 2023 20:49:02 UTC

Severity: normal

Tags: patch

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 64088 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: sbaugh <at> janestreet.com, 64088 <at> debbugs.gnu.org
Subject: Re: bug#64088: [PATCH] Make project-root for vc projects return an
 absolute path
Date: Sun, 18 Jun 2023 03:43:27 +0300
On 17/06/2023 09:25, Eli Zaretskii wrote:
> IME, low-level functions should not make any assumptions about what
> higher-level code will need.  On the contrary, it's higher-level code
> which knows what it needs that should do the conversions it needs.

That's the idea: project-root is always a callee, not a caller, so it's 
"low-level", in your terminology.

The conversion (or normalization) would happen on the higher level: when 
the projects are added to the list, or searched.




This bug report was last modified 1 year and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.