GNU bug report logs -
#56637
28.1.90; [FR] Allow a way around font-lock-mode being unconditionally disabled in " *hidden*" buffers
Previous Next
Full log
Message #53 received at 56637 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: yantar92 <at> gmail.com, 56637 <at> debbugs.gnu.org
> Date: Wed, 20 Jul 2022 11:15:20 -0400
>
> >> But I can't see why we shouldn't accommodate those needs more directly.
> >
> > I can: we don't need, and really shouldn't, attempt to cater to each
> > corner use case in core. Doing that (and we've been doing that for
> > quite some time) makes Emacs a larger and less maintainable monster
> > than it needs to be or already is.
>
> I can't see why adding the patch below would make it less maintainable.
Well, I explained that. If you still don't see it, I guess we'll have
to agree to disagree.
> It sure seems much cleaner than the horror quoted above (which suffers
> from all kinds of corner case misbehaviors).
The horror quoted above won't be in Emacs, so it is of no concern to
us.
> > You already have one symptom of the monster's size: I already cannot
> > tell which hooks are and aren't running in temporary buffers without
> > consulting the sources. Way to go, Emacs!
>
> And for that reason, I think we should try and avoid such special cases
> (such the special case of not enabling font-lock in temp buffers), by
> replacing them with other measures which give similar results but
> without such special casing.
Temporary buffers _are_ special cases, whether we want it or not.
This bug report was last modified 2 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.