From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: M-= in Dired Date: Mon, 10 Sep 2012 01:20:57 +0300 Organization: JURTA Message-ID: <87mx0ydelq.fsf@mail.jurta.org> References: <877gs52845.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347229278 2475 80.91.229.3 (9 Sep 2012 22:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 22:21:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 00:21:20 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TApsU-0000rM-2T for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2012 00:21:18 +0200 Original-Received: from localhost ([::1]:54592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TApsQ-0000q6-Hj for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2012 18:21:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TApsN-0000ow-P8 for emacs-devel@gnu.org; Sun, 09 Sep 2012 18:21:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TApsM-0002s3-W0 for emacs-devel@gnu.org; Sun, 09 Sep 2012 18:21:11 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:37279 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TApsL-0002nk-C8; Sun, 09 Sep 2012 18:21:09 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2885B451CCA5; Sun, 9 Sep 2012 15:21:06 -0700 (PDT) In-Reply-To: <877gs52845.fsf@gnu.org> (Chong Yidong's message of "Fri, 07 Sep 2012 22:57:46 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153205 Archived-At: > If there are no objections, I will simply unbind dired-backup-diff, and > improve the behavior of = (dired-diff) so that it uses any existing > backup file as the minibuffer input default, like M-x diff does. I think it's possible to do this in dired-diff without throwing away useful functionality of using as default a marked file or a file in adjacent windows (dwim-target). The top default value could be a backup file but remaining defaults could remain the same as before. PS: Since `diff-backup' uses `diff-latest-backup-file', would it be more correct to use it in `diff' and `dired-diff' instead of `file-newest-backup'?