[Info-vax] Installing and using GNV - some feedback and questions

hb end.of at inter.net
Mon Oct 24 17:42:32 EDT 2016


On 10/24/2016 09:28 PM, Simon Clubley wrote:
> What I was thinking was more that bash does filename expansion
> on wildcard specifications before passing the parsed command line
> to the program. As such, I was wondering if something funny was
> getting stuffed into argv[] in the first example as a result of
> bash getting something wrong even though the first example isn't
> a wildcard.

It's VMS specific code in emacs. There is a function called
sys_translate_unix, which translates src/main.c (actually it is already
SRC/MAIN.C) to SRC:MAIN.C and ./src/main.c to [.SRC]MAIN.C.

That is, a "DEFINE SRC SYS$DISK:[.SRC]" (before running bash) also lets
emacs open the file. And, as you may have guessed, even on a DCL command
line you can pass a unix pathname to emacs - which fails for src/main.c
the same way.

No question, in a GNV version of emacs, this translation code should not
be called. For GNV one would use the latest emacs source code anyway,
which has all the VMS specific code removed.



More information about the Info-vax mailing list