bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39349: browse-url-of-dired-file should respect directory symlinks


From: Lars Ingebrigtsen
Subject: bug#39349: browse-url-of-dired-file should respect directory symlinks
Date: Thu, 23 Jul 2020 16:05:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> LI> This function just needs to do the ../. thing.  Does Emacs have a
> LI> function that just does the right thing the ".." and "/" and does
> LI> absolutely nothing else?
>
> Not sure.

I couldn't find one, either.

Eli, the use case here is that we don't want to chase/resolve symlinks,
but we do want to have "/foo/bar/." -> "/foo/bar" and "/foo/bar/.." ->
"/foo".  Do you know whether such a utility function exists, by any
chance?  If not, would it make sense to add such a function?  (For all
other file names, the function would just return the parameter as is.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]