Subject: Re: bug#4597: Antwort: Re: bug#4587: 23.1; sort-lines and sort-fields always set buffer modified

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 04 May 2022 09:53:24 +0200

Eli Zaretskii <[email-masked]> writes:

> This uses buffer-hash, which is only sensitive to changes in the byte
> sequences of the buffer text.  AFAIU, it doesn't know about other
> possible changes we perceive as "buffer changes", like changes in
> faces, overlays, buffer-file-coding-system, etc.  Shouldn't this be
> prominently documented in the macro's doc string?

(Adding overlays doesn't change modification status.)

If you think that needs to be spelled out, please go ahead, but it
doesn't seem necessary to me.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no