From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Pohoyda Newsgroups: gmane.emacs.devel Subject: Re: dired: don't mark summary line Date: 30 Nov 2003 11:12:35 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87brqu5fn0.fsf@oak.pohoyda.family> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070187459 14228 80.91.224.253 (30 Nov 2003 10:17:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2003 10:17:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 30 11:17:36 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQOe0-0000aH-00 for ; Sun, 30 Nov 2003 11:17:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQOe0-0000Rl-00 for ; Sun, 30 Nov 2003 11:17:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AQPb9-0006ZZ-RU for emacs-devel@quimby.gnus.org; Sun, 30 Nov 2003 06:18:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AQPXK-0005Kt-41 for emacs-devel@gnu.org; Sun, 30 Nov 2003 06:14:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AQPWg-00059Y-28 for emacs-devel@gnu.org; Sun, 30 Nov 2003 06:14:37 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1AQPWf-00059R-G0 for emacs-devel@gnu.org; Sun, 30 Nov 2003 06:14:05 -0500 Original-Received: (qmail 27767 invoked by uid 65534); 30 Nov 2003 10:12:38 -0000 Original-Received: from p5084228D.dip0.t-ipconnect.de (EHLO oak.pohoyda.family) (80.132.34.141) by mail.gmx.net (mp006) with SMTP; 30 Nov 2003 11:12:38 +0100 X-Authenticated: #14602519 Original-Received: from oak.pohoyda.family (oak.pohoyda.family [127.0.0.1]) by oak.pohoyda.family (8.12.9/8.12.9) with ESMTP id hAUACaBZ000571; Sun, 30 Nov 2003 11:12:36 +0100 (CET) (envelope-from alexander.pohoyda@gmx.net) Original-Received: (from apog@localhost) by oak.pohoyda.family (8.12.9/8.12.9/Submit) id hAUACZsE000568; Sun, 30 Nov 2003 11:12:35 +0100 (CET) (envelope-from alexander.pohoyda@gmx.net) X-Authentication-Warning: oak.pohoyda.family: apog set sender to alexander.pohoyda@gmx.net using -f Original-To: Karl Eichwalder In-Reply-To: Original-Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18216 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18216 Karl Eichwalder writes: > Using the 'de' locale, dired wrongly marks the summary line; press 't' > (toggle) to see it: > > /media/sdb1/dcim/100pentx: > * insgesamt 42384 > * -rwxr-xr-x 1 ke users 704791 2003-11-23 12:10 imgp1178.jpg > * -rwxr-xr-x 1 ke users 753929 2003-11-23 12:10 imgp1179.jpg > ... > > Now pressing 'C' you will see an error as follows: Would this patch help? Index: dired.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/dired.el,v retrieving revision 1.270 diff -u -r1.270 dired.el --- dired.el 1 Nov 2003 17:48:00 -0000 1.270 +++ dired.el 30 Nov 2003 10:08:34 -0000 @@ -2383,7 +2383,7 @@ ;; Point must be at beginning of line ;; Should be equivalent to (save-excursion (not (dired-move-to-filename))) ;; but is about 1.5..2.0 times as fast. (Actually that's not worth it) - (or (looking-at "^$\\|^. *$\\|^. total\\|^. wildcard\\|^. used\\|^. find") + (or (looking-at "^$\\|^. *$\\|^. total\\|^. wildcard\\|^. used\\|^. find\\|^. insgesamt") (and (looking-at dired-subdir-regexp) (save-excursion (not (dired-move-to-filename)))))) -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44