From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CAAHD1I9yWT9UwEASxT56A (envelope-from ) for ; Tue, 01 Aug 2023 19:13:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YMIGDlI9yWTKLAEAG6o9tA (envelope-from ) for ; Tue, 01 Aug 2023 19:13:54 +0200 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 D180C5B514 for ; Tue, 1 Aug 2023 19:13:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="anWV/LLw"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690910034; 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=IFuffZ2QsQXwzlvj6W6+jLJwRRkyF0sKZDcf0nu53Ts=; b=oDMcgaYAiwfzheAZXHAd0I2AM7Veq3Vf80i35Zn+PfMTm90KU1ZR4L9fzZY5zuYHwxc2Y0 9U3wlQ1jF80MW2rgv4zMwav++9a+m3/wg5vpyEV/74MpNqNtss8/a4yDi4tW3fSzvUIW1w 63a4mF46SMZaIDfzNJORkZ0ICn91qzDjlTodcxz+FAc1NOHcxrxK62aa5SZJV6zh0FtImf zC+GB0wGb9hWoDVOcbVFtR/rdaNeKRykxTwo93Cli30YfTf6Di+P/qyoTV9Kqr8gN8d/2r TfY421AJN0YcTAjilIS+nDU/4sdbqS9PUm6MG8iZOwIpkbUI18Kr091f9hYDpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="anWV/LLw"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690910034; a=rsa-sha256; cv=none; b=GP+RY7Zws0g8ImHBxSFKy14HXIDzyn7w6Ui51LQ/iv6FCcK0NvjiWtHcjQHU7Sf+FxCJxr O4wZTG+xSjW2ApiheH6EE5m0t6GlJDxdXMLkZIiLEZccpiSPInHY59XVoEqAwAPZmCZwDY BseN9ZLWumNRHwd9iShGphLu5riEp1C2BYVKklEezZUIgeC/nHkTshUQLW2lKw9lSNkhtb Ef/Yup4mlf0QIoxQtumDLaaEk1PkX9QlY9+bxDZ3v/ncqyzdN1C/7EHprU0EblJvRM5R79 IkXQNwzGrWFvoZr6ryuChU+EErgj/hvA+71dPPCHNVGc+J1tEni6ZgCKLSsI5g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQsvl-0000O1-Rf; Tue, 01 Aug 2023 13:13:10 -0400 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 1qQsvi-0000Nq-Mi for emacs-orgmode@gnu.org; Tue, 01 Aug 2023 13:13:06 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQsvh-0006Ou-8e for emacs-orgmode@gnu.org; Tue, 01 Aug 2023 13:13:06 -0400 Received: by mail-pf1-x444.google.com with SMTP id d2e1a72fcca58-686e0213c0bso4122126b3a.1 for ; Tue, 01 Aug 2023 10:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690909982; x=1691514782; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=IFuffZ2QsQXwzlvj6W6+jLJwRRkyF0sKZDcf0nu53Ts=; b=anWV/LLw5FGtHP05mbx2gIvSeOs+exFFEiAEuzCm1ngxVT6Fd0kIlfVbE8yc/JYj1o G+ydBARjaHZKb6q8fvK965Q2clY+yc/xfrt4vz1rykIT6uvsxFodGUQyzJt33P042EfX TCpnIZFCSeHlOG2OkkaJN4R4C9gThKRl88Hvb9dUJ7JitXPV1OD5vLNv1zl7m4SnKQuH Fsm1mavzIvT8vZxTB2QJtdm9S8AU53BpsYi2XiNwRCggbdKD8VO/N51Leqp6hVCWaKgP /b742BuxggtnTh7FUHQCrcXqVj4po+aRi6f+fbso6VcvI4X1L6md0siMItxWilBwMCWb 8EvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690909982; x=1691514782; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IFuffZ2QsQXwzlvj6W6+jLJwRRkyF0sKZDcf0nu53Ts=; b=WdwtuoPbGpdDmLMa7U8H86vxE33AWHSTSy7oO+6uW+SVTe7qQk78T/fNFdDdQv+6vM qzO+V5La4NRifTqZALdA2OtMWN2whGVaIW7KRD9tdeMUfEjSgW+Yt9v8NNJrjJdWZOlM SMMPEt5ieaazVboue9wXvUte+6gPEAAqoGnfqNihgYCh3BVdAyL3Zkd800cXMkQvz+0R 6NE2FhZStbyOAdr/htSQJYPfdWAKe0TUHnRiVenQnc8mOf8zvNpZzMMCoZmzova/J0/+ vIoYOqPQFJ6FgEYI+FjTip0yCc0lMv+uXOn0gI0bLYgSV7Aj8szKiQSCj9lJa3+jV2qo QOXA== X-Gm-Message-State: ABy/qLYEYLP+Xw3+3EaNJvnSxAWcmkvWh+z2YCdlIDZ3v4uVeALZRj27 F0rdO7DWV+uzGc9FlaHwW3/cr/31wlJP20TXL7g= X-Google-Smtp-Source: APBJJlGRQ7ZHg33iqTmdvmC4cu5+5Cupa9Tt88zfRS3BuQWHvPWBlzA3aXbAJD0bJkiw5mFmIfQOtQ== X-Received: by 2002:a05:6a20:8e06:b0:13d:73c3:7ab3 with SMTP id y6-20020a056a208e0600b0013d73c37ab3mr8402461pzj.13.1690909982488; Tue, 01 Aug 2023 10:13:02 -0700 (PDT) Received: from localhost ([157.254.193.34]) by smtp.gmail.com with ESMTPSA id n20-20020a62e514000000b0066684d8115bsm9549246pff.178.2023.08.01.10.13.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 10:13:01 -0700 (PDT) User-agent: mu4e 1.11.2; emacs 29.1 From: Eli Qian To: emacs-orgmode@gnu.org Subject: [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)] Date: Wed, 02 Aug 2023 01:04:25 +0800 Message-ID: <871qgmeleu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=eli.q.qian@gmail.com; helo=mail-pf1-x444.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: -6.65 X-Spam-Score: -6.65 X-Migadu-Queue-Id: D180C5B514 X-Migadu-Scanner: mx1.migadu.com X-TUID: c5Dre2lzZ4r/ When updating to the new released Emacs 29.1, I found that org-mode cannot toggle the display of inline images after reentering org-mode. Steps to reproduce: 1. emacs -Q 2. M-x org-mode RET 3. Input a figure link, such as [[imge-path]] 4. M-x org-toggle-inline-images RET. You will see an image displayed in the current buffer. 5. Keep the image display, type M-x org-mode RET 6. M-x org-toggle-inline-images RET, then you will find that the image cannot be turned off. It seems that org-mode generates more than one overlay for the image. You can use `C-u C-x =` to verify it. Emacs : GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-31 Package: Org mode version 9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)