delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/11/13:14:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-CornellRouted: This message has been Routed already.
Message-ID: <511934F8.4040609@cornell.edu>
Date: Mon, 11 Feb 2013 13:14:16 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: vc-dir mode in emacs, vc-diff error when not marked file
References: <3185EFAF9C8F7B4E9DBDF56829BF7C782A44039A0B AT srv060ex01 DOT ssd DOT fsi DOT com> <51192F11 DOT 5010208 AT cornell DOT edu>
In-Reply-To: <51192F11.5010208@cornell.edu>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Mon Feb 11 13:14:15 2013
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2/11/2013 12:49 PM, Ken Brown wrote:
> On 2/11/2013 12:09 PM, Rockefeller, Harry wrote:
>> When using subversion 1.7.8-2 in emacs 24.2.93-1 "vc-dir" mode
>> and I "vc-dir-mark" a file then move cursor to a different file and
>> attempt "vc-diff" the diff is always performed on the marked file
>> and not the one under the cursor as I would expect.
>
> Why would you expect this?  In ordinary directory mode, commands are
> typically performed on the marked files, regardless of where the cursor
> is.  Is there documentation that says vc-dir should behave differently?
>
> BTW, this has nothing to do with Cygwin.  The behavior you described
> also occurs on Linux.

I just read the documentation for ordinary directory mode, and I learned 
that you can override the standard behavior by using a prefix argument. 
  For example, mark a file, move to a different file, and type `1 D'; 
emacs will offer to delete the current file instead of the marked one.

Maybe vc-dir is similar.  I haven't tested it.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019