cd /tmp
mkdir real-dir
ln -s symlink real-dir
cd symlink
acme
In acme: win rc
In rc window: cd ../real-dir
Expected behavior
Tag begins with /tmp/real-dir/
Actual behavior
Tag begins with /tmp/symlink/
This is a problem because other files will resolve symlinks in the tag,
so if you left click a file address in rc that is already open,
acme opens a new window instead of going to that address in the existing one.
This can easily lead to loss of data if you edit a window that has outdated contents.
Reproduction steps:
In a shell:
In acme:
win rc
In rc window:cd ../real-dir
Expected behavior
Tag begins with /tmp/real-dir/
Actual behavior
Tag begins with /tmp/symlink/
This is a problem because other files will resolve symlinks in the tag, so if you left click a file address in rc that is already open, acme opens a new window instead of going to that address in the existing one. This can easily lead to loss of data if you edit a window that has outdated contents.