Timeline for Stop dired opening second window of already open directory
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 28, 2014 at 3:59 | comment | added | Drew | The condition you are describing, of having multiple Dired buffers for the same directory, can be summarized this way: non-nil (cadr (dired-buffers-for-dir (expand-file-name DIRECTORY))). However that is arising, you can test for it this way. | |
| Sep 26, 2014 at 23:43 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 | focus on the actual question |
| Sep 25, 2014 at 7:38 | history | edited | Rainer | CC BY-SA 3.0 | Add explanation why behaviour was observed |
| Sep 25, 2014 at 7:35 | comment | added | Rainer | No - but I tried just now to open the same directory twice, and it switches to the already open window. But 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. I will add this to the question (which is not a question anymore as based on a user error. | |
| Sep 24, 2014 at 18:32 | comment | added | Vamsi | Have you customized any setting related to display-buffer or display-buffer-alist ? | |
| Sep 24, 2014 at 11:48 | comment | added | Malabarba | I'm confused, isn't this the default behaviour? When you say When I open a directory, what method are you using? | |
| Sep 24, 2014 at 11:41 | answer | added | rlazo | timeline score: 4 | |
| Sep 24, 2014 at 11:08 | answer | added | Kaushal Modi | timeline score: 0 | |
| Sep 24, 2014 at 11:03 | history | edited | Rainer | CC BY-SA 3.0 | change fired to dired |
| Sep 24, 2014 at 11:03 | comment | added | Rainer | This was the spellchecker...... fired=dired. | |
| Sep 24, 2014 at 10:51 | comment | added | Malabarba | Is fired a package? Or did you do the same typo 3 times? | |
| Sep 24, 2014 at 9:20 | comment | added | T. Verron | Pressing RET runs dired-find-file, which opens another buffer. dired-find-alternate-file reuses the current buffer, is that what you want? | |
| Sep 24, 2014 at 9:14 | history | asked | Rainer | CC BY-SA 3.0 |