all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: 24471@debbugs.gnu.org
Subject: bug#24471: 25.1.50; Error on empty PATH component
Date: Thu, 22 Sep 2016 22:30:09 +0300	[thread overview]
Message-ID: <83eg4benr2.fsf@gnu.org> (raw)
In-Reply-To: <87d1jv7p1r.fsf@Rainer.invalid> (message from Achim Gratz on Thu,  22 Sep 2016 20:44:00 +0200)

> From: Achim Gratz <Stromeko@nexgo.de>
> Date: Thu, 22 Sep 2016 20:44:00 +0200
> 
> Here's the (redacted) backtrace leading to the error I encountered.
> 
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   directory-file-name(nil)
>   mapcar(directory-file-name ("c:/WINDOWS/SYSTEM32/" "c:/WINDOWS/" "c:/WINDOWS/SYSTEM32/WBEM/" nil "c:/Local_Install/share/emacs-25.1/libexec/emacs/25.1/x86_64-w64-mingw32/"))
>   eval((mapcar (quote directory-file-name) (append (parse-colon-path (getenv "PATH")) (list exec-directory))))
>   custom-push-theme(theme-value exec-path user set (quote ("/usr/bin")))
>   custom-theme-set-variables(user ((exec-path (quote ("/usr/bin")))))
>   apply(custom-theme-set-variables user ((exec-path (quote ("/usr/bin")))))
>   custom-set-variables((exec-path (quote ("/usr/bin"))))
>   eval-buffer(#<buffer  *load*> nil "//server/Gratz/GNU/.emacs" nil t)  ; Reading at buffer position 3839

Thanks.  Does the patch below fix the problem?

diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 001d638..bd2b280 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -174,8 +174,10 @@ minibuffer-prompt-properties--setter
                         nil
                         :standard
                         (mapcar 'directory-file-name
-                                (append (parse-colon-path (getenv "PATH"))
-                                        (list exec-directory))))
+                                (delq nil
+                                      (append
+                                       (parse-colon-path (getenv "PATH"))
+                                       (list exec-directory)))))
 	     (exec-suffixes execute (repeat string))
 	     ;; charset.c
 	     (charset-map-path installation





  reply	other threads:[~2016-09-22 19:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-19 19:06 bug#24471: 25.1.50; Error on empty PATH component Achim Gratz
2016-09-19 19:14 ` Eli Zaretskii
2016-09-19 21:41   ` Achim Gratz
2016-09-19 21:59     ` Noam Postavsky
2016-09-22 18:44       ` Achim Gratz
2016-09-22 19:30         ` Eli Zaretskii [this message]
2016-09-22 20:10           ` Achim Gratz
2016-09-23  6:59             ` Eli Zaretskii
2016-09-23 15:54               ` Glenn Morris
2016-10-17  1:56                 ` Glenn Morris
2016-10-17 16:21                 ` Achim Gratz
2016-09-22 22:28           ` Noam Postavsky
2016-09-23  7:14             ` Eli Zaretskii
2016-10-17 16:25           ` Achim Gratz
2016-10-17 17:36             ` Eli Zaretskii
2016-10-17 18:16               ` Achim Gratz
2016-10-17 18:53                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83eg4benr2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24471@debbugs.gnu.org \
    --cc=Stromeko@nexgo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.