GNU bug report logs - #15899
24.3.50; regression: `region' overlay is lower priority than default

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 14 Nov 2013 22:58:01 UTC

Severity: normal

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 15899 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#15899: 24.3.50; regression: `region' overlay is lower priority than default
Date: Fri, 15 Nov 2013 20:25:46 -0500
> Isn't it confusing that the region highlighting is non-contiguous when
> an overlay is in its middle?

1- you need more than "an overlay in its middle": you need this overlay
   to put a face property that happens to completely cancel the region's
   own face properties (since the `face' properties of overlapping
   overlays are merged).
2- I don't think it's particularly confusing, no.  Usually the context
   makes it pretty clear, and if the user is surprised at some point,
   that surprise will most likely not last very long.
So, no, I don't really think it's a bug.

> What are the downsides of setting the region overlay's priority to
> most-positive-fixnum?

I most-positive-fixnum-ly hate overlay priorities.


        Stefan




This bug report was last modified 11 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.