From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: New function: vc-ediff Date: Sat, 12 Mar 2011 08:05:56 -0700 Message-ID: <86tyf8nzu3.fsf@gmail.com> References: <4D785193.3030201@gmail.com> <4D79A736.6080707@gmail.com> <831v2cu40y.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299942377 16077 80.91.229.12 (12 Mar 2011 15:06:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2011 15:06:17 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 12 16:06:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PyQOR-0005sQ-KL for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2011 16:06:11 +0100 Original-Received: from localhost ([127.0.0.1]:47160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyQOQ-0007xN-Ku for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2011 10:06:10 -0500 Original-Received: from [140.186.70.92] (port=51456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyQOK-0007vB-KZ for emacs-devel@gnu.org; Sat, 12 Mar 2011 10:06:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyQOJ-00063C-R6 for emacs-devel@gnu.org; Sat, 12 Mar 2011 10:06:04 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:47070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyQOI-00062j-AV; Sat, 12 Mar 2011 10:06:02 -0500 Original-Received: by iyf13 with SMTP id 13so4641523iyf.0 for ; Sat, 12 Mar 2011 07:06:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=pkHZUK6o8Zxi4vpuyKMCphhU9IFrM2BQEXddQX5v+68=; b=NRiQiHtkN2sNggLI/z4AufZBceSl/kk4imv3c0xyghdQA2pPwFqg4ouy1jDTYKwzJN 41YCrusQ7MZgo8IR1acDdExEdcRUrP4cOb8Y3YQhAtRGz9JNoTyU8FI+4j6K81n11j5p dJvVBNnt4L9rHt6ALaI/3YoIoNaAij64bM93o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=TcO03mhPo7EA5QxJjycpFkO8jOhEC/qt57Gvftx1iUQz435ECRiwP3nO9UZnHxotmW 9VcxR97E3c3PPstlBKbZgqN/7PMLGUqOwqQm4O0frpgwoD/2CsQKsc8C6YnvggapX5UU mjKHbK4pYS+OEh3hoxcApF+lX7wRMhWJPGmD8= Original-Received: by 10.42.19.134 with SMTP id c6mr13304931icb.507.1299942361171; Sat, 12 Mar 2011 07:06:01 -0800 (PST) Original-Received: from localhost (71-208-131-84.hlrn.qwest.net [71.208.131.84]) by mx.google.com with ESMTPS id d10sm4596542ibb.0.2011.03.12.07.05.59 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Mar 2011 07:06:00 -0800 (PST) In-Reply-To: <831v2cu40y.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Mar 2011 10:38:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:137153 Archived-At: Hi Eli, Eli Zaretskii writes: > But when the command is invoked out of VC context, like from some > unrelated buffer, it might be a good idea to ask, because the user > could have something very different in mind than to diff the current > buffer's file. What do you mean by `out of VC context'? > IIUC, vc-ediff, as written, does not allow me to specify the file for > which to show the diffs (unless I invoke it with a prefix argument). > It assumes that I want to diff the file visited by the current > buffer. I'm not sure this is the best default in this case. My initial intention was to provide an `ediff' equivalent to `vc-diff', which works on what has been deduced by `vc-deduce-fileset', i.e. the current buffer or the selection in `vc-dir'. Christoph