From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.help
Subject: Re: shell-command causes problems with absolute/relative paths in TAGS
Date: Fri, 06 Jan 2012 20:46:53 +0200
Message-ID: <83d3awoehu.fsf@gnu.org>
References: <20120102223315.3E60F1810C9@neo.msri.org>
	<408087A3D7BE475B884C0F93CE2298C7@us.oracle.com>
	<AA798C0D220E44E5B798734A70C4CF93@EUROPE.ROOT.PRI>
	<20120105054142.GA10149@hysteria.proulx.com>
	<9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI>
	<20120105222030.GA22189@hysteria.proulx.com>
	<1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI>
	<83pqexnjrk.fsf@gnu.org>
	<9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI>
	<83ipkoon0g.fsf@gnu.org>
	<96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI>
NNTP-Posting-Host: lo.gmane.org
X-Trace: dough.gmane.org 1325875751 26919 80.91.229.12 (6 Jan 2012 18:49:11 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Fri, 6 Jan 2012 18:49:11 +0000 (UTC)
To: help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 06 19:49:06 2012
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([140.186.70.17])
	by lo.gmane.org with esmtp (Exim 4.69)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1RjEqe-0002ol-6C
	for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jan 2012 19:49:04 +0100
Original-Received: from localhost ([::1]:44362 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1RjEqd-0007gI-Pt
	for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jan 2012 13:49:03 -0500
Original-Received: from eggs.gnu.org ([140.186.70.92]:50452)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1RjEqZ-0007ex-5E
	for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:49:00 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1RjEqX-000324-O3
	for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:48:58 -0500
Original-Received: from mtaout23.012.net.il ([80.179.55.175]:48880)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1RjEqX-000320-Fs
	for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:48:57 -0500
Original-Received: from conversion-daemon.a-mtaout23.012.net.il by
	a-mtaout23.012.net.il (HyperSendmail v2007.08) id
	<0LXE00K003TEOG00@a-mtaout23.012.net.il> for
	help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 20:48:56 +0200 (IST)
Original-Received: from HOME-C4E4A596F7 ([77.126.115.90]) by a-mtaout23.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0LXE00K8V49JIH80@a-mtaout23.012.net.il> for
	help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 20:48:55 +0200 (IST)
In-reply-to: <96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI>
X-012-Sender: halo1@inter.net.il
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 80.179.55.175
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:83381
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/83381>

> From: "David Chappaz" <david.chappaz@free.fr>
> Date: Fri, 6 Jan 2012 16:03:47 -0000
> 
> 
> > > The variable name depends on which shell you use. By default, only
> > > explicit-bash-args and explicit-sh-args are defined in emacs.
> > > On windows, cmdproxy.exe is the default shell, hence the variable name.
> > 
> > Well, I tried that on Windows with cmdproxy as the shell, and I still
> > don't see this variable.
> 
> Ah well I haven't been accurate enough.
> It's for the user to create this variable if they want to. It will only be
> used if its name perfectly matches that of the shell.
> See details in section 7.10 of
> http://www.gnu.org/software/emacs/windows/Sub_002dprocesses.html

Never mind, that variable is not needed for reproducing the problem.

> Surely emacs must be passing slightly different arguments to ctags (perhaps
> slashes in a different orientation), before and after the first call to
> call-process-region ?

Probably some environment variable rather than command-line argument.