GNU bug report logs -
#5456
deprecate vc-path
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5456 in the body.
You can then email your comments to 5456 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5456
; Package
emacs
.
(Fri, 22 Jan 2010 22:12:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephan Bergmann <Stephan.Bergmann <at> Sun.COM>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 22 Jan 2010 22:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
At least in 23.1, vc-hg-state (and vc-hg-working-revision) in vc-hg.el call "hg" without making sure that it is being searched for in vc-path (as is done in vc-dispatcher.el by extending exec-path). What fixed it for me (on recent trunk) is
---8<---
=== modified file 'lisp/vc-hg.el'
--- lisp/vc-hg.el 2010-01-13 08:35:10 +0000
+++ lisp/vc-hg.el 2010-01-22 21:46:14 +0000
@@ -169,7 +169,8 @@
;; Ignore all errors.
(let ((process-environment
;; Avoid localization of messages so we can parse the output.
- (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=") process-environment)))
+ (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=") process-environment))
+ (exec-path (append vc-path exec-path)))
(process-file
"hg" nil t nil
@@ -205,7 +206,8 @@
(let ((process-environment
;; Avoid localization of messages so we can parse the output.
(append (list "TERM=dumb" "LANGUAGE=C" "HGRC=")
- process-environment)))
+ process-environment))
+ (exec-path (append vc-path exec-path)))
;; Ignore all errors.
(process-file
"hg" nil t nil
---8<---
-Stephan
bug reassigned from package 'emacs' to 'emacs,vc'.
Request was from
Juanma Barranquero <lekktu <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 23 Jan 2010 11:22:02 GMT)
Full text and
rfc822 format available.
Added tag(s) patch.
Request was from
Juanma Barranquero <lekktu <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 23 Jan 2010 11:22:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5456
; Package
emacs,vc
.
(Mon, 25 Jan 2010 06:17:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 5456 <at> debbugs.gnu.org (full text, mbox):
Stephan Bergmann <Stephan.Bergmann <at> Sun.COM> writes:
> At least in 23.1, vc-hg-state (and vc-hg-working-revision) in vc-hg.el call "hg" without making sure that it is being searched for in vc-path (as is done in vc-dispatcher.el by extending exec-path). What fixed it for me (on recent trunk) is
> ---8<---
> === modified file 'lisp/vc-hg.el'
> --- lisp/vc-hg.el 2010-01-13 08:35:10 +0000
> +++ lisp/vc-hg.el 2010-01-22 21:46:14 +0000
> @@ -169,7 +169,8 @@
> ;; Ignore all errors.
> (let ((process-environment
> ;; Avoid localization of messages so we can parse the output.
> - (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=") process-environment)))
> + (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=") process-environment))
> + (exec-path (append vc-path exec-path)))
>
> (process-file
> "hg" nil t nil
> @@ -205,7 +206,8 @@
> (let ((process-environment
> ;; Avoid localization of messages so we can parse the output.
> (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=")
> - process-environment)))
> + process-environment))
> + (exec-path (append vc-path exec-path)))
> ;; Ignore all errors.
> (process-file
> "hg" nil t nil
There's more places where a change like this would be necessary....
Actually, looking over all the VC backends, almost all could use vc-path,
but NONE does.
So I'd rather vote for deprecating vc-path in 23.2 and remove it later.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5456
; Package
emacs,vc
.
(Mon, 25 Jan 2010 15:36:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 5456 <at> debbugs.gnu.org (full text, mbox):
> So I'd rather vote for deprecating vc-path in 23.2 and remove it later.
Agreed, I see no need to treat VC specially in this regard (IIUC this
was done originally because RCS and SCCS started as a bunch of separate
commands with potentially conflicting names (like ci/co/...), and were
often installed in a non-standard place, but it doesn't seem relevant
nowadays).
Stefan
Changed bug title to 'deprecate vc-path' from 'vc-hg-state does not search hg in vc-path'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 25 Jan 2010 22:16:02 GMT)
Full text and
rfc822 format available.
Removed tag(s) patch.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 25 Jan 2010 22:16:02 GMT)
Full text and
rfc822 format available.
Severity set to 'minor' from 'normal'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 25 Jan 2010 22:16:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to Stephan Bergmann <Stephan.Bergmann <at> Sun.COM>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Jan 2010 00:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 25 Feb 2010 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.