unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "Juri Linkov" <juri@jurta.org>
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: Mon, 31 Mar 2008 00:03:51 +0200	[thread overview]
Message-ID: <7dbe73ed0803301503o619ce687l6995e09bbc152fee@mail.gmail.com> (raw)
In-Reply-To: <87ej9sukpy.fsf@jurta.org>

>  You already can do this easily with `^'.

Oh? I use that to "back up" all the time but never thought of using it
in that context. Cool!

>  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.

I just found a problem with this, maybe that is what you find
inconsistent: sometimes when inserting a dir you end up on another dir
and sometimes a normal file. This means that double tapping `i' would
not always take me back to where I came from because some of the times
it would insert a sub dir instead. We should not mess up the user's
ability to get a muscle memory of an operation like this (i.e. he
cannot rely on double tapping `i' doing the same thing each time, he
needs to know the content of the dir to insert to know what is going
to happen).

I am therefore removing my vote for this change.

>  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.

Yes, if `i' could do that I would probably use that, but it does not
work that way now.




  reply	other threads:[~2008-03-30 22:03 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
2008-03-30 22:03     ` Mathias Dahl [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7dbe73ed0803301503o619ce687l6995e09bbc152fee@mail.gmail.com \
    --to=mathias.dahl@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).