From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gL3IK/pRQGeG5wAAe85BDQ:P1 (envelope-from ) for ; Fri, 22 Nov 2024 09:42:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gL3IK/pRQGeG5wAAe85BDQ (envelope-from ) for ; Fri, 22 Nov 2024 10:42:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=positron.solutions header.s=google header.b="cd/xLmVt"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732268538; a=rsa-sha256; cv=none; b=PcUMzEmSHPZmC3xNfpF6kETZd5NEn0ERoMVARS/1xTLrXc+WmmL0Hk+XXyLODRM8mfbg8Z bwQY38MvBFMPg6dCM6GaCThEYmiiq/rQckm+BUwZBaKkOdHatPOHF0qmlZjlSZ4Qc0Bwa7 RpRs2eopyiKPm9nrYv/HWXfDfjEPAQk6CboZ2HCFNXlhJ3vzxW/D2OJNv8q6Ktt4d8CWc0 yrYmlIfT8d1PObRTRNlWNB012E2nidaQklZD6d0MPXVnipGEs7TO+rlhSt4SC2hDkVfLd1 CeW2tJz2rPEBnNADoe6izPDtoFDmYtZxwHREhJZIvRcnHbMxRcrfCh3J/HkKdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=positron.solutions header.s=google header.b="cd/xLmVt"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732268538; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=It99HTE1NdiR9PLRRY0PM7hHzVXvNSJAurer3ETssxg=; b=YLqEFcfFs6WGiHwR6J4dtNGEgnrsbeqt4BPEFUWce5dx23Y4kGls8lD/dYFv+P/3bL5S63 07zftDjqKYLNfYkFjXxo21BNXoEJVSgIWIvP9r0qKUq/QvNq4zF6yiue17kpRZFFus3t8K UkYTf7hCjMPsHFZF6kJogM7mXJpaYcUR2bAvGWua98mmuXF7GpA04/bMo90J72M0dhNUvz I5PaS9cvGuieUAmy6qFo2UCSiDTfzUrweG+ikj1kNDIp0N07D24xmkL9GOv/S24BXqeJHn F+i+PEQiXWkUrMNkciDyYcS9aw50enhz7SuAhs/c5S+k0yhTyINciz4nfwwj+A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4F95F66E94 for ; Fri, 22 Nov 2024 10:42:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEQAZ-0001cb-SL; Fri, 22 Nov 2024 04:41:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEQAY-0001cD-C3 for emacs-orgmode@gnu.org; Fri, 22 Nov 2024 04:41:42 -0500 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEQAW-0006Bf-KW for emacs-orgmode@gnu.org; Fri, 22 Nov 2024 04:41:42 -0500 Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-e388d8850d3so1971258276.3 for ; Fri, 22 Nov 2024 01:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1732268498; x=1732873298; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=It99HTE1NdiR9PLRRY0PM7hHzVXvNSJAurer3ETssxg=; b=cd/xLmVtc7VXOM6wWdRHx/RsQ76LkCVch4ZiMJXkqGuRiYPyNfTpEY98vfsgG6Va5X 7MmqO2VGZmE49lO1dVhQp/U9zU8ELacwOoSG4QbylFEYuWYXJN3dYvPrRqFyTfZhDFLd NeRBcwfxsV5FldoVy6MOD1Mt0/ty4I91cXtzWwNZZDeyFZqP0CVP1ge//qejUjMhOj4Y NXPdQkz2PmpSronM23H/que06layh86iXZR6k8MdMtpJPvpzqHEuQXZvm968BbEPW3yH vSWV9YMziMHRQ4SARs2WZsCbl5PMoOkTheA05A5zwI1SKIAm8JtyKId15Gw4Pz91xp0g XrFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732268498; x=1732873298; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=It99HTE1NdiR9PLRRY0PM7hHzVXvNSJAurer3ETssxg=; b=CGXH7+U/kL6LmYapv9Hr5OhFZ3Cv3jTI5UuDAAS0S59DEF12W7147ENh9FNbOmqTyp AuIAUiVudapfMlMlNhKHf3YuBgchp5YP+yBeFtVC2bQdfsBS9jwHnjOLWZQGKZgh0/IE zEqShQfRM2YhWQc/ZKpDu6rWB/RISJ8tF7L9jmEFMhI5aXQlHfCrly8bbyrATc0DrsRL d+QGJ4wnNx209JtnR0Ljd/m2xt4WfYBgXcxNS4ForLPY6csFh7k5K1k2ruuaSKv0CkCa FZeXHyutmKtAXilf9EW4p8B2s6uYLGYBucIqQaISicvzGg51Apa0oxc50VV6KPIpdTZM 3+3Q== X-Gm-Message-State: AOJu0YxgN4vUZLgT9pOIthz8JguATTCIyGJJs9H1iEU/KOrFhPlB5sYq T14vJ9W3joz4j515DWBOLSfbvhbnU4MQqZ9SVisPmKcBbSokKI58fn2zHw1Bgxo/j7x5J5Vyhn9 +a8E9WrTs6N6Vf+qzTaVc/1EqT4Q1gwX+k5a6SONfCOlbiCW4WOY= X-Gm-Gg: ASbGnct5W5D+D1CkZgaUwJMXKOAqAwWoZQB6WSrDzxR90fvg2CfPD294ogcO0KseLKq nmVciQxJj2B4HN82s0DBv3mh9ksPRAFwG7g== X-Google-Smtp-Source: AGHT+IE/vLRujm/e/DCtk1L2mImlGo+WpIca+x1ImviuXJljVRGEWxhP96dCsa6TQQlAAcB+b4R3yAM7C3u8QW3S3OM= X-Received: by 2002:a05:6902:1501:b0:e33:121:4150 with SMTP id 3f1490d57ef6-e38f88b64b7mr2152880276.0.1732268498210; Fri, 22 Nov 2024 01:41:38 -0800 (PST) MIME-Version: 1.0 From: Psionic K Date: Fri, 22 Nov 2024 18:41:27 +0900 Message-ID: Subject: hiding image with overlays; bounds issue To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2d; envelope-from=exec@positron.solutions; helo=mail-yb1-xb2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.33 X-Spam-Score: -0.33 X-Migadu-Queue-Id: 4F95F66E94 X-Migadu-Scanner: mx12.migadu.com X-TUID: w7OSyO7YTbld 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.