From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: mouse-face vs. transient-mark-mode Date: Fri, 22 Apr 2005 19:54:39 -0500 (CDT) Message-ID: <200504230054.j3N0sdm02880@raven.dms.auburn.edu> References: <200504222321.j3MNL1r00833@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1114217966 26364 80.91.229.2 (23 Apr 2005 00:59:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2005 00:59:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 23 02:59:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DP8zP-0004uB-90 for ged-emacs-devel@m.gmane.org; Sat, 23 Apr 2005 02:59:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP94Q-0005OB-7l for ged-emacs-devel@m.gmane.org; Fri, 22 Apr 2005 21:04:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DP94D-0005Nl-B3 for emacs-devel@gnu.org; Fri, 22 Apr 2005 21:04:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DP94B-0005MT-6H for emacs-devel@gnu.org; Fri, 22 Apr 2005 21:04:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP94A-0002FT-Tj for emacs-devel@gnu.org; Fri, 22 Apr 2005 21:04:15 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DP8zb-0005ft-Gq for emacs-devel@gnu.org; Fri, 22 Apr 2005 20:59:31 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j3N0ufog009874; Fri, 22 Apr 2005 19:56:41 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j3N0sdm02880; Fri, 22 Apr 2005 19:54:39 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: jdsmith@as.arizona.edu In-reply-to: (message from JD Smith on Fri, 22 Apr 2005 16:50:40 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36281 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36281 JD Smith wrote: I'm not even sure that region highlighting is implemented as an overlay; it may be a text property, and, correct me if I'm wrong, overlays always have higher priority, regardless of their 'priority property. Is there some way you know of giving the region highlighting higher priority? Somebody more familiar with the internals of region highlighting will have to answer the last question. I did not look at those internals, but I believe that the region highlighting is just a display feature and neither implemented a a text property nor as an overlay. Text properties are for longer lasting stuff. If it were a text property, activating the region would mark the buffer modified. Sincerely, Luc.