emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired: don't mark summary line


From: Alexander Pohoyda
Subject: Re: dired: don't mark summary line
Date: 30 Nov 2003 11:12:35 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Karl Eichwalder <address@hidden> 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 <address@hidden>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44




reply via email to

[Prev in Thread] Current Thread [Next in Thread]