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: Overlays and point-entered Date: Thu, 24 Sep 2009 10:31:39 -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> <87k4zpywu2.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253802719 4178 80.91.229.12 (24 Sep 2009 14:31:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 14:31:59 +0000 (UTC) Cc: Nathaniel Flath , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 24 16:31:51 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 1MqpMN-000869-AK for ged-emacs-devel@m.gmane.org; Thu, 24 Sep 2009 16:31:51 +0200 Original-Received: from localhost ([127.0.0.1]:58275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqpMM-00023V-AZ for ged-emacs-devel@m.gmane.org; Thu, 24 Sep 2009 10:31:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqpMH-000235-1l for emacs-devel@gnu.org; Thu, 24 Sep 2009 10:31:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqpMC-000229-Lg for emacs-devel@gnu.org; Thu, 24 Sep 2009 10:31:44 -0400 Original-Received: from [199.232.76.173] (port=35190 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqpMC-000226-Iy for emacs-devel@gnu.org; Thu, 24 Sep 2009 10:31:40 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:36526 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqpMC-000668-8P for emacs-devel@gnu.org; Thu, 24 Sep 2009 10:31:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAEcfu0pFpYEz/2dsb2JhbACBUtU3hBsFh34 X-IronPort-AV: E=Sophos;i="4.44,445,1249272000"; d="scan'208";a="46497161" Original-Received: from 69-165-129-51.dsl.teksavvy.com (HELO ceviche.home) ([69.165.129.51]) by ironport2-out.pppoe.ca with ESMTP; 24 Sep 2009 10:31:39 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 70B0AB407F; Thu, 24 Sep 2009 10:31:39 -0400 (EDT) In-Reply-To: <87k4zpywu2.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Thu, 24 Sep 2009 10:07:17 +0900") 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:115580 Archived-At: >> Yes, you'd need to implement a get-overlays-at-pos. > This is non-trivial to implement efficiently. The XEmacs > implementation is so (perhaps unnecessarily) complex that Richard once > wrote: It shouldn't be difficult to change the get_pos_property function we already have to return the list of relevant overlays. Our overlay code is not efficient, but it's indeed not easy to make it significantly better. Stefan