From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: assoc-delete-all Date: Tue, 05 Jul 2005 00:35:55 -0400 Message-ID: References: <42C7300C.8050104@student.lu.se> <87zmt3nsx8.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120539768 31058 80.91.229.2 (5 Jul 2005 05:02:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2005 05:02:48 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 07:02:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpfZv-0004pg-ML for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 07:02:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpfbA-0007Bg-OY for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 01:03:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpfTO-0004CH-5P for emacs-devel@gnu.org; Tue, 05 Jul 2005 00:55:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpfTE-00047e-Jp for emacs-devel@gnu.org; Tue, 05 Jul 2005 00:55:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpfTD-0003wk-Ki for emacs-devel@gnu.org; Tue, 05 Jul 2005 00:55:43 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpfI9-0000qO-2Q for emacs-devel@gnu.org; Tue, 05 Jul 2005 00:44:17 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DpfA3-0004pR-5U; Tue, 05 Jul 2005 00:35:55 -0400 Original-To: Juri Linkov In-reply-to: <87zmt3nsx8.fsf@jurta.org> (message from Juri Linkov on Mon, 04 Jul 2005 03:16:54 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40390 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40390 Well, assoc-delete-all will help to fix the bug in dired-compare-directories. Sometimes the number of marked files it reports is wrong. That's because it compares the file attributes of directories "." and "..", but dired mark-functions don't mark them. Is the following patch not right? *** dired-aux.el 03 Jul 2005 12:12:32 -0400 1.133 --- dired-aux.el 04 Jul 2005 15:01:37 -0400 *************** *** 136,141 **** --- 136,143 ---- (dired-file-set-difference file-alist2 file-alist1 predicate)))) + (setq file-list1 (delete "." (delete ".." file-list1))) + (setq file-list2 (delete "." (delete ".." file-list2))) (dired-fun-in-all-buffers dir1 nil (lambda ()