Subject: Re: bug#77678: 31.0.50; Infloop in multi-isearch-read-files

From: Eli Zaretskii <[email-masked]>
Date: Wed, 09 Apr 2025 18:36:07 +0300

> From: Michael Heerdegen <[email-masked]>
> Cc: [email-masked]
> Date: Wed, 09 Apr 2025 15:13:20 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > What method did you have in mind?
> 
> `expand-file-name' both arguments?  I dunno whether this suffices when
> Tramp comes into play, though.

expand-file-name is a good starting point, yes.  If that's not enough,
then comparing the results with file-equal-p should do.  (If even that
doesn't work in all cases, there's probably more here than meets the
eye.)