From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: view whole tree
Date: Wed, 16 Feb 2011 01:03:27 -0800 [thread overview]
Message-ID: <AANLkTinT9mhpBuo3PGNfonVeAzsyQeeJ8MvQ6YOFMT02@mail.gmail.com> (raw)
In-Reply-To: <0196F823-837F-4B2A-91FA-87A6358EE8E1@gmail.com>
On Wed, Feb 16, 2011 at 12:42 AM, Andrea Crotti
<andrea.crotti.0@gmail.com> wrote:
> I would like to be able to see (in dired) the whole directory structure of my directory
>
> A simple way is probably to pass the right result of "ls" to dired, but maybe there are more
> general and smarter solutions already implemented.
>
> I think I've read somewhere it was possible but I can't find it anywhere in the doc..
>
Maybe you can recursively insert subdirectories?
`C-h k i' in dired gives the following,
> i runs the command dired-maybe-insert-subdir, which is an interactive
> compiled Lisp function in `dired-aux.el'.
>
> It is bound to i, <menu-bar> <subdir> <insert>.
>
> (dired-maybe-insert-subdir DIRNAME &optional SWITCHES
> NO-ERROR-IF-NOT-DIR-P)
>
> Insert this subdirectory into the same dired buffer.
> If it is already present, just move to it (type l to refresh),
> else inserts it at its natural place (as `ls -lR' would have done).
> With a prefix arg, you may edit the ls switches used for this listing.
> You can add `R' to the switches to expand the whole tree starting at
> this subdirectory.
> This function takes some pains to conform to `ls -lR' output.
>
> Dired remembers switches specified with a prefix arg, so that reverting
> the buffer will not reset them. However, using `dired-undo' to re-insert
> or delete subdirectories can bypass this machinery. Hence, you sometimes
> may have to reset some subdirectory switches after a `dired-undo'.
> You can reset all subdirectory switches to the default using
> M-x dired-reset-subdir-switches.
> See Info node `(emacs)Subdir switches' for more details.
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2011-02-16 9:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 8:42 view whole tree Andrea Crotti
2011-02-16 9:03 ` suvayu ali [this message]
[not found] <mailman.2.1297845785.28213.help-gnu-emacs@gnu.org>
2011-02-16 9:59 ` José A. Romero L.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinT9mhpBuo3PGNfonVeAzsyQeeJ8MvQ6YOFMT02@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.