GNU bug report logs - #52509
27.2; `call-process-region' won't accept nil as START argument

Previous Next

Package: emacs;

Reported by: LdBeth <andpuke <at> foxmail.com>

Date: Wed, 15 Dec 2021 12:56:03 UTC

Severity: normal

Tags: moreinfo

Found in version 27.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: LdBeth <andpuke <at> foxmail.com>
Cc: 52509 <at> debbugs.gnu.org
Subject: bug#52509: 27.2; `call-process-region' won't accept nil as START argument
Date: Wed, 15 Dec 2021 16:24:47 +0200
> Date: Wed, 15 Dec 2021 18:59:59 +0800
> From: LdBeth <andpuke <at> foxmail.com>
> 
> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>   call-process-region(nil 0 "/bin/cat" t t)
>   this-wont()
>   eval((this-wont) t)
>   eval-expression((this-wont) nil nil 127)
>   funcall-interactively(eval-expression (this-wont) nil nil 127)
>   call-interactively(eval-expression nil nil)
>   command-execute(eval-expression)
> ```
> 
> While if my understanding to the docstring is right, these two should
> give identical effect.
> 
> The Emacs version I'm using is 27.2, however I suspect this can also
> be reproduced in master branch.

I can reproduce this in Emacs 27, but not in Emacs 28.  So I guess
this has been fixed meanwhile.




This bug report was last modified 3 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.