unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: bug-gnu-emacs@gnu.org
Subject: Re: zero length overlays not found with overlays-at
Date: Fri, 23 Nov 2007 01:19:51 +0100	[thread overview]
Message-ID: <yoijhcjdyfrs.fsf@remote1.student.chalmers.se> (raw)
In-Reply-To: 47460A26.4030401@gmail.com

"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> 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





  reply	other threads:[~2007-11-23  0:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22 23:00 zero length overlays not found with overlays-at Lennart Borgman (gmail)
2007-11-23  0:19 ` Johan Bockgård [this message]
2007-11-23  0:29   ` Lennart Borgman (gmail)
2007-11-23 10:45     ` Johan Bockgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijhcjdyfrs.fsf@remote1.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).