From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Info mutilates user overlays. Date: Wed, 1 Oct 2003 14:14:35 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200310011914.h91JEZU01874@raven.dms.auburn.edu> References: <200310010216.h912Ge027788@raven.dms.auburn.edu> <200310011449.h91EnBN28933@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1065038190 24346 80.91.224.253 (1 Oct 2003 19:56:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2003 19:56:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 01 21:56:28 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4n5I-0007kY-00 for ; Wed, 01 Oct 2003 21:56:28 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4n5H-0003dl-00 for ; Wed, 01 Oct 2003 21:56:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A4meZ-0008Ai-3p for emacs-devel@quimby.gnus.org; Wed, 01 Oct 2003 15:28:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A4mdm-0007xp-Av for emacs-devel@gnu.org; Wed, 01 Oct 2003 15:28:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A4mdF-0007pZ-PS for emacs-devel@gnu.org; Wed, 01 Oct 2003 15:28:00 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1A4mdF-0007pM-8V for emacs-devel@gnu.org; Wed, 01 Oct 2003 15:27:29 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by mx20.gnu.org with esmtp (Exim 4.24) id 1A4mUX-0003Jo-DA for emacs-devel@gnu.org; Wed, 01 Oct 2003 15:18:29 -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 h91JIOAJ017008; Wed, 1 Oct 2003 14:18:24 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h91JEZU01874; Wed, 1 Oct 2003 14:14:35 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier@IRO.UMontreal.CA In-reply-to: (message from Stefan Monnier on 01 Oct 2003 13:33:45 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16827 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16827 Stefan monnier wrote: How do you highlight? What do you highlight? What for? In the very concrete case at hand, I was highlighting regions with non-nil `help-echo' property, using overlays with background color. The code works for properties other than help-echo too. Again, in the concrete case at hand, I was doing it explicitly to check whether my code would work in *info* buffers. But I have used overlays personally for a variety of reasons, for instance, to highlight for emphasis. I guess I could just tell in the documentation that the highlighting can easily "evaporate" in certain buffers, such as *info* and *help*. The user can always re-highlight. For my unrelated personal uses (that can not be reconstructed from information contained in the buffer) I might have to save my overlays in a file to do that. Sincerely, Luc.