On Thu, Sep 24 2020, Lars Ingebrigtsen wrote:

> marmot-te <marmot-te@riseup.net> writes:
>
>> I noticed that creating a buffer for a process with set-process-buffer
>> does not create also a marker specific to that process that can be
>> retrieved with process-mark afteward.
>
> Yes, pretty odd, but it’s just a normal marker, I think, so if you want
> it to point somewhere else, you can just use do
>
> (set-marker (process-mark proc) (point-max) buffer)

Now I see it it feels so obvious :)

> However, while there is some potential for breakage here, I think it
> makes sense to have set-process-buffer do this, so I’ve applied it to
> Emacs 28. If this breaks anything (and that is possible – somebody
> could be using `process-mark’ as a weird way to keep track of what the
> previous buffer was – it should be reverted.
>
> I think that’s very unlikely, but I guess we’ll find out.

Ok, thanks you !


<:3nn~~
<:3nn~~
<:3nn~~