From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Luis O. Silva" Newsgroups: gmane.emacs.help Subject: dired-backup-diff can't find file Date: Thu, 6 Jun 2002 12:21:09 +0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <15615.7029.997609.222436@localhost.localdomain> Reply-To: "Luis O. Silva" NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1023351388 17448 127.0.0.1 (6 Jun 2002 08:16:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2002 08:16:28 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17FsRX-0004XJ-00 for ; Thu, 06 Jun 2002 10:16:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17FsNM-0003hC-00; Thu, 06 Jun 2002 04:12:08 -0400 Original-Received: from relay.wplus.net ([195.131.52.142]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17FsLq-0003ds-00 for ; Thu, 06 Jun 2002 04:10:34 -0400 X-Real-To: Original-Received: from emaile.wplus.net (email.wplus.net [195.131.52.155]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id MAA85612 for ; Thu, 6 Jun 2002 12:10:32 +0400 (MSD) Original-Received: by emaile.wplus.net with scanned-ok (WebPlus antispam mailer ) id 17FsLn-000DDr-00 for help-gnu-emacs@gnu.org; Thu, 06 Jun 2002 12:10:31 +0400 Original-Received: from [195.131.106.59] (helo=localhost.localdomain) by emaile.wplus.net with esmtp (WebPlus antispam mailer ) id 17FsLi-000DBk-00 for help-gnu-emacs@gnu.org; Thu, 06 Jun 2002 12:10:27 +0400 Original-To: help-gnu-emacs@gnu.org X-Mailer: VM 6.97 under Emacs 21.1.1 X-Virus-Scanned: by AVP (http://www.avp.ru/) X-IP: 195.131.106.59 X-From: silva@paloma.spbu.ru Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:409 Dear Emacs Community, I use Emacs 21.1.1 on Linux RH7.2. Recently I changed the way Emacs processes backup files putting the following in my .emacs file: (setq backup-directory-alist '((".+\\.tex$" . "~/backup/tex") ("/[^\\./]+\\..+$" . "~/backup/code") ("/[^\\.]+$" . "~/backup") ("/\\.." . "~/backup/dotfiles"))) ;; backup variables (setq version-control t kept-new-versions 5 kept-old-versions 5 ) All works fine and I was completely satisfied with this setup. However I can't use comparison of backup files in Dired. The function dired-backup-diff works fine when it compares the current file with its latest backup file. In this case, Emacs correctly finds the backup file in its correspondent directory. But, when the current file is itself a backup one, dired-backup-diff can't find the original file. It tries to find it in the current directory under an incorrect name and Diff exits abnormally. Is this a bug? May it be that I must do some other changes? Please help me to find out how to solve this problem, I'd be infinitely grateful. Regards, luis -- Luis Octavio Silva P. St. Petersburg State University. 66/3 Botanicheskaya St., Apt.119/2 Stary Peterhof St. Petersburg, Russia.