GNU bug report logs - #7349
24.0.50; "e" should work in vc-dir-mode

Previous Next

Package: emacs;

Reported by: rogers-emacs <at> rgrjr.dyndns.org

Date: Sat, 6 Nov 2010 21:17:01 UTC

Severity: minor

Found in version 24.0.50

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7349 in the body.
You can then email your comments to 7349 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7349; Package emacs. (Sat, 06 Nov 2010 21:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to rogers-emacs <at> rgrjr.dyndns.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 06 Nov 2010 21:17:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: rogers-emacs <at> rgrjr.dyndns.org
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; "e" should work in vc-dir-mode
Date: Sat, 6 Nov 2010 17:20:51 -0400
   It has long annoyed me that "e" finds the file in dired-mode, but
just beeps in vc-dir-mode.  The patch below rectifies the situation.

					-- Bob Rogers
					   http://www.rgrjr.com/

------------------------------------------------------------------------
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 4397251..5c8b690 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -266,6 +266,7 @@ See `run-hooks'."
     (define-key map [C-up] 'vc-dir-previous-directory)
     ;; The remainder.
     (define-key map "f" 'vc-dir-find-file)
+    (define-key map "e" 'vc-dir-find-file)	;; dired-mode compatibility.
     (define-key map "\C-m" 'vc-dir-find-file)
     (define-key map "o" 'vc-dir-find-file-other-window)
     (define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process)




Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 07 Nov 2010 00:44:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 03 Mar 2011 07:34:02 GMT) Full text and rfc822 format available.

Notification sent to rogers-emacs <at> rgrjr.dyndns.org:
bug acknowledged by developer. (Thu, 03 Mar 2011 07:34:03 GMT) Full text and rfc822 format available.

Message #12 received at 7349-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 7349-done <at> debbugs.gnu.org
Subject: Re: 24.0.50; "e" should work in vc-dir-mode
Date: Thu, 03 Mar 2011 02:32:55 -0500
Version: 24.1

rogers-emacs <at> rgrjr.dyndns.org wrote:

>    It has long annoyed me that "e" finds the file in dired-mode, but
> just beeps in vc-dir-mode.  The patch below rectifies the situation.

OK, be annoyed no longer.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7349; Package emacs. (Fri, 04 Mar 2011 04:34:02 GMT) Full text and rfc822 format available.

Message #15 received at 7349 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 7349 <at> debbugs.gnu.org
Cc: rgm <at> gnu.org
Subject: Re: bug#7349: 24.0.50; "e" should work in vc-dir-mode
Date: Thu, 03 Mar 2011 23:33:27 -0500
>> It has long annoyed me that "e" finds the file in dired-mode, but
>> just beeps in vc-dir-mode.

vc-dir-mode lacks many of dired bindings.  That's one of the reasons to
have a different mode.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7349; Package emacs. (Fri, 04 Mar 2011 05:09:01 GMT) Full text and rfc822 format available.

Message #18 received at 7349 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7349 <at> debbugs.gnu.org
Subject: Re: bug#7349: 24.0.50; "e" should work in vc-dir-mode
Date: Fri, 04 Mar 2011 00:08:38 -0500
Stefan Monnier wrote:

> vc-dir-mode lacks many of dired bindings.  That's one of the reasons to
> have a different mode.

Don't know what that means. Feel free to revert and tag this wontfix.
(Being small-minded, I like consistency.)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7349; Package emacs. (Sat, 05 Mar 2011 04:00:04 GMT) Full text and rfc822 format available.

Message #21 received at 7349 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7349 <at> debbugs.gnu.org
Subject: Re: bug#7349: 24.0.50; "e" should work in vc-dir-mode
Date: Fri, 04 Mar 2011 22:59:05 -0500
>> vc-dir-mode lacks many of dired bindings.  That's one of the reasons to
>> have a different mode.
> Don't know what that means. Feel free to revert and tag this wontfix.
> (Being small-minded, I like consistency.)

That it's also good to keep keys open for future use.
I'm not asking to revert the change, just pointing out that we should
not do those things too lightly.  VC-dir hasn't seen much improvement
and is still *very* primitive, sadly, but there's a lot of room for
improvement and this might end up wanting a lot of keys.


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Apr 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.