[Bug: 21.4.13] directory-sep-char breaks shell-command

Adrian Aichner adrian at xemacs.org
Thu Jun 23 19:07:06 EDT 2005


David Abrahams <dave at boost-consulting.com> writes:

> Adrian Aichner <adrian at xemacs.org> writes:
>
>> David Abrahams <dave at boost-consulting.com> writes:
>>
>>> ================================================================
>>> Dear Bug Team!
>>>
>>> On NT,
>>>
>>>   (setq directory-sep-char ?/)
>>>
>>> which is supposed to be supported, causes all commands issued with
>>> `M-!' to respond "The syntax of the command is incorrect."
>>
>> Hi David, could you please provide a minimal repeatable test case
>> starting with
>> xemacs -vanilla
>
> `M-S-: (setq directory-sep-char ?/)'
> 'M-S-! dir'

Pretty much, thanks!

Correct notation of the above is
M-: (eval-expression)
and
M-! (shell-command)

I inserted them here by use of
C-u (universal-argument)
C-h c (describe-key-briefly)
M-: (eval-expression)
and
C-u (universal-argument)
C-h c (describe-key-briefly)
M-! (shell-command)

More importantly, I able to reproduce this problem in
XEmacs 21.5  (beta20) "cilantro" (+CVS-20050422) [Lucid] (i586-pc-win32, Mule) of Sun May 15 2005 on D5DC120J

Haven't found root cause yet, but

	      (setq proc
		    (apply 'start-process-internal "*call-process*"
			   (if (eq t stderr) buffer (list buffer errbuf))
			   program args))
called from
(defun call-process-internal (program &optional infile buffer display
is inserting that error message

The syntax of the command is incorrect.

in *Shell Command Output*.

Adrian

>
> I hope that's what you had in mind.

-- 
Adrian Aichner
 mailto:adrian at xemacs.org
 http://www.xemacs.org/





More information about the XEmacs-Beta mailing list