unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Galinsky <dima.exe@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#1541: 23.0.60; Emacs don't see $PATH
Date: Fri, 12 Dec 2008 01:54:51 +0300	[thread overview]
Message-ID: <3EF395A3-9A7A-42E7-B084-C65474AF2DE6@gmail.com> (raw)

Emacs don't see $PATH environment variable.

Step to reproduce bug:

(setenv "PATH" (concat "/opt/local/bin:" (getenv "PATH")))
(getenv "PATH") ;; => "/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
(shell-command-to-string "which git") ;; > /opt/local/bin/git
(git-status) ;; produced the error

backtrace:
   Debugger entered--Lisp error: (file-error "Searching for program"  
"No such file or directory" "git")
   call-process("git" nil t nil "rev-parse" "--show-cdup")



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, NS apple-appkit-949.35)
  of 2008-12-10 on neutron.local
Windowing system distributor `Apple', version  
97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.51.53
configured using `configure  '--with-ns''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: ru_RU.UTF8
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
   diff-auto-refine-mode: t
   shell-dirtrack-mode: t
   yas/minor-mode: t
   recentf-mode: t
   show-paren-mode: t
   global-auto-revert-mode: t
   delete-selection-mode: t
   pc-selection-mode: t
   tooltip-mode: t
   ns-extended-platform-support-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t
   hs-minor-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> <up> <up> <up> <down>
<down> <down> <down> <down> <down> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <menu-bar> <help-menu> <s
end-emacs-bug-report>

Recent messages:
Mark set
Entering debugger...
git version 1.6.0.5
Mark set
Wrote /Users/dima/.emacs.d/rails-reloaded/rails-resources.el
Making completion list...
line-move-visual: End of buffer
Open /Users/dima/.emacs.d/rails-reloaded/rails-resources.el
Quit [2 times]
Open /Users/dima/.emacs.d/rails-reloaded/rails-resources.el


--
Best regards,
Dmitry Galinsky
http://dima-exe.ru







             reply	other threads:[~2008-12-11 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tvdtpx2y5.fsf@fencepost.gnu.org>
2008-12-11 22:54 ` Dmitry Galinsky [this message]
2008-12-12  7:40   ` bug#1541: marked as done (23.0.60; Emacs don't see $PATH) Emacs bug Tracking System
2008-12-12 12:15   ` bug#1541: 23.0.60; Emacs don't see $PATH 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=3EF395A3-9A7A-42E7-B084-C65474AF2DE6@gmail.com \
    --to=dima.exe@gmail.com \
    --cc=1541@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).