all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: Juri Linkov <juri@jurta.org>, emacs-devel@gnu.org
Subject: Re: Dired patch for `i' - bounce between subdir line and its inserted listing
Date: Mon, 31 Mar 2008 09:53:02 +0200	[thread overview]
Message-ID: <7dbe73ed0803310053u14071bbdq66408c850c673313@mail.gmail.com> (raw)
In-Reply-To: <003701c892b8$a99aa060$0200a8c0@us.oracle.com>

>  It's not about double-tapping. That was never described as the purpose of the
>  patch. Similarly, always taking you back where you came from was never described
>  as the purpose of the patch.

Sorry for reading my thoughts into your proposal.

>  With or without the patch, `i' always inserts a directory when used on a
>  directory line. That's a feature (the original behavior of `i'), not a bug.

Yes, it is not a bug.

>  The question is what `i' should do when it is _not_ on a directory line. In
>  vanilla Emacs without the proposed patch it just raises an error: "Attempt to
>  insert a non-directory: c:/foo/bar/toto.el". With the patch, it goes to the
>  parent directory line, if there is one, in the same Dired buffer. Which of these
>  behaviors is more useful? That's the only question, because that's the only
>  change the patch makes.

I can only describe how I work and I would not use the patched `i' in
that way. I would have liked it for the double tap thingy but now that
I realized that have bad side effects I would not like it anymore :) I
would never use `i' on a non-dir line outside the context of inserting
the same dir. That's not saying other would not like it, of course.
Now that I know about `^' doing what I want I will probably start to
use that. It is unlikely that I do this on the top level by mistake so
it will work for me I think.




  parent reply	other threads:[~2008-03-31  7:53 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
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 [this message]
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=7dbe73ed0803310053u14071bbdq66408c850c673313@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 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.