From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: Re: zero length overlays not found with overlays-at Date: Fri, 23 Nov 2007 01:29:12 +0100 Message-ID: <47461ED8.8080306@gmail.com> References: <47460A26.4030401@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1195777771 2619 80.91.229.12 (23 Nov 2007 00:29:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 00:29:31 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 23 01:29:38 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvMQL-0000V9-FH for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Nov 2007 01:29:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvMQ7-0006hH-6r for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Nov 2007 19:29:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvMQ2-0006gO-8j for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:29:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvMQ0-0006fl-OO for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:29:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvMQ0-0006fh-Ij for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:29:16 -0500 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IvMQ0-0004zr-0d for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:29:16 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:59955 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IvMPy-00020J-7w for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2007 01:29:14 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 071122-0, 2007-11-22), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1IvMPy-00020J-7w. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1IvMPy-00020J-7w c0f90d60a8c037352d3161c9797d7feb X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17051 Archived-At: Johan Bockgård wrote: > "Lennart Borgman (gmail)" writes: > >> This shows the bug: >> >> (defun test-0-ovl () >> (remove-overlays) >> (make-overlay (point) (point) (current-buffer) t t) >> (message "point=%s, -at=%S, -in=%S" >> (point) >> (overlays-at (point)) >> (overlays-in (point) (1+ (point))) >> )) >> >> Is this bug still there? > > It's the correct behavior. The doc string for overlays-at (now) says > > Return a list of the overlays that contain the character at POS. Thanks. I guess there is a good reason for changing the doc string, but this reminds me of a big company ... In any case this is ok.