all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: Dired patch for `i' - bounce between subdir line and its inserted listing
Date: Sun, 30 Mar 2008 21:35:53 +0300	[thread overview]
Message-ID: <87ej9sukpy.fsf@jurta.org> (raw)
In-Reply-To: <7dbe73ed0803291813t6d266884w7b0343e995f2c2fb@mail.gmail.com> (Mathias Dahl's message of "Sun, 30 Mar 2008 02:13:18 +0100")

>>  This provides a handy go-back behavior, letting you bounce
>>  back and forth between a subdirectory line and its inserted
>>  listing.  `i' on a non-directory file within a subdir
>>  listing acts the same as it does on the subdir's header
>>  line, so you need not be on the header line to bounce back:
>>  anywhere within the subdir listing will do.
>
> I would like this. Sometimes I manually call `i' on specific dirs and
> get tired of needing to do C-u C-SPC to get back.

You already can do this easily with `^'.  It have advantage of being
context-independent: it works everywhere in any part of the subdirectory
listing.  OTOH, overloading a clear meaning of `i' ("insert a subdir")
with more meanings will add inconsistencies.

> Double tapping `i' would be much more convenient. Maybe, maybe maybe
> maybe, should it also step one line down from the original dir line
> when jumping back, but that depends on how you use it I guess, it
> would fit my way of working with dirs in Dired. It has the
> disadvantage however that you cannot go back to the inserted dir again
> by tapping `i' for a third time.

It seems what you are trying to do here is to insert a group of
subdirectories.  Maybe, it would be much easier just to mark them
with e.g. `* /' (`dired-mark-directories') and type `i' to insert
them all at once into the same dired buffer.

-- 
Juri Linkov
http://www.jurta.org/emacs/




  reply	other threads:[~2008-03-30 18:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08 23:14 Dired patch for `i' - bounce between subdir line and its inserted listing Drew Adams
2008-03-30  1:13 ` Mathias Dahl
2008-03-30 18:35   ` Juri Linkov [this message]
2008-03-30 22:03     ` Mathias Dahl
2008-03-30 22:42       ` Juri Linkov
2008-03-31  7:54         ` Mathias Dahl
2008-03-30 22:51       ` Drew Adams
2008-03-30 23:53         ` Juri Linkov
2008-03-31  7:58           ` Mathias Dahl
2008-03-31  7:53         ` Mathias Dahl
2008-03-31 19:08           ` Richard Stallman
2008-03-31 19:23             ` Mathias Dahl

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=87ej9sukpy.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    /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.