GNU bug report logs - #66313
29.1.50; process-mark sometimes does not yield the expected value

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Mon, 2 Oct 2023 19:52:01 UTC

Severity: normal

Found in version 29.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 66313 <at> debbugs.gnu.org (full text, mbox):

From: Markus Triska <triska <at> metalevel.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 66313 <at> debbugs.gnu.org
Subject: Re: bug#66313: Acknowledgement (29.1.50;
 process-mark sometimes does not yield the expected value)
Date: Sat, 07 Oct 2023 18:12:44 +0200
Eli Zaretskii <eliz <at> gnu.org> 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-‘nil’, 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




This bug report was last modified 1 year and 228 days ago.

Previous Next


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