unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bastian Bechtold <basti.bechtold@googlemail.com>
To: Bastian Bechtold <basti.bechtold@googlemail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Kevin Yu <yujie052@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: Magit slow on Windows
Date: Fri, 11 May 2012 10:41:26 +0200	[thread overview]
Message-ID: <99E6B4C1-75B5-4216-92E1-01C2F552FF02@bbheim.de> (raw)
In-Reply-To: <4EE1481C-649B-4F5E-B9FE-31D83588333E@bbheim.de>

Here is the best way to change the path without breaking any non-emacs stuff:

(if (eq system-type 'windows-nt)
	(progn
	  (setq exec-path (add-to-list 'exec-path "C:/Program Files (x86)/Git/bin"))
	  (setenv "PATH" (concat "C:\\Program Files (x86)\\Git\\bin;" (getenv "PATH")))))

exec-path is important for Magit, setenv is used by eshell.


  reply	other threads:[~2012-05-11  8:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10 12:06 Magit slow on Windows Bastian Bechtold
2012-05-10 16:01 ` Eli Zaretskii
2012-05-11  5:35   ` Kevin Yu
2012-05-11  5:39     ` Eli Zaretskii
2012-05-11  5:46       ` Kevin Yu
2012-05-11  5:53         ` Eli Zaretskii
2012-05-11  6:08           ` Kevin Yu
2012-05-11  6:35             ` Yann Hodique
2012-05-11  7:34               ` Kevin Yu
2012-05-11  7:45           ` Bastian Bechtold
2012-05-11  8:41             ` Bastian Bechtold [this message]
2012-05-11  8:44               ` Kevin Yu
2012-05-11 10:37           ` Richard Riley
2012-05-11 11:24             ` Eli Zaretskii
2012-05-11 15:02             ` Óscar Fuentes
2012-05-11 17:40               ` Bastian Bechtold
2012-05-11 17:54                 ` Óscar Fuentes
2012-05-12  0:09             ` Miles Bader
2012-05-12  2:28 ` Richard Stallman
2012-07-20 19:10   ` Bohdan Makohin
2012-07-21  2:43     ` Richard Stallman

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=99E6B4C1-75B5-4216-92E1-01C2F552FF02@bbheim.de \
    --to=basti.bechtold@googlemail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=yujie052@gmail.com \
    /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).