From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15899: 24.3.50; regression: `region' overlay is lower priority than default Date: Sat, 16 Nov 2013 17:00:17 -0500 Message-ID: References: <20137354-f982-4314-9c09-21a5fbc36557@default> <83ob5mi02j.fsf@gnu.org> <83bo1liv80.fsf@gnu.org> <83txfchg0u.fsf@gnu.org> <67d3dd9d-9abe-488f-80eb-7d647bd81e7e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1384639276 5786 80.91.229.3 (16 Nov 2013 22:01:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2013 22:01:16 +0000 (UTC) Cc: 15899@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 16 23:01:20 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 1Vhnvb-0004Hz-Vm for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 23:01:20 +0100 Original-Received: from localhost ([::1]:37360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vhnvb-0000IS-JB for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 17:01:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhnvS-0000IG-Ce for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 17:01:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhnvK-0004uz-V5 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 17:01:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhnvK-0004ur-S8 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 17:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhnvK-0004f9-6X for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2013 22:01: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.138463921217851 (code B ref 15899); Sat, 16 Nov 2013 22:01:02 +0000 Original-Received: (at 15899) by debbugs.gnu.org; 16 Nov 2013 22:00:12 +0000 Original-Received: from localhost ([127.0.0.1]:57550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhnuV-0004dB-Hh for submit@debbugs.gnu.org; Sat, 16 Nov 2013 17:00:12 -0500 Original-Received: from relais.videotron.ca ([24.201.245.36]:14282) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhnuR-0004d0-Fl for 15899@debbugs.gnu.org; Sat, 16 Nov 2013 17:00:08 -0500 Original-Received: from ceviche.home ([173.179.11.28]) by VL-VM-MR003.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MWD00CMHMG65850@VL-VM-MR003.ip.videotron.ca> for 15899@debbugs.gnu.org; Sat, 16 Nov 2013 17:00:06 -0500 (EST) Original-Received: by ceviche.home (Postfix, from userid 20848) id AA7AB660A5; Sat, 16 Nov 2013 17:00:17 -0500 (EST) In-reply-to: <67d3dd9d-9abe-488f-80eb-7d647bd81e7e@default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:80664 Archived-At: >> The "default priority" at least is able to handle those things >> sometimes, by making overlays's ordering depending on nesting. > Not sure what that means, and I wish I did understand what you > mean by that. Can you give a tiny example to illustrate? The default ordering between two overlays that have the same priority is that if one of the two overlays is nested in the other it should have higher priority. The idea is to try and avoid having one overlay completely hide another. > Not clear how so. Can you elaborate? Are you referring to > the fact that a user who wants to see some other highlighting > (besides isearch) "on top" could not do so? Exactly. > We are certainly doing that here, now, but this is something > that would be more appropriate for emacs-devel, IMO. It would > have been better to initiate a discussion and proposal there, > pointing to the bug report and outlining what the behavior > changes would be. But you've heard this before... No, the change's purpose was not to fix that bug. It was just a side-effect. The main purpose of the change was to move the region highlighting code out of the redisplay to Elisp. The good news is that if you liked to old behavior you can get it now by writing some Elisp code, whereas in the past you had no such choice. Stefan