all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Luis O. Silva" <silva@paloma.spbu.ru>
Subject: dired-backup-diff can't find file
Date: Thu, 6 Jun 2002 12:21:09 +0400	[thread overview]
Message-ID: <15615.7029.997609.222436@localhost.localdomain> (raw)

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.

                 reply	other threads:[~2002-06-06  8:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15615.7029.997609.222436@localhost.localdomain \
    --to=silva@paloma.spbu.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.