commit: Support #!,
to allow XEmacs to be called as a script interpreter.
Vin Shelton
acs at alumni.princeton.edu
Mon May 12 11:29:57 EDT 2008
Hello, Aidan -
This change:
On Wed, May 7, 2008 at 5:25 PM, Aidan Kehoe
<aidan-guest at alioth.debian.org> wrote:
> changeset: 4448:fd8a9a4d81d944bffd5a1c3258dab652470b27d4
> parent: 4408:8bbabcab2c42867d7ed8338cc5f575551fd2443c
> user: Aidan Kehoe <kehoea at parhasard.net>
> date: Sun Jan 20 19:53:54 2008 +0100
> files: ChangeLog Makefile.in.in configure configure.ac lisp/ChangeLog lisp/startup.el man/ChangeLog man/xemacs/cmdargs.texi src/ChangeLog src/config.h.in src/emacs.c src/lread.c
> description:
> Support #!, to allow XEmacs to be called as a script interpreter.
doesn't work with native Windows XEmacs:
emacs.c
icl: warning #10210: problem with Microsoft compilation of
'e:\cygwin\usr\local\src\xemacs-21.5-test-2008-05-12\src\emacs.c'
e:\cygwin\usr\local\src\xemacs-21.5-test-2008-05-12\src\emacs.c(966):
error: identifier "LSHEBANG_PROGNAME" is undefined
if (progname_len >= SHEBANG_PROGNAME_LENGTH)
^
e:\cygwin\usr\local\src\xemacs-21.5-test-2008-05-12\src\emacs.c(970):
error: identifier "SHEBANG_PROGNAME" is undefined
SHEBANG_PROGNAME)
^
e:\cygwin\usr\local\src\xemacs-21.5-test-2008-05-12\src\emacs.c(973):
error: expected a ")"
|| (progname_len >= SHEBANG_EXE_PROGNAME_LENGTH &&
^
e:\cygwin\usr\local\src\xemacs-21.5-test-2008-05-12\src\emacs.c(975):
error: expected a ")"
(argv[0] + (progname_len - SHEBANG_EXE_PROGNAME_LENGTH),
^
compilation aborted for
e:\cygwin\usr\local\src\xemacs-21.5-test-2008-05-12\src\emacs.c (code
2)
NMAKE: fatal error U1077: 'icl' : return code '0x2'
Stop.
Please figure out a way to support this in the baroque Windows
configuration process.
Thanks,
Vin
More information about the XEmacs-Patches
mailing list