From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hannu Koivisto Newsgroups: gmane.emacs.devel Subject: Re: A few Windows build fixes Date: Thu, 08 Sep 2011 12:06:27 +0300 Organization: NOYB Message-ID: <83mxef2yjw.fsf@kalahari.s2.org> References: <83vcth40ik.fsf@kalahari.s2.org> <83r5444ome.fsf@kalahari.s2.org> <87pqjmfgia.fsf@gmail.com> <8739ggf8ph.fsf@gmail.com> <8262lbu7g5.fsf@gmail.com> <83y5y7cthv.fsf@gnu.org> <83ty8vt4y8.fsf@gnu.org> <83obz2uc11.fsf@gnu.org> <83aaahjzmh.fsf@gnu.org> <83r53r303j.fsf@kalahari.s2.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1315472815 32514 80.91.229.12 (8 Sep 2011 09:06:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2011 09:06:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 08 11:06:51 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R1aZP-0004pg-DB for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2011 11:06:51 +0200 Original-Received: from localhost ([::1]:60311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aZO-0007Rb-Sr for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2011 05:06:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aZJ-0007RU-0g for emacs-devel@gnu.org; Thu, 08 Sep 2011 05:06:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1aZH-0007nx-My for emacs-devel@gnu.org; Thu, 08 Sep 2011 05:06:44 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aZH-0007ni-D3 for emacs-devel@gnu.org; Thu, 08 Sep 2011 05:06:43 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R1aZF-0004lZ-N8 for emacs-devel@gnu.org; Thu, 08 Sep 2011 11:06:41 +0200 Original-Received: from s2.org ([80.83.7.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Sep 2011 11:06:41 +0200 Original-Received: from azure by s2.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Sep 2011 11:06:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: s2.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:VCZOrmcs6ISCoIADfDWULL8BmCU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143813 Archived-At: Eli Zaretskii writes: >> From: Hannu Koivisto >> Date: Thu, 08 Sep 2011 11:33:04 +0300 >> >> One problem is Cygwin dll's automatic globbing of command line >> arguments (which is done when a non-Cygwin application runs a >> Cygwin application) and that might be one thing that could be >> handled if better integration is wanted. > > Sorry, I don't understand. On Posix platforms, globbing is something > done by the shell, not by the application. Right. And this is something some Emacs packages (such as the git interface I was talking about) rely on. > Since Cygwin emulates Posix, I would expect its applications not > to glob on their own. They don't when you run them from a Cygwin shell or any other Cygwin application. They (well, not the applications as such but the cygwin dll linked to them) do when you run them from a native Windows application. Apparently the idea is that a person using cmd.exe, for example, can say "ls foo*" and have it work in an "expected" way. Unfortunately this feature is not limited to cmd.exe (even though some documentation suggests so). > Are you saying that sometimes Cygwin applications do glob in > their startup code, like native Windows apps? (That's what I > understand from the URL you mentioned.) Yes. -- Hannu