Subject: Re: bug#70036 a fix that

From: João Távora <[email-masked]>
Date: Fri, 19 Apr 2024 13:03:56 +0100

On Fri, Apr 19, 2024 at 12:54 PM Eli Zaretskii <[email-masked]> wrote:
>
> > From: Theodor Thornhill <[email-masked]>
> > Cc: [email-masked], [email-masked]
> > Date: Fri, 19 Apr 2024 13:32:42 +0200
> >
> > I wonder - why can't we use just buffer-file-truename?
>
> buffer-file-truename records the _abbreviated_ file name, so it can
> depend on directory-abbrev-alist.  Whether this is important here, I
> don't know, but we must at least consider this caveat before we
> decide.

We definitely need a full, true, unabbreviated file name there.
That's what LSP servers like.