bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19521: 25.0.50; EDE show "Wrong type argument: stringp, nil" when th


From: 孙林
Subject: bug#19521: 25.0.50; EDE show "Wrong type argument: stringp, nil" when there is a ".git" in the HOME directory
Date: Tue, 6 Jan 2015 03:21:14 +0000

Dear Pals:

I got an error message "Wrong type argument: stringp, nil" when try to
open an file in my home directory. The issue can simply reproduce
on Emacs-25.0 (develop version) with follow steps:
1. mkdir ~/.git
2. emacs -q
3. eval (global-ede-mode) and (ede-enable-generic-projects) to enable EDE and 
the EDE generic projects.
4. eval (find-file "~/a.el")

The step 4 will produce the message. After `toggle-debug-on-error, the 
backtrace list follow:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-as-directory(nil)
  #[(this dir) "\306!\307\n\310\"\211;\205
  apply(#[(this dir) "\306!\307\n\310\"\211;\205
  ede-auto-detect-in-dir([object ede-project-autoload "generic-git" "Git" 
ede/generic ".git" nil nil unbound nil ede-generic-load ede-generic-vc-project 
t nil t] nil)
  ede--detect-ldf-root-predicate("~/")
  locate-dominating-file("~/" ede--detect-ldf-root-predicate)
  ede--detect-scan-directory-for-project-root("~/" [object ede-project-autoload 
"generic-git" "Git" ede/generic ".git" nil nil unbound nil ede-generic-load 
ede-generic-vc-project t nil t])
  ede-detect-directory-for-project("/proj/mtk06057/")
  ede-directory-project-cons("/proj/mtk06057/")
  ede-initialize-state-current-buffer()
  ede-minor-mode(1)
  ede-turn-on-hook()
  run-hooks(find-file-hook)
  after-find-file(t t)
  find-file-noselect-1(#<buffer a.el> "~/a.el" nil nil "~/a.el" nil)
  find-file-noselect("~/a.el" nil nil nil)
  find-file("~/a.el")
  eval((find-file "~/a.el") nil)
  eval-expression((find-file "~/a.el") nil)
  funcall-interactively(eval-expression (find-file "~/a.el") nil)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

Please help investigate what's happened.

Best Regards
Lin Sun



************* Email Confidentiality Notice ********************
The information contained in this e-mail message (including any 
attachments) may be confidential, proprietary, privileged, or otherwise
exempt from disclosure under applicable laws. It is intended to be 
conveyed only to the designated recipient(s). Any use, dissemination, 
distribution, printing, retaining or copying of this e-mail (including its 
attachments) by unintended recipient(s) is strictly prohibited and may 
be unlawful. If you are not an intended recipient of this e-mail, or believe 
that you have received this e-mail in error, please notify the sender 
immediately (by replying to this e-mail), delete any and all copies of 
this e-mail (including any attachments) from your system, and do not
disclose the content of this e-mail to any other person. Thank you!

reply via email to

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