all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#58706: 29.0.50; [noverlay] `get-pos-property' misses overlay start
@ 2022-10-22  4:34 Matt Armstrong
  2022-10-23  4:05 ` Matt Armstrong
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Armstrong @ 2022-10-22  4:34 UTC (permalink / raw)
  To: 58706; +Cc: stefan monnier

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)))))





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-12 20:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22  4:34 bug#58706: 29.0.50; [noverlay] `get-pos-property' misses overlay start Matt Armstrong
2022-10-23  4:05 ` 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

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.