GNU bug report logs - #10458
24.0.92; ! in dired on a file starting with a hyphen

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: michael_heerdegen@HIDDEN; dated Sun, 8 Jan 2012 20:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 21:46:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 16:46:15 2012
Received: from localhost ([127.0.0.1]:52882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkjWJ-0007Py-0m
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 16:46:15 -0500
Received: from mailout.melmac.se ([62.20.26.67]:52327)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1RkjWF-0007Pi-T3
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 16:46:13 -0500
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id 8EB4A9E24
	for <10458 <at> debbugs.gnu.org>; Tue, 10 Jan 2012 22:45:48 +0100 (CET)
Received: (qmail 17817 invoked by uid 89); 10 Jan 2012 21:44:37 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 10 Jan 2012 21:44:37 -0000
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 0BAD37FA058;
	Tue, 10 Jan 2012 22:45:48 +0100 (CET)
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset=us-ascii
From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <jwvaa5vnx4o.fsf-monnier+emacs@HIDDEN>
Date: Tue, 10 Jan 2012 22:45:49 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <9EC04C58-BD89-4C6C-A605-CABF88DFE1D7@HIDDEN>
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
	<qvvcok9bha.fsf@HIDDEN>
	<jwv7h0zd4dl.fsf-monnier+emacs@HIDDEN>
	<1c39bnfpog.fsf@HIDDEN>
	<tnzkdviihq.fsf@HIDDEN>
	<jwvaa5vnx4o.fsf-monnier+emacs@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
X-Mailer: Apple Mail (2.1251.1)
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, Glenn Morris <rgm@HIDDEN>, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)


10 jan 2012 kl. 21:03 skrev Stefan Monnier:

>>>> How 'bout "! diff -u oldfoo RET"?
>> Actually, GNU diff accepts this just fine:
>>  diff -u oldfoo -- -newfoo
> 
> Interesting.  So we need yet another hack in case the file is named
> "--".

diff -u oldfoo -- --

should work.

	Jan D.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 20:04:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 15:04:19 2012
Received: from localhost ([127.0.0.1]:52827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rkhve-00055T-Dr
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 15:04:19 -0500
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:45662)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1RkhvY-00055H-6b
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 15:04:16 -0500
Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca
	[132.204.27.242])
	by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q0AK3oo4024216;
	Tue, 10 Jan 2012 15:03:50 -0500
Received: by faina.iro.umontreal.ca (Postfix, from userid 20848)
	id DB21BB40FA; Tue, 10 Jan 2012 15:03:49 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
Message-ID: <jwvaa5vnx4o.fsf-monnier+emacs@HIDDEN>
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
	<qvvcok9bha.fsf@HIDDEN>
	<jwv7h0zd4dl.fsf-monnier+emacs@HIDDEN>
	<1c39bnfpog.fsf@HIDDEN> <tnzkdviihq.fsf@HIDDEN>
Date: Tue, 10 Jan 2012 15:03:49 -0500
In-Reply-To: <tnzkdviihq.fsf@HIDDEN> (Glenn Morris's message of
	"Tue, 10 Jan 2012 12:18:25 -0500")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0.2
X-NAI-Spam-Rules: 2 Rules triggered
	GEN_SPAM_FEATRE=0.2, RV4097=0
X-NAI-Spam-Version: 2.2.0.9309 : core <4097> : streams <718542> : uri <1044354>
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.5 (---)

>>> How 'bout "! diff -u oldfoo RET"?
> Actually, GNU diff accepts this just fine:
>   diff -u oldfoo -- -newfoo

Interesting.  So we need yet another hack in case the file is named
"--".


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 17:18:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 12:18:51 2012
Received: from localhost ([127.0.0.1]:52655 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkfLU-0000Ua-LZ
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 12:18:50 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:45225)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1RkfLS-0000US-Gs
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 12:18:47 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1RkfL7-0002gl-5n; Tue, 10 Jan 2012 12:18:25 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
	<qvvcok9bha.fsf@HIDDEN>
	<jwv7h0zd4dl.fsf-monnier+emacs@HIDDEN>
	<1c39bnfpog.fsf@HIDDEN>
X-Spook: propaganda global industrial intelligence Bletchley Park
X-Ran: {jDvnMQ59~h&41(wk?EI@s7wtrU]ic$v?!Mw@_u(PIsmtQ.g^22yv*3X.h)`*uZdFF~+zd
X-Hue: black
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 10 Jan 2012 12:18:25 -0500
In-Reply-To: <1c39bnfpog.fsf@HIDDEN> (Glenn Morris's message of
	"Tue, 10 Jan 2012 12:11:27 -0500")
Message-ID: <tnzkdviihq.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)


> Stefan Monnier wrote:
>
>> How 'bout "! diff -u oldfoo RET"?

Actually, GNU diff accepts this just fine:

  diff -u oldfoo -- -newfoo




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 17:11:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 12:11:55 2012
Received: from localhost ([127.0.0.1]:52650 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkfEo-0000Kn-OO
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 12:11:54 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:45029)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1RkfEj-0000Kd-3j
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 12:11:53 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1RkfEN-0002Jp-9E; Tue, 10 Jan 2012 12:11:27 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
	<qvvcok9bha.fsf@HIDDEN>
	<jwv7h0zd4dl.fsf-monnier+emacs@HIDDEN>
X-Spook: BLU-97 A/B USCODE clones Abu Ghraib TWA SSL Zachawi
X-Ran: ]y,'}f$mo}X}R5a$THbCe1<4S)z^(N$*O7"sdQ%.wc>B80Bqk&cT~Kk\oXcSj6{~2T}@0#
X-Hue: white
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 10 Jan 2012 12:11:27 -0500
In-Reply-To: <jwv7h0zd4dl.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
	of "Tue, 10 Jan 2012 09:23:54 -0500")
Message-ID: <1c39bnfpog.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

Stefan Monnier wrote:

> How 'bout "! diff -u oldfoo RET"?

<shakes fist>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 14:24:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 09:24:22 2012
Received: from localhost ([127.0.0.1]:52084 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rkccf-0004ub-FO
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 09:24:21 -0500
Received: from chene.dit.umontreal.ca ([132.204.246.20]:50378)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1Rkccd-0004uS-4n
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 09:24:19 -0500
Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242])
	by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q0AENv9s004704; 
	Tue, 10 Jan 2012 09:23:57 -0500
Received: by pastel.home (Postfix, from userid 20848)
	id 2BE8658DA7; Tue, 10 Jan 2012 09:23:54 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
Message-ID: <jwv7h0zd4dl.fsf-monnier+emacs@HIDDEN>
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
	<qvvcok9bha.fsf@HIDDEN>
Date: Tue, 10 Jan 2012 09:23:54 -0500
In-Reply-To: <qvvcok9bha.fsf@HIDDEN> (Glenn Morris's message of
	"Tue, 10 Jan 2012 04:02:25 -0500")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4096=0
X-NAI-Spam-Version: 2.2.0.9309 : core <4096> : streams <718472> : uri <1044192>
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.5 (---)

> Then perhaps it is academic, but I see no ambiguity, since dired keeps
> command and file(s) to operate on separate:

>   ! gcc -o foo RET
>   ! gcc -c RET

How 'bout "! diff -u oldfoo RET"?


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 09:02:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 04:02:53 2012
Received: from localhost ([127.0.0.1]:51826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkXbW-0005JI-Rs
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 04:02:52 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:36034)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1RkXbS-0005J7-Ih
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 04:02:47 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1RkXb7-0007kD-Jp; Tue, 10 Jan 2012 04:02:25 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
X-Spook: e-bomb Afghanistan ASLET S Key Peking Mossad clandestine
X-Ran: wg>91t|[OPC}]+qm<nlI/}6ZU0zTqJ*Ol~GYfb2aI`~}rU_BD)iA:MA4!/)qUxLc]ZOw!5
X-Hue: green
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 10 Jan 2012 04:02:25 -0500
Message-ID: <qvvcok9bha.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

Stefan Monnier wrote:

> not only I don't think it's a universal convention, but I can't think of
> any easy reliable way to do that.  E.g. compare
>
>     gcc -o foo -toto.c
> vs
>     gcc -c foo.c -toto.c

Then perhaps it is academic, but I see no ambiguity, since dired keeps
command and file(s) to operate on separate:

  ! gcc -o foo RET
  ! gcc -c RET

It's not like we have to try and decode an entire arbitrary command
string.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 07:04:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 02:04:34 2012
Received: from localhost ([127.0.0.1]:51734 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkVl3-0002eu-VG
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2012 02:04:34 -0500
Received: from mailout.melmac.se ([62.20.26.67]:57386)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1RkVl0-0002eb-BM
	for 10458 <at> debbugs.gnu.org; Tue, 10 Jan 2012 02:04:31 -0500
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id D76C4918A
	for <10458 <at> debbugs.gnu.org>; Tue, 10 Jan 2012 08:04:04 +0100 (CET)
Received: (qmail 15419 invoked by uid 89); 10 Jan 2012 07:02:55 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 10 Jan 2012 07:02:55 -0000
Received: from [10.225.16.153] (unknown [193.45.43.33])
	by coolsville.localdomain (Postfix) with ESMTPSA id 2A3887FA058;
	Tue, 10 Jan 2012 08:04:04 +0100 (CET)
Message-ID: <4F0BE2E3.7060401@HIDDEN>
Date: Tue, 10 Jan 2012 08:04:03 +0100
From: "Jan D." <jan.h.d@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
	rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
	<jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
In-Reply-To: <jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, Glenn Morris <rgm@HIDDEN>, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

Stefan Monnier skrev 2012-01-09 23:40:
>>> But we could do something like:
>>> foobar ./-toto titi
>> Or stick a "--" after the command (is that a universal convention?)
>
> not only I don't think it's a universal convention, but I can't think of
> any easy reliable way to do that.  E.g. compare
>
>      gcc -o foo -toto.c
> vs
>      gcc -c foo.c -toto.c
>

It is universal in that it is in POSIX 1003.1.

	Jan D.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 10 Jan 2012 00:40:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 09 19:40:49 2012
Received: from localhost ([127.0.0.1]:51486 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkPlg-0000BO-Hs
	for submit <at> debbugs.gnu.org; Mon, 09 Jan 2012 19:40:49 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:56415 ident=Debian-exim)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rms@HIDDEN>) id 1RkPla-0000BE-TH
	for 10458 <at> debbugs.gnu.org; Mon, 09 Jan 2012 19:40:45 -0500
Received: from rms by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rms@HIDDEN>)
	id 1RkPlJ-0002L4-1k; Mon, 09 Jan 2012 19:40:25 -0500
Date: Mon, 09 Jan 2012 19:40:25 -0500
Message-Id: <E1RkPlJ-0002L4-1k@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15
From: Richard Stallman <rms@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <83mx9wekcc.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 09
	Jan 2012 21:39:47 +0200)
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN> <83mx9wekcc.fsf@HIDDEN>
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, rgm@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: rms@HIDDEN
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

    AFAIK, -- is supported only by GNU getopt (and maybe compatibles).  I
    think there's no guarantee that an arbitrary program will support it.

If you encounter a program that doesn't use GNU getopt
or equivalent, please suggest adopting that feature.
It would be convenient for users if all programs supported it.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 9 Jan 2012 22:40:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 09 17:40:56 2012
Received: from localhost ([127.0.0.1]:51427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkNtf-0004L3-Qq
	for submit <at> debbugs.gnu.org; Mon, 09 Jan 2012 17:40:55 -0500
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:46596)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1RkNte-0004Kw-5O
	for 10458 <at> debbugs.gnu.org; Mon, 09 Jan 2012 17:40:54 -0500
Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca
	[132.204.27.242])
	by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q09Meba3016350;
	Mon, 9 Jan 2012 17:40:37 -0500
Received: by faina.iro.umontreal.ca (Postfix, from userid 20848)
	id 4FEDEB4177; Mon,  9 Jan 2012 17:40:37 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
Message-ID: <jwv39bopkmm.fsf-monnier+emacs@HIDDEN>
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
Date: Mon, 09 Jan 2012 17:40:37 -0500
In-Reply-To: <d0vcokokfx.fsf@HIDDEN> (Glenn Morris's message of
	"Mon, 09 Jan 2012 12:27:30 -0500")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4096=0
X-NAI-Spam-Version: 2.2.0.9309 : core <4096> : streams <718247> : uri <1043810>
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.5 (---)

>> But we could do something like:
>> foobar ./-toto titi
> Or stick a "--" after the command (is that a universal convention?)

not only I don't think it's a universal convention, but I can't think of
any easy reliable way to do that.  E.g. compare

    gcc -o foo -toto.c
vs
    gcc -c foo.c -toto.c


-- Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 9 Jan 2012 19:41:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 09 14:41:03 2012
Received: from localhost ([127.0.0.1]:51311 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkL5a-000807-VJ
	for submit <at> debbugs.gnu.org; Mon, 09 Jan 2012 14:41:03 -0500
Received: from mtaout20.012.net.il ([80.179.55.166]:64806)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <eliz@HIDDEN>) id 1RkL5R-0007z6-TN
	for 10458 <at> debbugs.gnu.org; Mon, 09 Jan 2012 14:40:55 -0500
Received: from conversion-daemon.a-mtaout20.012.net.il by
	a-mtaout20.012.net.il (HyperSendmail v2007.08) id
	<0LXJ00100QHVIM00@HIDDEN> for
	10458 <at> debbugs.gnu.org; Mon, 09 Jan 2012 21:39:46 +0200 (IST)
Received: from HOME-C4E4A596F7 ([77.124.148.90]) by a-mtaout20.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0LXJ004Z9QM96HW5@HIDDEN>;
	Mon, 09 Jan 2012 21:39:46 +0200 (IST)
Date: Mon, 09 Jan 2012 21:39:47 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
In-reply-to: <d0vcokokfx.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Glenn Morris <rgm@HIDDEN>
Message-id: <83mx9wekcc.fsf@HIDDEN>
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
	<d0vcokokfx.fsf@HIDDEN>
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org, monnier@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

> From: Glenn Morris <rgm@HIDDEN>
> Date: Mon, 09 Jan 2012 12:27:30 -0500
> Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
> 
> Stefan Monnier wrote:
> 
> > But we could do something like:
> >
> >    foobar ./-toto titi
> 
> Or stick a "--" after the command (is that a universal convention?).

AFAIK, -- is supported only by GNU getopt (and maybe compatibles).  I
think there's no guarantee that an arbitrary program will support it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 9 Jan 2012 17:27:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 09 12:27:51 2012
Received: from localhost ([127.0.0.1]:51229 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RkJ0g-0004gP-Sb
	for submit <at> debbugs.gnu.org; Mon, 09 Jan 2012 12:27:51 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:49701 ident=Debian-exim)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1RkJ0e-0004gG-6q
	for 10458 <at> debbugs.gnu.org; Mon, 09 Jan 2012 12:27:49 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1RkJ0M-0004JV-WB; Mon, 09 Jan 2012 12:27:31 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
References: <87wr92j6y6.fsf@HIDDEN> <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
X-Spook: fissionable EuroFed anthrax Putin United Nations Bosnia
X-Ran: 3\l%5vXUzq7DE9;-UwCZ51:'=p_A+yQrpIhlWjd(iV.OR]Q+=WY$B#`)#tVHn-Wcky_Vl*
X-Hue: magenta
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Mon, 09 Jan 2012 12:27:30 -0500
In-Reply-To: <jwvd3athdgy.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
	of "Sun, 08 Jan 2012 20:30:18 -0500")
Message-ID: <d0vcokokfx.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: 10458
Cc: michael_heerdegen@HIDDEN, 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

Stefan Monnier wrote:

> But we could do something like:
>
>    foobar ./-toto titi

Or stick a "--" after the command (is that a universal convention?). if
the user did not supply one. This is also what anyone could use to work
around the problem in the meantime.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at 10458 <at> debbugs.gnu.org:


Received: (at 10458) by debbugs.gnu.org; 9 Jan 2012 01:30:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 08 20:30:34 2012
Received: from localhost ([127.0.0.1]:50492 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rk44H-00072A-Fb
	for submit <at> debbugs.gnu.org; Sun, 08 Jan 2012 20:30:34 -0500
Received: from chene.dit.umontreal.ca ([132.204.246.20]:53908)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1Rk44F-000723-JP
	for 10458 <at> debbugs.gnu.org; Sun, 08 Jan 2012 20:30:32 -0500
Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242])
	by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q091UJWh025162; 
	Sun, 8 Jan 2012 20:30:19 -0500
Received: by pastel.home (Postfix, from userid 20848)
	id A277D58F7E; Sun,  8 Jan 2012 20:30:18 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: michael_heerdegen@HIDDEN
Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
Message-ID: <jwvd3athdgy.fsf-monnier+emacs@HIDDEN>
References: <87wr92j6y6.fsf@HIDDEN>
Date: Sun, 08 Jan 2012 20:30:18 -0500
In-Reply-To: <87wr92j6y6.fsf@HIDDEN> (Michael Heerdegen's message of "Sun, 08
	Jan 2012 21:05:37 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4095=0
X-NAI-Spam-Version: 2.2.0.9309 : core <4095> : streams <718001> : uri <1043276>
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: 10458
Cc: 10458 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.5 (---)

> I'm working with Gnu/Linux.  If I hit ! in dired on a file starting with
> "-", the hyphen is not quoted so that the specified program will
> interpret the file name as an option.  I guess this is nearly never
> what the user wants.

Indeed.  Quoting the file name by doing something like:

    foobar '-toto' titi

won't help (`foobar' won't see the quoting anyway because the shell
will strip it away before passing the result to `foobar').
But we could do something like:

   foobar ./-toto titi

which would not suffer from this problem.


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Jan 2012 20:12:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 08 15:12:34 2012
Received: from localhost ([127.0.0.1]:50348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rjz6X-00088W-El
	for submit <at> debbugs.gnu.org; Sun, 08 Jan 2012 15:12:34 -0500
Received: from eggs.gnu.org ([140.186.70.92]:45471)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rjz6V-00088L-8j
	for submit <at> debbugs.gnu.org; Sun, 08 Jan 2012 15:12:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rjz5t-0007JX-Il
	for submit <at> debbugs.gnu.org; Sun, 08 Jan 2012 15:12:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,RCVD_IN_XBL,T_RP_MATCHES_RCVD
	autolearn=no version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:60334)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1Rjz5t-0007BJ-B6
	for submit <at> debbugs.gnu.org; Sun, 08 Jan 2012 15:11:53 -0500
Received: from eggs.gnu.org ([140.186.70.92]:36840)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1RjyyX-0004bb-Gv
	for bug-gnu-emacs@HIDDEN; Sun, 08 Jan 2012 15:04:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1RjyyW-0006S2-H7
	for bug-gnu-emacs@HIDDEN; Sun, 08 Jan 2012 15:04:17 -0500
Received: from fmmailgate04.web.de ([217.72.192.242]:58717)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Michael_Heerdegen@HIDDEN>) id 1RjyyW-0006Ry-Aw
	for bug-gnu-emacs@HIDDEN; Sun, 08 Jan 2012 15:04:16 -0500
Received: from moweb002.kundenserver.de (moweb002.kundenserver.de
	[172.19.20.108])
	by fmmailgate04.web.de (Postfix) with ESMTP id 3A37A70962E3
	for <bug-gnu-emacs@HIDDEN>; Sun,  8 Jan 2012 21:04:15 +0100 (CET)
Received: from snow ([82.113.99.168]) by smtp.web.de (mrweb002) with ESMTPA
	(Nemesis) id 0MGiPJ-1Rwr8B2bJJ-00DDvZ; Sun, 08 Jan 2012 21:04:15 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.92; ! in dired on a file starting with a hyphen
Date: Sun, 08 Jan 2012 21:05:37 +0100
Message-ID: <87wr92j6y6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V02:K0:5Nx0kmWaVgDBwRFTezQtgh8qRF8xXdN1chv4PwXMaCP
	JyD7dRa+cOyeKqCyj7+zMlPO+AW4SDp9i9Gm07muQCYs015y3S
	4Qa3l39ISIaNmeKL4lQI6xMy8e9NJ/u3Wyhr/KjR8kYWlwYC/9
	nBxU+rOTk6/brwIp0vnaSxOEaUxUJDn7w15am2uH2+YJv1WpNj
	u3DG1D391AkUGchEjAC/b45Ka6gys69NXQZMQ4iAuo=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
Cc: Drew Adams <drew.adams@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: michael_heerdegen@HIDDEN
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.4 (---)

Hello,

Please see #2536 for a similar issue.

I'm working with Gnu/Linux.  If I hit ! in dired on a file starting with
"-", the hyphen is not quoted so that the specified program will
interpret the file name as an option.  I guess this is nearly never
what the user wants.


In GNU Emacs 24.0.92.1 (i486-pc-linux-gnu, GTK+ Version 3.2.3)
 of 2012-01-05 on zelenka, modified by Debian
 (emacs-snapshot package, version 1:20120105-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11102902
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.92/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





Acknowledgement sent to michael_heerdegen@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#10458; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.