emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Major modes using `widen' is a good, even essential, programming pra


From: Eli Zaretskii
Subject: Re: Major modes using `widen' is a good, even essential, programming practice.
Date: Mon, 08 Aug 2022 05:37:08 +0300

> Date: Sun, 7 Aug 2022 20:46:17 +0000
> Cc: emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> > Code executed through fontification-functions should do what it was
> > designed to do, and only that, otherwise it breaks the API contract.
> 
> Yet you are unable to state precisely what this "designed to do" is.
> This "API contract" is a mythological creature.  We've already
> established, in conversation with Eli, that widening is routinely done
> by functions on fontification-functions, and arbitrary buffer positions
> are accessed.

Establishing that sad fact doesn't mean we agree with it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]