On Tue, Nov 3, 2015 at 5:34 PM, Eli Zaretskii wrote: > Both forms (and some additional ones) are perfectly canonical. It would be a matter of choosing one. > This isn't a xref-specific problem, so I think it should have a more > general solution that any package could use. It's not reasonable to > expect from every Emacs developer to be an expert on subtle aspects of > comparing Windows file names. We should provide a tested solution for > that. That would be helpful in general, but wouldn't help with the case that now, to compare two xref-location instances, you have to delve into their innards. Different problems. Unless you're proposing a variant of `equal' with better file-comparing abilities... which doesn't make sense because `equal-super-duper` wouldn't have a way to know that some things are filenames and not just arbitrary strings that match a filename just by happenstance...