From: Eli Zaretskii <eliz@gnu.org>
To: LdBeth <andpuke@foxmail.com>
Cc: 52509@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 [thread overview]
Message-ID: <83r1aehro0.fsf@gnu.org> (raw)
In-Reply-To: <tencent_450C1A1D1AABDBBF25B7BAEE4747819E0C07@qq.com> (message from LdBeth on Wed, 15 Dec 2021 18:59:59 +0800)
> Date: Wed, 15 Dec 2021 18:59:59 +0800
> From: LdBeth <andpuke@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.
next prev parent reply other threads:[~2021-12-15 14:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 10:59 bug#52509: 27.2; `call-process-region' won't accept nil as START argument LdBeth
2021-12-15 14:09 ` Stephen Berman
2021-12-15 15:26 ` LdBeth
2021-12-15 14:24 ` Eli Zaretskii [this message]
2021-12-19 12:46 ` Lars Ingebrigtsen
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=83r1aehro0.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=52509@debbugs.gnu.org \
--cc=andpuke@foxmail.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.