Is there a way in emacs to open a file (or a
dired directory) in a new buffer, even if there's a buffer with the same file (or directory)?
find-alternate-file always return the open buffer instead of creating a new one.
EDIT: The use case I have is that I am using
dired-single to navigate through directories using a single buffer (so that new directories are opened in the same buffer using
However, if I have two separate buffers for two different directories (which I do when copying files from directory to another, for example) and I navigate in one buffer to the directory of the other, I end up with a single buffer and two frames. I would instead like to have two separate buffers showing the same directory. Much like what happens when I explore directories in my file explorer.