[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to open directory listing of current buffer ?
From: |
Drew Adams |
Subject: |
RE: how to open directory listing of current buffer ? |
Date: |
Tue, 25 Jun 2013 14:11:52 -0700 (PDT) |
> > Or: `M-x dired-jump'.
>
> I tried that in Gnus (from the buffer displaying your message) and
> I ended up in ~/.w3m - I get that not all buffers have files
> associated with them, but perhaps this should be communicated
> somehow instead of that kind of arbitrary (?) behaviour. Just a
> thought.
Consider filing a bug report: `M-x report-emacs-bug'.
For a starter, the doc string of `dired-jump' says what happens if "in a file"
or "in Dired", but not what happens otherwise.
Looking at the `dired-jump' code (from a recent 24 Dev snapshot), it seems that
`default-directory' is used for the otherwise case. That should at least be
documented.