emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* hiding image with overlays; bounds issue
@ 2024-11-22  9:41 Psionic K
  0 siblings, 0 replies; only message in thread
From: Psionic K @ 2024-11-22  9:41 UTC (permalink / raw)
  To: emacs-orgmode

Dslide needs to dynamically show and hide content.  I have been
relying on overlays just for ease of accounting.  Text properties are
a valid fallback if I decide overlays are too fiddly.

I've run into a few cases where if I don't extend the overlay to
underlap the beginning of an image, the overlay does not result in the
image being hidden.  Another case is a bit more egregious, but I
couldn't put the example into dslide's demo.org file.

I can probably diagnose this later with fresh eyes, but at this time,
I am in need of freeing some biological memory and wanted to ask in
case it's obvious what likely went wrong.

The offending code hunks are the calls to `1-` here in
https://github.com/positron-solutions/dslide/commit/ef9b7fe09551e0498a174a3ffa5b48b465cb1a07

Btw, this will be in the next dslide release that I am about to cut.
Some cool features got added.  Available in master and I appreciate
running the demo.org to smoke out issues before I tag the release.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-22  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22  9:41 hiding image with overlays; bounds issue Psionic K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).