unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Stephen Berman <Stephen.Berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: dired-jump keybinding and autoload
Date: Sat, 10 May 2008 02:52:30 +0300	[thread overview]
Message-ID: <87lk2j83m1.fsf@jurta.org> (raw)
In-Reply-To: <87skws4w3l.fsf@escher.local.home> (Stephen Berman's message of "Thu, 08 May 2008 18:08:30 +0200")

>> C-x C-j arguably is something we want to provide by default, I think, so
>> it should probably be moved from dired-x to dired proper.
>
> ... I think this would be the best solution (for dired-jump; there are
> still one or two other autoloaded commands in dired-x that according to
> the logic of the expressed intention shouldn't be).

`C-x C-j' is a global key binding, unlike other dired keys.  But I agree
that dired-jump is useful enough to deserve its global key binding,
and I know no other package that would conflict with it.

The only drawback of this command is that it doesn't allow reading
an arbitrary file name.  I propose to change its argument so that
`C-u C-x C-j' will read the file name from the minibuffer (with the
default to the current file name), and keep the existing key binding
`C-x 4 C-j' to use the other window.  This change could be made
after copying dired-jump to dired.el, because anyway it requires
rewriting to get rid of dired-x specific code like using dired-omit-mode.

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




  reply	other threads:[~2008-05-09 23:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-08 12:59 dired-jump keybinding and autoload Stephen Berman
2008-05-08 14:12 ` Stefan Monnier
2008-05-08 14:36   ` David Kastrup
2008-05-08 16:08     ` Stephen Berman
2008-05-09 23:52       ` Juri Linkov [this message]
2010-05-18 22:59         ` Juri Linkov
2010-05-23 15:48           ` Wojciech Meyer
2010-05-23 16:04             ` Juri Linkov
2010-05-23 16:45               ` Drew Adams
2010-05-23 16:50                 ` Lennart Borgman
2010-05-23 17:11                   ` Drew Adams
2010-05-23 17:24                     ` Lennart Borgman
2010-05-23 18:14                       ` Drew Adams
2010-05-23 18:47                         ` Lennart Borgman
2010-05-23 20:56                           ` Drew Adams
2010-05-23 21:08                             ` Lennart Borgman
2010-05-24  1:01                   ` Stephen J. Turnbull
2010-05-24  1:30                     ` Lennart Borgman
2010-05-24  5:03                       ` Stephen J. Turnbull
2010-05-23 16:59               ` Leo
2010-05-24 16:00                 ` Juri Linkov
2010-05-24 16:17                   ` Lennart Borgman
2010-05-24 16:46                     ` Drew Adams
2010-05-24 16:53                       ` Lennart Borgman
2010-05-24 16:35                   ` Drew Adams
2010-05-24  5:05             ` Miles Bader
2010-05-24  7:19               ` Wojciech Meyer
2010-05-24 17:39                 ` Lennart Borgman
2010-05-25  6:35                 ` Miles Bader

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=87lk2j83m1.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=Stephen.Berman@gmx.net \
    --cc=emacs-devel@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 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).