From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: FW: overlays with higher priority than region [was: no good waytohighlight rectangle while region is highlighted] Date: Tue, 11 Mar 2008 08:08:50 -0800 Message-ID: <000b01c88392$32358010$0600a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205251832 32349 80.91.229.12 (11 Mar 2008 16:10:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2008 16:10:32 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 11 17:10:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZ73g-0000wW-7i for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 17:10:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZ737-0006uF-N9 for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 12:09:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZ72y-0006qv-RA for emacs-devel@gnu.org; Tue, 11 Mar 2008 12:09:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZ72u-0006mT-Ap for emacs-devel@gnu.org; Tue, 11 Mar 2008 12:09:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZ72t-0006mF-80 for emacs-devel@gnu.org; Tue, 11 Mar 2008 12:09:43 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZ72s-0002Hs-OF for emacs-devel@gnu.org; Tue, 11 Mar 2008 12:09:43 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m2BG9dba026827 for ; Tue, 11 Mar 2008 11:09:40 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m2B2r6On032293 for ; Tue, 11 Mar 2008 10:09:39 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3607966971205251729; Tue, 11 Mar 2008 09:08:49 -0700 Original-Received: from dradamslap1 (/141.144.83.163) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 11 Mar 2008 09:08:48 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Achs4jGbCkoytUJmSHKqMUC1LAqnVAWr+qWA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:92165 Archived-At: Resending. ---- From: Drew Adams Sent: Wednesday, January 23, 2008 1:26 PM > Summary of this message: This is a feature request for (1) the > possibility that some overlays can have priority over the use of the > region face, and/or (2) a variant of the ?box? face feature where the > vertical lines of the box take no extra space. > RMS> (2) sounds terribly low-level. (1) is cleaner. RMS> I think (1) could be implemented with a change in RMS> face_at_buffer_position. For instance, we could define a RMS> certain priority for the region, so that overlays whose RMS> priority exceeds that cover the region. RMS> It doesn't look terribly hard, but you need to think carefully RMS> to prove that you store the value into *ENDPTR in all cases. Did this get dropped? I too would like to see the possibility of having an overlay that has higher priority than the region. One use case is highlighting a line within the region. [Please don't suggest other ways to draw attention to the line, here (e.g. display-table, fringe). That is just an example. I would like to be able to have an overlay with a higher priority than the region - I'm not interested in this example per se.]