From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#66313: Acknowledgement (29.1.50; process-mark sometimes does not yield the expected value) Date: Sat, 07 Oct 2023 18:12:44 +0200 Message-ID: <875y3iv2bn.fsf@metalevel.at> References: <87jzrytt6d.fsf@metalevel.at> <83ttr2zd8g.fsf@gnu.org> <87sf6mv4db.fsf@metalevel.at> <83pm1qzasa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39313"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 66313@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 07 18:13:52 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qp9w8-000A19-8z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Oct 2023 18:13:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qp9w0-0008Ii-Q9; Sat, 07 Oct 2023 12:13:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qp9vy-0008IW-QC for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2023 12:13:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qp9vy-0003nb-HQ for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2023 12:13:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qp9wH-0005YE-Ul for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2023 12:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Oct 2023 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66313 X-GNU-PR-Package: emacs Original-Received: via spool by 66313-submit@debbugs.gnu.org id=B66313.169669518821264 (code B ref 66313); Sat, 07 Oct 2023 16:14:01 +0000 Original-Received: (at 66313) by debbugs.gnu.org; 7 Oct 2023 16:13:08 +0000 Original-Received: from localhost ([127.0.0.1]:55760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qp9vQ-0005Wu-8q for submit@debbugs.gnu.org; Sat, 07 Oct 2023 12:13:08 -0400 Original-Received: from [78.47.144.35] (port=56426 helo=metalevel.at) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qp9vN-0005Wj-Id for 66313@debbugs.gnu.org; Sat, 07 Oct 2023 12:13:06 -0400 Original-Received: by metalevel.at (Postfix, from userid 1000) id 933A29C762; Sat, 7 Oct 2023 18:12:44 +0200 (CEST) In-Reply-To: <83pm1qzasa.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Oct 2023 18:56:21 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272023 Archived-At: Eli Zaretskii writes: > I see no need to revert the patch nor update the documentation. As I see it, the documentation I cited above no longer matches what Emacs does. This is because the documentation of `set-process-buffer' I cited states with regards to BUFFER: if non-=E2=80=98nil=E2=80=99, the process mark will be set to point to= the end of BUFFER. This now no longer seems to hold as unconditionally as in the way it is described, because there are now (again) cases where the process mark will not be set to point to the end of buffer when calling `set-process-buffer' with a non-nil BUFFER argument. The snippet I posted earlier shows an example of this situation. I would greatly appreciate if the documentation could be written in such a way that it makes clear what we can rely on when using Emacs Lisp. Thank you and all the best, Markus