Skip to main content
focus on the actual question
Source Link

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2><2>.

  How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory?

EDIT:.

I think I know now whyDired naturally does this when I haveopen the duplicates: whensame path twice. But I access the same directory via different paths (via symlinked paths), I seem to have the duplicates.

So it seems that dired only opens one window per directory. So this observed behaviour was based on a user error on my side.

How can I just leavereuse the question here as reference for other users who are wondering aboutsame window when I access the same behaviour.directory through different paths because of symbolic links?

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>.

  How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory?

EDIT:

I think I know now why I have the duplicates: when I access the same directory via different paths (via symlinked paths), I seem to have the duplicates.

So it seems that dired only opens one window per directory. So this observed behaviour was based on a user error on my side.

I just leave the question here as reference for other users who are wondering about the same behaviour.

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>. How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory.

Dired naturally does this when I open the same path twice. But I access the same directory via different paths (via symlinked paths), I seem to have the duplicates. How can I reuse the same window when I access the same directory through different paths because of symbolic links?

Add explanation why behaviour was observed
Source Link
Rainer
  • 917
  • 1
  • 10
  • 16

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>.

How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory?

EDIT:

I think I know now why I have the duplicates: when I access the same directory via different paths (via symlinked paths), I seem to have the duplicates.

So it seems that dired only opens one window per directory. So this observed behaviour was based on a user error on my side.

I just leave the question here as reference for other users who are wondering about the same behaviour.

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>.

How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory?

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>.

How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory?

EDIT:

I think I know now why I have the duplicates: when I access the same directory via different paths (via symlinked paths), I seem to have the duplicates.

So it seems that dired only opens one window per directory. So this observed behaviour was based on a user error on my side.

I just leave the question here as reference for other users who are wondering about the same behaviour.

change fired to dired
Source Link
Rainer
  • 917
  • 1
  • 10
  • 16

When I open a directory using dired and there is already the same directory opened in fireddired, a second one is opened with <2>.

How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set fireddired to use only one window, but I just do not want to have two fireddired windows for the same directory?

When I open a directory using dired and there is already the same directory opened in fired, a second one is opened with <2>.

How can inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set fired to use only one window, but I just do not want to have two fired windows for the same directory?

When I open a directory using dired and there is already the same directory opened in dired, a second one is opened with <2>.

How can I inhibit this creation of the duplicate window and switch to the existing one?

I know that I can set dired to use only one window, but I just do not want to have two dired windows for the same directory?

Source Link
Rainer
  • 917
  • 1
  • 10
  • 16
Loading