From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jorge Peixoto de Morais Neto Newsgroups: gmane.emacs.bugs Subject: bug#24089: 25.1; Dired: diff error on = if the file has a backup inside .~/ Date: Tue, 02 Aug 2016 23:04:24 -0300 Message-ID: <1470189864.29404.3.camel@gmail.com> References: <1469644946.16323.9.camel@gmail.com> <83popxrefr.fsf@gnu.org> <1469792610.16323.47.camel@gmail.com> <83bn1gqzco.fsf@gnu.org> <1469809763.28832.14.camel@gmail.com> <838twhq1zb.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1470189924 23307 195.159.176.226 (3 Aug 2016 02:05:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2016 02:05:24 +0000 (UTC) Cc: 24089@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 03 04:05:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUlYc-0005V2-NL for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Aug 2016 04:05:18 +0200 Original-Received: from localhost ([::1]:59732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUlYZ-00077A-8c for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Aug 2016 22:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUlYR-00075T-Dy for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 22:05:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUlYM-0006B8-DJ for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 22:05:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUlYM-0006B3-89 for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 22:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUlYL-0007Fd-RE for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2016 22:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jorge Peixoto de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Aug 2016 02:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24089 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24089-submit@debbugs.gnu.org id=B24089.147018988327848 (code B ref 24089); Wed, 03 Aug 2016 02:05:01 +0000 Original-Received: (at 24089) by debbugs.gnu.org; 3 Aug 2016 02:04:43 +0000 Original-Received: from localhost ([127.0.0.1]:53967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUlY3-0007F4-BK for submit@debbugs.gnu.org; Tue, 02 Aug 2016 22:04:43 -0400 Original-Received: from mail-qt0-f178.google.com ([209.85.216.178]:33582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUlY1-0007Es-Mw for 24089@debbugs.gnu.org; Tue, 02 Aug 2016 22:04:42 -0400 Original-Received: by mail-qt0-f178.google.com with SMTP id w38so134888413qtb.0 for <24089@debbugs.gnu.org>; Tue, 02 Aug 2016 19:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=yPgyD0azZ4jh8cC7y33ezGzYuDyyj/Bwc1vnOgu5IR8=; b=rbltlp7jn51XCpJgEsOx2Qj6VyZwCGY3cOkssB5/NfCaDrhW5bfXvVBcehNnaJS4mn 71JVHpwZyjrFsRX03F5ys8pZ3r0VZcVZmq8AOLQiWtOfudjkfjXW1ejg0/Aeqh7LekXc Dq7lIA9Fw5dGkZhhgiSKnZXWuVUaNQ4+Vw5Hgqy/sNfRyLj4cypHlswMadZbQrkOanbm nHtMRpbaNRsJNyDTBbpNR2o554DkzZZVgbzLTgZtTKdwP991qgJAcz2ga15KJBmVQLLx 5bZ/luGCaEKEYZyhulciUUwzeA3AHQfJw/HBxPIo3eZlkXwhcw7oTrE0D+P9FyPYtKF/ JhFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=yPgyD0azZ4jh8cC7y33ezGzYuDyyj/Bwc1vnOgu5IR8=; b=Fvzr7OuBwJZ7zeCntAfpfZ7l/pODdFYN16JyugEKA6XOOeN/yP/QPg9As1MUyY/nvj +HEIyRYo5CoYrYhd3bxYPwQt6bytt0RbOYV/isrMdJIEpU+ssO0psxUKna7UmKvRNIME axoT3TVywbw4jvROT7Z8fE1mNx7ssHUm7bSph8xuSTYTutPdI6FjEYCsGHHa9yvKjZKE fUoCqBbbavvwvABblM7fV+rT6fBwItzGUP+t7qdVNkh0P0CHHwaC51d9MMtqbFtZtCvd Y3L0cGYuVy78OOob6bo6M3jr1ExpzWhjjz8LARtrwnyNPBR7HUSN3/xv8sf5HREnSxFu EFzw== X-Gm-Message-State: AEkoouvpvFVfQEwgDXQ4fucsZkMOTU0p4YG+1mnS36ob3paI/0K12RSXBJ8Kry8hEFYt4Q== X-Received: by 10.200.56.253 with SMTP id g58mr104482720qtc.28.1470189876102; Tue, 02 Aug 2016 19:04:36 -0700 (PDT) Original-Received: from [192.168.0.17] ([191.176.103.124]) by smtp.googlemail.com with ESMTPSA id 95sm2960657qkx.15.2016.08.02.19.04.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Aug 2016 19:04:35 -0700 (PDT) In-Reply-To: <838twhq1zb.fsf@gnu.org> X-Mailer: Evolution 3.18.5.2-0ubuntu3 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121795 Archived-At: On Sun, 2016-07-31 at 18:08 +0300, Eli Zaretskii wrote: > How about the alternative patch below?  It fixes the doc string, and > makes the prompt be without the default in the second case.  Is that > good enough, in your opinion? This new patch is better.  This is already good.  There is one more tweak that maybe could make it even better: with this latest patch, if the user types = in the backup file then Emacs says    Attempt to compare the file to itself Wouldn't it be better if dired-diff refused the minibuffer input if it is not a valid file?  This way, if the user types = , Emacs will display "[no match]", which would be more precise. Regards -- • I am Brazilian.  I hope my English is correct and I welcome corrections. • Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. • Free (as in free speech) software for Android: https://f-droid.org/