From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Overalays and point-entered Date: Wed, 23 Sep 2009 16:55:54 -0400 Message-ID: References: <5e3a506e0909101709u2259d56h25f3ef1ec67326aa@mail.gmail.com> <5e3a506e0909101902h72747299u2e306830ce63b11d@mail.gmail.com> <5e3a506e0909102108h381957cahfcaa681baa4abf@mail.gmail.com> <5e3a506e0909130947m1669cda0y25d13a5e8dcd85df@mail.gmail.com> <5e3a506e0909140810r38a83a84l387fb6bafeb962c1@mail.gmail.com> <5e3a506e0909161346w1d5a8bebp84f1d51f0f446f28@mail.gmail.com> <5e3a506e0909230841i1d87b7ep397f2809e2cbdef9@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253739375 30134 80.91.229.12 (23 Sep 2009 20:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2009 20:56:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nathaniel Flath Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 22:56:08 2009 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 1MqYsh-0006OX-2X for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2009 22:56:07 +0200 Original-Received: from localhost ([127.0.0.1]:42315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqYsg-0000QE-Mw for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2009 16:56:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqYsb-0000Py-NO for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:56:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqYsW-0000Pm-FU for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:56:00 -0400 Original-Received: from [199.232.76.173] (port=36802 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqYsW-0000Ph-7w for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:55:56 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:11216 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqYsV-00020O-PK for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:55:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsFAAMoukpFpYEz/2dsb2JhbACBUdYVhBsFh34 X-IronPort-AV: E=Sophos;i="4.44,440,1249272000"; d="scan'208";a="46450539" Original-Received: from 69-165-129-51.dsl.teksavvy.com (HELO pastel.home) ([69.165.129.51]) by ironport2-out.pppoe.ca with ESMTP; 23 Sep 2009 16:55:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0A40F807A; Wed, 23 Sep 2009 16:55:54 -0400 (EDT) In-Reply-To: <5e3a506e0909230841i1d87b7ep397f2809e2cbdef9@mail.gmail.com> (Nathaniel Flath's message of "Wed, 23 Sep 2009 11:41:27 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:115563 Archived-At: > Since the main point I was implementing this was so I could add these > properties to overlay, I'd prefer a solution that works better with them. Yes, I understand that, and I agree it should work well with overlays as well. > Would it be better to store overlays at point at the end of this loop, and > use this instead of looking up old points? Might be, yes. > To solve the boundary-control issue, I could look at get-pos-property > and use the same mechanism it does for controlling boundary behaviour. Yes, you'd need to implement a get-overlays-at-pos. Stefan