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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15028 in the body.
You can then email your comments to 15028 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#15028; Package emacs. (Mon, 05 Aug 2013 20:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Weickert <thomas.weickert <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Aug 2013 20:23:02 GMT) Full text and rfc822 format available.

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

From: Thomas Weickert <thomas.weickert <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; C-u M-x dired Lisp error: (wrong-type-argument stringp nil)
Date: Mon, 05 Aug 2013 22:12:10 +0200
Hi,

  $ emacs -Q

  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)
  dired-insert-directory("/home/thomas/software/emacs-git/emacs/" "-alR" nil nil t)
  dired-readin-insert()
  dired-readin()
  dired-internal-noselect("~/software/emacs-git/emacs/" "-alR")
  dired-noselect("~/software/emacs-git/emacs/" "-alR")
  dired("~/software/emacs-git/emacs/" "-alR")
  call-interactively(dired record nil)
  command-execute(dired record)
  execute-extended-command((4) "dired")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

bye Thomas




In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
 of 2013-08-05 on thomas-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.11303000
System Description:	Ubuntu 13.04

Configured using:
 `configure --prefix=/home/thomas/.prefix/emacs-2013-08-05
 --with-x-toolkit=gtk3 --without-dbus --without-gconf
 --without-gsettings'

Important settings:
  value of $LC_MONETARY: de_DE.UTF-8
  value of $LC_NUMERIC: de_DE.UTF-8
  value of $LC_TIME: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x t o g <tab> d e <tab> e r <tab> <return> C-u M-x 
d i r e d <return> R <return> s o <tab> e m <tab> e 
m <tab> <return> M-x r e p o <tab> r <tab> <return
>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Debug on Error enabled globally
Entering debugger...
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils help-mode easymenu debug dired cus-start cus-load
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
gfilenotify dynamic-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)

-- 
testsignature




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15028; Package emacs. (Mon, 05 Aug 2013 20:34:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Thomas Weickert <thomas.weickert <at> gmx.de>
Cc: 15028 <at> debbugs.gnu.org
Subject: Re: 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15028; Package emacs. (Tue, 06 Aug 2013 00:53:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Thomas Weickert <thomas.weickert <at> gmx.de>, 15028 <at> debbugs.gnu.org
Subject: Re: bug#15028: 24.3.50; C-u M-x dired Lisp error: (wrong-type-argument
 stringp nil)
Date: Tue, 6 Aug 2013 02:52:03 +0200
On Mon, Aug 5, 2013 at 10:33 PM, Glenn Morris <rgm <at> gnu.org> wrote:

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

> !                  (not (and (looking-at-p "^  \\(.*\\):$")
>                              (file-name-absolute-p (match-string 1)))))

Oops, sorry, I missed that match-string call.




bug closed, send any further explanations to 15028 <at> debbugs.gnu.org and Thomas Weickert <thomas.weickert <at> gmx.de> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 06 Aug 2013 02:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Sep 2013 11:24:03 GMT) Full text and rfc822 format available.

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.