From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.bugs Subject: Re: zero length overlays not found with overlays-at Date: Fri, 23 Nov 2007 01:19:51 +0100 Message-ID: References: <47460A26.4030401@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1195777263 1467 80.91.229.12 (23 Nov 2007 00:21:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 00:21:03 +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:21:09 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 1IvMI9-0006Hw-Ba for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Nov 2007 01:21:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvMHv-0007Pv-3N for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Nov 2007 19:20:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvMHI-0006zb-8k for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:20:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvMHH-0006z5-JL for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:20:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvMHH-0006yw-Eo for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:20:15 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IvMHH-0002ou-3i for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2007 19:20:15 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IvMH0-0003tM-E6 for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2007 00:19:58 +0000 Original-Received: from remote1.student.chalmers.se ([129.16.29.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 00:19:58 +0000 Original-Received: from bojohan+news by remote1.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 00:19:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote1.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:FxbyNt8OuncLWTv1aGR9JSTSB58= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:17050 Archived-At: "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. -- Johan Bockgård