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: Sat, 16 Nov 2013 08:20:29 -0800 (PST) Message-ID: <76fdea95-c6a8-4721-b006-7bdaeedd98a1@default> References: <20137354-f982-4314-9c09-21a5fbc36557@default> <83ob5mi02j.fsf@gnu.org> <83bo1liv80.fsf@gnu.org> <87mwl58yvc.fsf@yandex.ru> <834n7dipnq.fsf@gnu.org> <5286A1AD.1080106@yandex.ru> <83wqk8hgtf.fsf@gnu.org> <52874820.2020601@yandex.ru> 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 1384618880 27531 80.91.229.3 (16 Nov 2013 16:21:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2013 16:21:20 +0000 (UTC) Cc: 15899@debbugs.gnu.org To: Dmitry Gutov , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 16 17:21: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 1Vhicc-0003EL-VH for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 17:21:23 +0100 Original-Received: from localhost ([::1]:36213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vhicc-0001a2-Ir for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 11:21:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhicR-0001Zv-H8 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:21:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhicI-0005YR-Up for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:21:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhicI-0005YN-RS for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhicI-0003N8-AA for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:21: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: Sat, 16 Nov 2013 16:21:02 +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.138461884212933 (code B ref 15899); Sat, 16 Nov 2013 16:21:02 +0000 Original-Received: (at 15899) by debbugs.gnu.org; 16 Nov 2013 16:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:57340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vhibx-0003MW-Pc for submit@debbugs.gnu.org; Sat, 16 Nov 2013 11:20:42 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:18234) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vhibu-0003MD-Dv for 15899@debbugs.gnu.org; Sat, 16 Nov 2013 11:20:39 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rAGGKVLj010511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 16 Nov 2013 16:20:32 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 rAGGKVww010748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Nov 2013 16:20:31 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAGGKUom010741; Sat, 16 Nov 2013 16:20:30 GMT In-Reply-To: <52874820.2020601@yandex.ru> 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:80644 Archived-At: > It has a command `easy-mark' which selects some unit of text around > point. And it uses a dedicated overlay to mark the place where point > was before the command was called, in color. >=20 > So that overlay needs to have higher priority than region. No need > to make region highlighting invisible. Similarly, the isearch overlays should have higher priority than any region overlay. (And yes, I agree with you that users should of course be able to change priorities as they see fit.) If region highlighting is to use an overlay, then its default priority should be higher than most predefined (i.e., emacs -Q) overlays, but lower than the isearch priorities.