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: Alan Mackenzie
Subject: Re: Major modes using `widen' is a good, even essential, programming practice.
Date: Mon, 8 Aug 2022 10:33:17 +0000

On Mon, Aug 08, 2022 at 05:37:08 +0300, Eli Zaretskii wrote:
> > 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.

Death and taxes are sad facts too.  Some things, whether we agree with
them or not, just are.  Calling them "sad" doesn't help deal with them.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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