rumcii / emacs-nav

Automatically exported from code.google.com/p/emacs-nav
GNU General Public License v3.0
0 stars 0 forks source link

[patch] nav-invoke-dired ends up in wrong directory #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
nav-invoke-dired ("e") ended up in the directory of the currently displayed
buffer, not in the current directory of the *nav* buffer.  Patch attached.

Original issue reported on code.google.com by rudi@constantly.at on 19 Mar 2009 at 3:47

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry - here's a better patch that fixes nav-get-working-dir instead.

Original comment by rudi@constantly.at on 19 Mar 2009 at 3:54

Attachments:

GoogleCodeExporter commented 8 years ago
The patch is applied in revision 18. I applied it because it makes more sense 
than the existing code, even though 
I have not been able to reproduce the bug so far using emacs 22.1.1 on a Mac 
terminal. Thanks for the bug 
report and the patch.

Original comment by issac.tr...@gmail.com on 19 Mar 2009 at 5:19

GoogleCodeExporter commented 8 years ago
Thanks for applying!  Here's how I observed the bug:
1. M-x nav
2. In the main window, change to a buffer with a different default-directory 
than the *nav* buffer
3. Change to the *nav* buffer
4. Press "e".  A dired buffer appears, showing the directory of the file 
previously displayed in the main window, 
instead of the one in the *nav* buffer.

Original comment by rudi@constantly.at on 19 Mar 2009 at 7:08