From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarek Czekalski Newsgroups: gmane.emacs.bugs Subject: bug#15461: 24.3; exec-path on ms windows should contain current directory Date: Wed, 25 Sep 2013 15:24:58 +0200 Message-ID: <5242E42A.4050109@poczta.onet.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380115578 4772 80.91.229.3 (25 Sep 2013 13:26:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2013 13:26:18 +0000 (UTC) To: 15461@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 25 15:26:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VOp6h-0001Dx-R7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Sep 2013 15:26:20 +0200 Original-Received: from localhost ([::1]:52731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOp6h-0000s0-28 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Sep 2013 09:26:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOp6X-0000j3-Nc for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:26:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOp6S-0002G5-7t for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:26:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOp6S-0002G0-3Z for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:26:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VOp6R-0008GB-4c for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jarek Czekalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Sep 2013 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138011552431702 (code B ref -1); Wed, 25 Sep 2013 13:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Sep 2013 13:25:24 +0000 Original-Received: from localhost ([127.0.0.1]:34925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VOp5l-0008FE-NV for submit@debbugs.gnu.org; Wed, 25 Sep 2013 09:25:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59939) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VOp5f-0008F0-99 for submit@debbugs.gnu.org; Wed, 25 Sep 2013 09:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOp5Z-00023h-L2 for submit@debbugs.gnu.org; Wed, 25 Sep 2013 09:25:15 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:45231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOp5Z-00023d-IJ for submit@debbugs.gnu.org; Wed, 25 Sep 2013 09:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOp5U-0007yb-CN for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOp5P-0001dh-7N for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:25:04 -0400 Original-Received: from smtpo13.poczta.onet.pl ([213.180.142.144]:50525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOp5O-0001dU-Oa for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2013 09:24:59 -0400 Original-Received: from [192.168.17.9] (cj.e-siemianowice.pl [95.215.234.30]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jarekczek@poczta.onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3clKkc40xKzYkjNV for ; Wed, 25 Sep 2013 15:24:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poczta.onet.pl; s=2011; t=1380115496; bh=BWA25Fpb8hzBop85XnPshH6kpbAsyWLtGBDB/2NQcIE=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=eihvz2YJ+V6R1OLsZCbRD3wSTjAI9znvW7hm9P+WxCDjLHSzWq4oEO81B1Lzt+enH ZYgU6wOkILPPpXSA7AmFaRgtaA4P6BjxLfZa6TmukTChvexWL0bHyik6TpvOlbNNEY dHhUqT0UxBSFuECoG0zJzzeQ5aGq048En7ccNEsA= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78729 Archived-At: To be consistent with the native shell on Microsoft Windows, the exec-path should include current directory. I can do that in my init.el, but I think this should be a standard. Steps to reproduce: 1. On Windows edit file test.bat, save it 2. M-x shell-command 3. test.ba Expected behaviour: 4. autocomplete to test.bat Current behaviour: 4. [No match] If the idea gets accepted then I have a following question: Should I prepare a patch for that or you prefer to fix it by yourselves? Best regards Jarek In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: pl locale-coding-system: cp1250 default enable-multibyte-characters: t Major mode: Ibuffer Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t global-whitespace-mode: t global-hl-line-mode: t recentf-mode: t 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: z y c j e ( i ) . s w w SPC ! =3D SPC " B R A K " SPC SPC e n d i f C-x C-s M-! s v n SPC d i f f C-SPC M-w C-SPC C-y C-x C-s _ o o SPC O o C-x C-s M-! M-! M-! s v n SPC d i f f M-! 4 C-x C-s C-x C-b m m m m m m m m m m m m m m m m D y M-x r e p o r Recent messages: Operation finished; killed 16 buffers Load-path shadows: None found. Features: (shadow sort 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 mail-utils debug cus-edit nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok info cl-macs gv cl cl-lib thingatpt find-func two-column iso-transl mule-diag help-fns etags vc-dispatcher vc-svn apropos vc-git bookmark pp ffap url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache url-vars ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff diff-mode easy-mmode dired-aux shell pcomplete grep compile comint ansi-color ring dired help-mode tmm electric ibuf-ext ibuffer misearch multi-isearch whitespace hl-line cus-start cus-load edmacro kmacro recentf tree-widget wid-edit easymenu server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-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 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 w32 multi-tty emacs) In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: pl locale-coding-system: cp1250 default enable-multibyte-characters: t Major mode: Ibuffer Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t global-whitespace-mode: t global-hl-line-mode: t recentf-mode: t 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: z y c j e ( i ) . s w w SPC ! =3D SPC " B R A K " SPC SPC e n d i f C-x C-s M-! s v n SPC d i f f C-SPC M-w C-SPC C-y C-x C-s _ o o SPC O o C-x C-s M-! M-! M-! s v n SPC d i f f M-! 4 C-x C-s C-x C-b m m m m m m m m m m m m m m m m D y M-x r e p o r Recent messages: Operation finished; killed 16 buffers Load-path shadows: None found. Features: (shadow sort 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 mail-utils debug cus-edit nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok info cl-macs gv cl cl-lib thingatpt find-func two-column iso-transl mule-diag help-fns etags vc-dispatcher vc-svn apropos vc-git bookmark pp ffap url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache url-vars ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff diff-mode easy-mmode dired-aux shell pcomplete grep compile comint ansi-color ring dired help-mode tmm electric ibuf-ext ibuffer misearch multi-isearch whitespace hl-line cus-start cus-load edmacro kmacro recentf tree-widget wid-edit easymenu server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-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 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 w32 multi-tty emacs) *** E-Mail body has been placed on clipboard, please paste it here! ***