From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15899: 24.3.50; regression: `region' overlay is lower priority than default Date: Fri, 15 Nov 2013 09:14:37 -0800 (PST) Message-ID: <78b8713a-e96f-4b4d-990a-3af59ebdf942@default> References: <<00aa91d2-10a2-4a78-bb95-042d1596a41c@default>> <<8338mxipix.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384535720 19927 80.91.229.3 (15 Nov 2013 17:15:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2013 17:15:20 +0000 (UTC) Cc: 15899@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 15 18:15:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VhMzM-00087X-1X for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2013 18:15:24 +0100 Original-Received: from localhost ([::1]:33093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhMzL-0008H6-FM for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2013 12:15:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhMzA-0008Gy-22 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 12:15:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhMz1-00028J-Ev for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 12:15:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhMz1-00026i-Cd for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 12:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhMz0-0001EY-1Y for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 12:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2013 17:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15899-submit@debbugs.gnu.org id=B15899.13845356914708 (code B ref 15899); Fri, 15 Nov 2013 17:15:01 +0000 Original-Received: (at 15899) by debbugs.gnu.org; 15 Nov 2013 17:14:51 +0000 Original-Received: from localhost ([127.0.0.1]:56163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhMyo-0001Ds-J8 for submit@debbugs.gnu.org; Fri, 15 Nov 2013 12:14:50 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:34477) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhMyl-0001Dd-RY for 15899@debbugs.gnu.org; Fri, 15 Nov 2013 12:14:48 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rAFHEeI4000975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Nov 2013 17:14:41 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAFHEdqJ002566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Nov 2013 17:14:39 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAFHEc65002547; Fri, 15 Nov 2013 17:14:38 GMT In-Reply-To: <<8338mxipix.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80611 Archived-At: > > This change should be reverted as soon as possible. >=20 > It needs not be reverted, I think. We just need to make the > priority of the region overlay higher than any other overlay. 1. I meant that the change to the behavior of the region not appearing "on top of" other highlighting (except isearch) needs to be reverted (undone). IOW, bug #15899 is a regression. It is the behavior that needs to be fixed, regardless of how that is done. 2. Region highlighting should *not* be higher priority than all other overlays. It should not be higher than isearch highlighting, for instance. There might be other exceptions too; dunno. See my previous mail. 3. It's not clear that the reported "bug" was in fact a bug, rather than the intended Emacs behavior. Or if it was, it is not clear just what the bug was. If it was thought to be a bug that other highlighting was in some cases overruled by region highlighting, then that was not, IMO, a bug. 4. If it was in fact a bug, it's not clear why the fix for it needed to involve changing region highlighting to use an overlay. Not clear to me anyway. My suggestion is to first revert the code change and then discuss what the bug is that it was intended to fix. If there is really a bug that needs fixing, then let's please try to find some other, non-shotgun fix for it. There should be no need to change the longstanding behavior of the Emacs region just because someone's highlighting does not show through.