GNU bug report logs - #15028
24.3.50; C-u M-x dired Lisp error: (wrong-type-argument stringp nil)

Previous Next

Package: emacs;

Reported by: Thomas Weickert <thomas.weickert <at> gmx.de>

Date: Mon, 5 Aug 2013 20:23:02 UTC

Severity: normal

Found in version 24.3.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Thomas Weickert <thomas.weickert <at> gmx.de>
Cc: 15028 <at> debbugs.gnu.org
Subject: bug#15028: 24.3.50; C-u M-x dired Lisp error: (wrong-type-argument stringp nil)
Date: Mon, 05 Aug 2013 16:33:55 -0400
Thomas Weickert wrote:

>   C-u M-x dired
>   with ls options '-alR' for any directory results in:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   file-name-absolute-p(nil)

I can't reproduce this, but I imagine this will fix it:

*** lisp/dired.el	2013-08-05 18:05:46 +0000
--- lisp/dired.el	2013-08-05 20:31:42 +0000
***************
*** 1225,1231 ****
        (save-excursion
  	(goto-char opoint)
  	(when (and (or hdr wildcard)
! 		   (not (and (looking-at-p "^  \\(.*\\):$")
  			     (file-name-absolute-p (match-string 1)))))
  	  ;; Note that dired-build-subdir-alist will replace the name
  	  ;; by its expansion, so it does not matter whether what we insert
--- 1225,1231 ----
        (save-excursion
  	(goto-char opoint)
  	(when (and (or hdr wildcard)
! 		   (not (and (looking-at "^  \\(.*\\):$")
  			     (file-name-absolute-p (match-string 1)))))
  	  ;; Note that dired-build-subdir-alist will replace the name
  	  ;; by its expansion, so it does not matter whether what we insert




This bug report was last modified 11 years and 293 days ago.

Previous Next


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