From: Matt Armstrong <matt@rfc20.org>
To: 58706@debbugs.gnu.org
Cc: stefan monnier <monnier@iro.umontreal.ca>
Subject: bug#58706: 29.0.50; [noverlay] `get-pos-property' misses overlay start
Date: Fri, 21 Oct 2022 21:34:42 -0700 [thread overview]
Message-ID: <87edv04gt9.fsf@rfc20.org> (raw)
X-Debbugs-CC: Stefan Monnier <monnier@iro.umontreal.ca>
The following test passes on mainline but doesn't on feature/noverlay.
On the noverlay branch `get-pos-property' returns nil.
(ert-deftest test-get-pos-property-overlay-beg ()
"Test `get-pos-property' at the beginning of an overlay."
(with-temp-buffer
(insert (make-string 10 ?x))
(let ((overlay (make-overlay 5 7)))
(overlay-put overlay 'forty-two 42))
(should (equal 42 (get-pos-property 5 'forty-two)))))
next reply other threads:[~2022-10-22 4:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 4:34 Matt Armstrong [this message]
2022-10-23 4:05 ` bug#58706: 29.0.50; [noverlay] `get-pos-property' misses overlay start Matt Armstrong
2022-10-24 19:42 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-12 20:57 ` Stefan Kangas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edv04gt9.fsf@rfc20.org \
--to=matt@rfc20.org \
--cc=58706@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.