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 14:41:57 +0300

> Date: Mon, 8 Aug 2022 10:33:17 +0000
> Cc: gregory@heytings.org, emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> 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.

Except that in this case, there's no external authority which imposes
that.



reply via email to

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