When I doom sync and doom/reload, the appearance of the first of these local paths—and just the first one—changes to omit the last few segments, replacing them with “…”. The real path is there, though; if I copy it to my clipboard I get the full path, and I can see it as expected outside of emacs. The affected path is identical to the second one, which is not affected.
I’ve tried org-reveal on it, although I’m not in org-mode, and as expected it doesn’t do anything.
What did you expect to happen?
I would like to just see the path as it is in the file, without any modifications or replacements, as I see all other paths.
to summarize it (based on my not-so-great elisp knowledge):
Doom configures a function +emacs-lisp-truncate-pin that searches for :pin and then looks at the pin string, skipping a few characters. The function saves the beginning and end of the string it wants to hide and then instructs Emacs to display “…” instead.
This function is added to the font-lock-keywords in doomemacs/config.el at 4e105a95af9c4c7e86471e5566eb7a5ff776ec92 · doomemacs/doomemacs · GitHub.
To turn it off, you can override the function that enables the displaying as you’re doing it right now or remove the “assignment” to font-lock-keywords. The latter looks harder to do to me.