From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#24471: 25.1.50; Error on empty PATH component Date: Thu, 22 Sep 2016 20:44:00 +0200 Organization: Linux Private Site Message-ID: <87d1jv7p1r.fsf@Rainer.invalid> References: <83intrhfc7.fsf@gnu.org> <87ponzlnep.fsf@Rainer.invalid> <87h99blg8d.fsf@Rainer.invalid> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474573738 419 195.159.176.226 (22 Sep 2016 19:48:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2016 19:48:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: 24471@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 22 21:48:54 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn9zE-0007Gk-Lx for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Sep 2016 21:48:48 +0200 Original-Received: from localhost ([::1]:59337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn9zD-0006GA-0a for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Sep 2016 15:48:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn8za-00060D-Lv for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn8zW-0007FB-JX for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn8zW-0007F7-Gd for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bn8zW-0007O6-Bq for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:45:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87ponzlnep.fsf@Rainer.invalid> Resent-From: Achim Gratz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2016 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147456987728353 (code B ref -1); Thu, 22 Sep 2016 18:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Sep 2016 18:44:37 +0000 Original-Received: from localhost ([127.0.0.1]:60932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn8z7-0007NE-1O for submit@debbugs.gnu.org; Thu, 22 Sep 2016 14:44:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn8z5-0007Mx-Kd for submit@debbugs.gnu.org; Thu, 22 Sep 2016 14:44:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn8yz-0006yB-K7 for submit@debbugs.gnu.org; Thu, 22 Sep 2016 14:44:30 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn8yz-0006wq-HC for submit@debbugs.gnu.org; Thu, 22 Sep 2016 14:44:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn8yx-0005Om-3S for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:44:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn8yr-0006st-UG for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:44:26 -0400 Original-Received: from [195.159.176.226] (port=54376 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn8yr-0006qx-NK for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 14:44:21 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bn8ye-0002ur-Rw for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 20:44:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 75 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:F52En6yqmAezjHpqVqvP1CfZXtc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123559 Archived-At: Noam Postavsky writes: > (Extra ";" in PATH result in "." in exec-path, which may be wrong but > does not trigger an error.) That's another bug, I think, due to folding POSIX and Windows functionality. Empty PATH elements mean "." in POSIX, but to the best of my knowledge, they don't mean anything special on Windows, so they should be removed or ignored. 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(# nil "//server/Gratz/GNU/.emacs" nil t) ; Reading at buffer position 3839 load-with-code-conversion("//server/Gratz/GNU/.emacs" "//server/Gratz/GNU/.emacs" t t) load("~/.emacs" t t) [compiled] command-line() normal-top-level() In GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --without-dbus --without-compress-install CFLAGS=-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: DEU locale-coding-system: cp1252 Major mode: Debugger Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-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 messages: Loading time...done Entering debugger... --8<---------------cut here---------------end--------------->8--- Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada