Fuco1 / dired-hacks

Collection of useful dired additions
GNU General Public License v3.0
847 stars 76 forks source link

Why does `dired-open--start-process` use `file-truename` #218

Open mbork opened 2 months ago

mbork commented 2 months ago

It breaks my workflow (cf. https://xkcd.com/1172/), since it follows symlinks. Does anyone actually need that behavior? If not, can we avoid it? If yes, can we make it configurable?

Note: I'll be happy to actually provide a patch/PR if there is agreement as to what should be done.

Fuco1 commented 2 months ago

Does it break the working directory? I suppose if it's a symlink and we don't resolve it the application will do so anyway, so that's not really necessary. I think it was used to resolve relative paths, maybe there's a better way for that, if it is even necessary. To be honest I don't know. It was written in 2014 and haven't changed since.

I suppose you can try to change the function in your config and see if it works, then we can change it :shrug: