* Emacs 23 and git-emacs
@ 2009-09-09 21:53 Markus Heller
2009-09-10 7:50 ` Peter Dyballa
0 siblings, 1 reply; 10+ messages in thread
From: Markus Heller @ 2009-09-09 21:53 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I'm on Windoze XP using GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of
2009-06-30 on LENNART-69DE564 and git-emacs-1.1.
However, M-x git-config-init gives the following message in the buffer:
apply: Searching for program: no such file or directory, git-config
Here's the entire *Messages* buffer:
Loading c:/Program
Files/emacs-23.1/org-6.30e/contrib/lisp/org-checklist.el (source)...done
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
apply: Searching for program: no such file or directory, git-config
Mark set
What's wrong? I do have the following lines in my .emacs:
(add-to-list 'load-path "C:/Program Files/emacs-23.1/git-emacs-1.1")
(require 'git-emacs)
Thanks and Cheers
Markus
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
[not found] <mailman.6334.1252533247.2239.help-gnu-emacs@gnu.org>
@ 2009-09-10 5:07 ` Yaomin
0 siblings, 0 replies; 10+ messages in thread
From: Yaomin @ 2009-09-10 5:07 UTC (permalink / raw)
To: help-gnu-emacs
On Sep 9, 5:53 pm, Markus Heller <helle...@gmail.com> wrote:
> Hello,
>
> I'm on Windoze XP using GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of
> 2009-06-30 on LENNART-69DE564 and git-emacs-1.1.
>
> However, M-x git-config-init gives the following message in the buffer:
>
> apply: Searching for program: no such file or directory, git-config
>
> Here's the entire *Messages* buffer:
>
> Loading c:/Program
> Files/emacs-23.1/org-6.30e/contrib/lisp/org-checklist.el (source)...done
> Loading paren...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Making completion list...
> apply: Searching for program: no such file or directory, git-config
> Mark set
>
> What's wrong? I do have the following lines in my .emacs:
>
> (add-to-list 'load-path "C:/Program Files/emacs-23.1/git-emacs-1.1")
> (require 'git-emacs)
>
> Thanks and Cheers
> Markus
get it as
git clone git://github.com/tsgates/git-emacs.git
This solved my problem.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-09 21:53 Emacs 23 and git-emacs Markus Heller
@ 2009-09-10 7:50 ` Peter Dyballa
2009-09-10 16:39 ` Markus Heller
0 siblings, 1 reply; 10+ messages in thread
From: Peter Dyballa @ 2009-09-10 7:50 UTC (permalink / raw)
To: Markus Heller; +Cc: help-gnu-emacs
Am 09.09.2009 um 23:53 schrieb Markus Heller:
> What's wrong?
You need the GIT suite of programmes too! The Elisp files just allow
GNU Emacs to use this suite inside.
--
Mit friedvollen Grüßen
Pete
There's something the technicians need to learn from the artists. If
it isn't aesthetically pleasing, it's probably wrong.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 7:50 ` Peter Dyballa
@ 2009-09-10 16:39 ` Markus Heller
2009-09-10 17:12 ` Peter Dyballa
0 siblings, 1 reply; 10+ messages in thread
From: Markus Heller @ 2009-09-10 16:39 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa wrote:
>
> Am 09.09.2009 um 23:53 schrieb Markus Heller:
>
>> What's wrong?
>
>
> You need the GIT suite of programmes too! The Elisp files just allow GNU
> Emacs to use this suite inside.
Err, thanks for the reply, Pete!
I have git installed of course, it's in C:\Program Files\git. I've
tried adding C:\Program Files\git\bin to my PATH, but to no avail.
Basically, I just followed the instructions given here [1].
I guess I need to let emacs know where to find the git binaries ... But
how? (add-to-list 'load-path) maybe? But that refers to lisp files?
Thanks for your help!
Markus
[1] http://tsgates.cafe24.com/git/git-emacs.html#sec1
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 16:39 ` Markus Heller
@ 2009-09-10 17:12 ` Peter Dyballa
2009-09-10 17:30 ` Eli Zaretskii
2009-09-10 20:25 ` Markus Heller
0 siblings, 2 replies; 10+ messages in thread
From: Peter Dyballa @ 2009-09-10 17:12 UTC (permalink / raw)
To: Markus Heller; +Cc: help-gnu-emacs
Am 10.09.2009 um 18:39 schrieb Markus Heller:
> I guess I need to let emacs know where to find the git
> binaries ... But how? (add-to-list 'load-path) maybe?
On UNIX it's:
(setenv "PATH" (concat "/some/directory" ":" (getenv "PATH")))
GNU Emacs also has the variable exec-path. And you can simply
customise it! So I think this one is the means to make GNU Emacs find
your GIT programmes.
--
Mit friedvollen Grüßen
Pete
Only two things are infinite, the universe and human stupidity, and
I'm not sure about the former.
– Albert Einstein
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 17:12 ` Peter Dyballa
@ 2009-09-10 17:30 ` Eli Zaretskii
2009-09-10 20:32 ` Peter Dyballa
2009-09-10 20:25 ` Markus Heller
1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2009-09-10 17:30 UTC (permalink / raw)
To: help-gnu-emacs
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Thu, 10 Sep 2009 19:12:04 +0200
> Cc: help-gnu-emacs@gnu.org
>
>
> On UNIX it's:
>
> (setenv "PATH" (concat "/some/directory" ":" (getenv "PATH")))
Use path-separator instead of a literal ":" for better portability.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 17:12 ` Peter Dyballa
2009-09-10 17:30 ` Eli Zaretskii
@ 2009-09-10 20:25 ` Markus Heller
2009-09-11 7:38 ` Eli Zaretskii
1 sibling, 1 reply; 10+ messages in thread
From: Markus Heller @ 2009-09-10 20:25 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa wrote:
>
> Am 10.09.2009 um 18:39 schrieb Markus Heller:
>
>> I guess I need to let emacs know where to find the git binaries ...
>> But how? (add-to-list 'load-path) maybe?
>
>
> On UNIX it's:
>
> (setenv "PATH" (concat "/some/directory" ":" (getenv "PATH")))
>
> GNU Emacs also has the variable exec-path. And you can simply customise
> it! So I think this one is the means to make GNU Emacs find your GIT
> programmes.
>
Pete,
thanks again. I tried M-x customize-variable <Ret> and added the path
to the git binaries to exec-path. After restarting emacs, I still get
the same error message.
I think I'll have to do some more googling ...
M
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 17:30 ` Eli Zaretskii
@ 2009-09-10 20:32 ` Peter Dyballa
2009-09-11 7:39 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Peter Dyballa @ 2009-09-10 20:32 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Am 10.09.2009 um 19:30 schrieb Eli Zaretskii:
> Use path-separator instead of a literal ":" for better portability.
Yes, you're right! Next time I'll mention
(setenv "PATH" (concat "/some/directory" path-separator (getenv
"PATH")))
(I'm glad that / means / everywhere!)
--
Greetings
Pete
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence.
- Jeremy S. Anderson
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 20:25 ` Markus Heller
@ 2009-09-11 7:38 ` Eli Zaretskii
0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2009-09-11 7:38 UTC (permalink / raw)
To: help-gnu-emacs
> From: Markus Heller <hellerm2@gmail.com>
> Date: Thu, 10 Sep 2009 13:25:00 -0700
>
> Peter Dyballa wrote:
> >
> > Am 10.09.2009 um 18:39 schrieb Markus Heller:
> >
> >> I guess I need to let emacs know where to find the git binaries ...
> >> But how? (add-to-list 'load-path) maybe?
> >
> >
> > On UNIX it's:
> >
> > (setenv "PATH" (concat "/some/directory" ":" (getenv "PATH")))
> >
> > GNU Emacs also has the variable exec-path. And you can simply customise
> > it! So I think this one is the means to make GNU Emacs find your GIT
> > programmes.
> >
>
> Pete,
>
> thanks again. I tried M-x customize-variable <Ret> and added the path
> to the git binaries to exec-path. After restarting emacs, I still get
> the same error message.
Did you modify _both_ the value of exec-path _and_ the value of PATH
as suggested above? To make all Emacs commands work correctly, you
need both, especially if some of programs invoked as subordinate
processes are shell scripts or invoked through the shell.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs 23 and git-emacs
2009-09-10 20:32 ` Peter Dyballa
@ 2009-09-11 7:39 ` Eli Zaretskii
0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2009-09-11 7:39 UTC (permalink / raw)
To: help-gnu-emacs
> Cc: help-gnu-emacs@gnu.org
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Thu, 10 Sep 2009 22:32:40 +0200
>
> (I'm glad that / means / everywhere!)
That's why we obsoleted directory-sep-char and made its value
constant.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-09-11 7:39 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 21:53 Emacs 23 and git-emacs Markus Heller
2009-09-10 7:50 ` Peter Dyballa
2009-09-10 16:39 ` Markus Heller
2009-09-10 17:12 ` Peter Dyballa
2009-09-10 17:30 ` Eli Zaretskii
2009-09-10 20:32 ` Peter Dyballa
2009-09-11 7:39 ` Eli Zaretskii
2009-09-10 20:25 ` Markus Heller
2009-09-11 7:38 ` Eli Zaretskii
[not found] <mailman.6334.1252533247.2239.help-gnu-emacs@gnu.org>
2009-09-10 5:07 ` Yaomin
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).