all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
Cc: 24089@debbugs.gnu.org
Subject: bug#24089: 25.1; Dired: diff error on = <RET> if the file has a backup inside .~/
Date: Fri, 29 Jul 2016 17:43:19 +0300	[thread overview]
Message-ID: <83bn1gqzco.fsf@gnu.org> (raw)
In-Reply-To: <1469792610.16323.47.camel@gmail.com> (message from Jorge Peixoto de Morais Neto on Fri, 29 Jul 2016 08:43:30 -0300)

> From: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
> Cc: 24089@debbugs.gnu.org
> Date: Fri, 29 Jul 2016 08:43:30 -0300
> 
> On Thu, 2016-07-28 at 18:05 +0300, Eli Zaretskii wrote:
> > It seems dired-diff was not prepared to deal with the situation where
> > the backup file is in another directory.  Does the patch below produce
> > good results?
> In my brief testing, the patch solves the problem only when = <RET> is invoked
> with point at the original file.  If it is invoked with point at the backup
> file (inside .~), a diff error still occurs.

I'm not sure why you expect that case to work.  How can Emacs
reverse-engineer backup-directory-alist, to figure out which of its
elements was in effect when the original file was backed up?  In your
example, there's only one element in the alist, but in general there
could be several.

It sounds like in this case the users cannot just press RET, they
should actually type a file name.  Am I missing something?





  reply	other threads:[~2016-07-29 14:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 18:42 bug#24089: 25.1; Dired: diff error on = <RET> if the file has a backup inside .~/ Jorge Peixoto de Morais Neto
2016-07-28 15:05 ` Eli Zaretskii
2016-07-29 11:43   ` Jorge Peixoto de Morais Neto
2016-07-29 14:43     ` Eli Zaretskii [this message]
2016-07-29 16:29       ` Jorge Peixoto de Morais Neto
2016-07-31 15:08         ` Eli Zaretskii
2016-08-03  2:04           ` Jorge Peixoto de Morais Neto
2016-08-06 10:18             ` Eli Zaretskii
2016-08-06 15:50               ` Jorge Peixoto de Morais Neto
2016-11-15 16:14               ` Jorge Morais Neto
2017-03-05 22:29                 ` Jorge Morais Neto
2017-03-06  3:33                   ` Eli Zaretskii
2020-08-24 17:17                 ` Lars Ingebrigtsen
2020-08-24 17:31                   ` Drew Adams

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=83bn1gqzco.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24089@debbugs.gnu.org \
    --cc=jorge13515@gmail.com \
    /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.