all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ben Key <bkey76@gmail.com>
Cc: Emacs-devel@gnu.org
Subject: Re: Supporting parameters that include the = character in configure.bat
Date: Sun, 10 Apr 2011 05:49:25 -0400	[thread overview]
Message-ID: <E1Q8rGn-0004Jr-Pz@fencepost.gnu.org> (raw)
In-Reply-To: <BANLkTinUDmrmJM91-dVxYASdppFAreuSag@mail.gmail.com> (message from Ben Key on Sun, 10 Apr 2011 03:46:39 -0500)

> From: Ben Key <bkey76@gmail.com>
> Date: Sun, 10 Apr 2011 03:46:39 -0500
> Cc: Emacs-devel@gnu.org
> 
> > This isn't a problem, because we don't support building Emacs on
> > Windows 9X anyway.
> 
> I was not aware of this.  Configure.bat still has some comments that refer
> to Windows 9x and command.com

Yeah, we need to remove that at some point.

> @echo off
> set use_extensions=1
> setlocal enableextensions
> if errorlevel 1 set use_extensions=0

You cannot rely on the fact that errorlevel is zero before entering
the batch file.  See "setlocal /?", it suggests a more reliable
method.

> if "%use_extensions%" == "1" goto ucflagex
> goto ucflag

What happens if extensions are disabled?  Will arguments with "="
work?  If not, we need to display a warning.

Anyway, "cmd /?" seems to imply that even if the extensions are
disabled in the Registry, one can enable them in an inferior shell by
invoking "cmd /e:on".  If that is true, perhaps if you determine that
the extensions are disabled, you should reinvoke the batch file with
"cmd /e:on".  If this works it's better than punting.



  reply	other threads:[~2011-04-10  9:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10  7:51 Supporting parameters that include the = character in configure.bat Ben Key
2011-04-10  8:14 ` Eli Zaretskii
2011-04-10  8:46   ` Ben Key
2011-04-10  9:49     ` Eli Zaretskii [this message]
     [not found]       ` <BANLkTi=QekwZQLVSoMFE0sTO+RRGAGackQ@mail.gmail.com>
2011-04-10 16:36         ` Eli Zaretskii
2011-04-12  0:17           ` Ben Key
2011-04-12  2:41             ` Ben Key
2011-04-12  5:08               ` Eli Zaretskii
2011-04-13 23:17                 ` Ben Key
2011-04-14  5:11                   ` Eli Zaretskii
2011-04-14 10:38                     ` Juanma Barranquero
2011-04-15  0:56                       ` Ben Key
2011-04-15  9:45                         ` Eli Zaretskii
2011-04-12  2:48             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Q8rGn-0004Jr-Pz@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-devel@gnu.org \
    --cc=bkey76@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.