GNU bug report logs - #10445
24.0.92; patch: dired.el: mark files by regexp

Previous Next

Package: emacs;

Reported by: Eduard Wiebe <usenet <at> pusto.de>

Date: Fri, 6 Jan 2012 21:25:02 UTC

Severity: minor

Tags: patch

Found in version 24.0.92

Fixed in version 24.0.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10445 in the body.
You can then email your comments to 10445 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10445; Package emacs. (Fri, 06 Jan 2012 21:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eduard Wiebe <usenet <at> pusto.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 06 Jan 2012 21:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eduard Wiebe <usenet <at> pusto.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92; patch: dired.el: mark files by regexp
Date: Fri, 06 Jan 2012 22:17:32 +0100
[Message part 1 (text/plain, inline)]
 Hi all,

i want to suggest this simple patch:

[dired.el.patch (text/x-diff, inline)]
diff -r 068c58b8caca lisp/dired.el
--- a/lisp/dired.el	Thu Jan 05 09:03:42 2012 +0100
+++ b/lisp/dired.el	Thu Jan 05 09:07:14 2012 +0100
@@ -3103,8 +3103,8 @@
     (dired-mark-if
      (and (not (looking-at dired-re-dot))
 	  (not (eolp))			; empty line
-	  (let ((fn (dired-get-filename nil t)))
-	    (and fn (string-match regexp (file-name-nondirectory fn)))))
+	  (let ((fn (dired-get-filename t t)))
+	    (and fn (string-match regexp fn))))
      "matching file")))
 
 (defun dired-mark-files-containing-regexp (regexp &optional
marker-char)
[Message part 3 (text/plain, inline)]
With this patch i am able to mark entries in dired buffer even when these contain
directory parts. 

(Try `find-dired' in emacs.bzr/trunk/test and mark all
entries files in "automated/" entries.)

-- 
Eduard Wiebe

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 27 Jan 2012 21:43:02 GMT) Full text and rfc822 format available.

Notification sent to Eduard Wiebe <usenet <at> pusto.de>:
bug acknowledged by developer. (Fri, 27 Jan 2012 21:43:02 GMT) Full text and rfc822 format available.

Message #10 received at 10445-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10445-done <at> debbugs.gnu.org
Subject: Re: bug#10445: 24.0.92; patch: dired.el: mark files by regexp
Date: Fri, 27 Jan 2012 16:41:47 -0500
Version: 24.0.93

Thank you; applied.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Feb 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.