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: Thu, 14 Nov 2013 14:57:14 -0800 (PST) Message-ID: <20137354-f982-4314-9c09-21a5fbc36557@default> 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 1384469904 11638 80.91.229.3 (14 Nov 2013 22:58:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2013 22:58:24 +0000 (UTC) To: 15899@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 14 23:58:26 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 1Vh5rm-0000SY-Bp for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2013 23:58:26 +0100 Original-Received: from localhost ([::1]:57681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh5rm-0007sz-2O for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2013 17:58:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh5rY-0007p0-Fc for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:58:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vh5rO-0003aw-Dh for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:58:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh5rO-0003as-At for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vh5rO-0000fo-0K for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:58: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: Thu, 14 Nov 2013 22:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13844698732572 (code B ref -1); Thu, 14 Nov 2013 22:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Nov 2013 22:57:53 +0000 Original-Received: from localhost ([127.0.0.1]:52781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vh5rE-0000fP-Rx for submit@debbugs.gnu.org; Thu, 14 Nov 2013 17:57:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49857) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vh5rD-0000fA-7i for submit@debbugs.gnu.org; Thu, 14 Nov 2013 17:57:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vh5qx-0003Yg-UY for submit@debbugs.gnu.org; Thu, 14 Nov 2013 17:57:45 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh5qx-0003Yc-R2 for submit@debbugs.gnu.org; Thu, 14 Nov 2013 17:57:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh5qp-0007eu-7e for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:57:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vh5qg-0003VY-HY for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:57:27 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:18225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh5qg-0003VN-9b for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2013 17:57:18 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rAEMvGHU018755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 14 Nov 2013 22:57:17 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAEMvFPk022718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Nov 2013 22:57:16 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAEMvFXw012123 for ; Thu, 14 Nov 2013 22:57:15 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:80458 Archived-At: In Emacs 24.3, if you highlight some text with an overlay, without specifying any priority for the overlay, that overlay will be lower priority than the `region' face overlay that is used to select text for the region. In this build, the region overlay is of lower priority, so the other overlay hides the region overlay. To test, create an overlay without specifying any priority. E.g. evaluate this in buffer *scratch* from emacs -Q. (text-mode) ; No font lock interference. (setq overlay (make-overlay 20 40)) (overlay-put overlay 'face 'highlight) Then select text in the first line, from before char 20 to after char 40. The highlighting from 20 to 40 shows, instead of the region. Do the same thing in Emacs 24.3 - no bug there. Dunno when the regression started. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-11-12 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG= =3D1'