From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: dired-backup-diff only diffs with the latest backup Date: Sun, 24 Nov 2002 18:23:17 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <87k7j4vxcc.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1038158552 8853 80.91.224.249 (24 Nov 2002 17:22:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2002 17:22:32 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18G0Sk-0002IX-00 for ; Sun, 24 Nov 2002 18:22:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G0UK-000205-00; Sun, 24 Nov 2002 12:24:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18G0Ti-0001gy-00 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2002 12:23:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18G0Tc-0001OL-00 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2002 12:23:26 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G0Tb-0001Ke-00 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2002 12:23:23 -0500 Original-Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 24BE71451E; Sun, 24 Nov 2002 18:23:22 +0100 (MET) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: Dan Jacobson X-Yow: I'm dressing up in an ill-fitting IVY-LEAGUE SUIT!! Too late... In-Reply-To: <87k7j4vxcc.fsf@jidanni.org> (Dan Jacobson's message of "24 Nov 2002 04:34:59 +0800") Original-Lines: 24 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (ia64-suse-linux) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3947 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3947 Dan Jacobson writes: |> ESC = runs the command dired-backup-diff |> Diff this file with its backup file or vice versa. ^^^^^^^^^^ |> Uses the latest backup, if there are several numerical backups. |> |> How inflexible. |> |> With prefix arg, prompt for argument SWITCHES which is options for `diff'. |> |> You could make this: if ARG is 1,2,3... diff with the next, second to |> next... latest backup. Otherwise prompt for switches. If ARG is -1 -2 |> -3... do the same as 1, 2, 3, but also prompt for switches. Not necessary. Just type M-= on the backup you want to diff with. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."