From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: your vc-hg.el change Date: Mon, 24 Nov 2008 10:52:23 -0500 Message-ID: <87od05azpk.fsf@cyd.mit.edu> References: <200811221752.mAMHqCqK020038@mothra.ics.uci.edu> <18730.23018.15596.789141@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227542971 25995 80.91.229.12 (24 Nov 2008 16:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2008 16:09:31 +0000 (UTC) Cc: Dan Nicolaescu , Emacs developers To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 24 17:10:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4e14-0004zS-R5 for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 17:10:27 +0100 Original-Received: from localhost ([127.0.0.1]:38822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4dzv-0003wI-Fu for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 11:09:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4dmF-0002vN-TF for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:55:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4djN-00023L-7Z for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:52:20 -0500 Original-Received: from [199.232.76.173] (port=50554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4djL-00021j-1U for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:52:07 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:33585) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4djI-0007pk-SD; Mon, 24 Nov 2008 10:52:04 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id D8CA657E1C8; Mon, 24 Nov 2008 10:52:23 -0500 (EST) In-Reply-To: <18730.23018.15596.789141@fencepost.gnu.org> (Glenn Morris's message of "Mon, 24 Nov 2008 02:38:18 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106078 Archived-At: Glenn Morris writes: >> +2008-11-22 Glenn Morris >> + >> + * vc-hg.el (vc-hg-program): New option. >> + (vc-hg-state, vc-hg-working-revision, vc-hg-command): >> + Use vc-hg-program rather than hard-coded "hg". >> >> Why was it done? Did any user request it? > > Yes. > > http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00286.html Norman Gray wrote: > > Within vc-hg.el, the "hg" command is hard-wired as that precise > > string, rather than being configurable. This is awkward for me at > > least, since I organise myself so that tools (potentially in > > multiple different versions) are kept out of /usr/local and similar, > > and paged in and out via per-shell adjustments to PATH. But that > > means that hg typically isn't on the default path that emacs picks > > up. This exotic setup is probably not a reason to change vc-hg, especially when there is no equivalent in the other VC backends. Maybe OP can come up with a different way to do what he wants (e.g., advising the VC functions to swap in the correct path).