From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: AKIYAMA Kouhei Newsgroups: gmane.emacs.bugs Subject: bug#73231: 30.0.91; image-dired cannot be operated until all thumbnails are created (MS-Windows) Date: Sat, 14 Sep 2024 09:25:11 +0900 Message-ID: References: <861q1n1z2z.fsf@gmail.com> <867cbfk0e5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17873"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73231@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 14 09:00:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1spMlY-0004Sb-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Sep 2024 09:00:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spMlB-0004e7-MV; Sat, 14 Sep 2024 02:59:57 -0400 Original-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 1spMl8-0004dQ-K3 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 02:59:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spMl8-0005cU-Az for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 02:59:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=BHIM07oo4UGMbdN3TVynjdG5y8G4oU/LNmkDTmPCD6w=; b=jmEmerqkldCmMHd+E/opbp5J22eSY0ZNGto4N/ecUaVjZ5AfDOqVUj/yGUzP9AXjZlrqwS5z7M2Ij8DXi+9LKhHLBbBMGV6l6drEJWGisxo4TWenAFsX3Bt3vh/+LdPlbwbNWApRNFEnOO9ywKBLmP3m7JmhqVNFqNBhH9dJBu/R5Eu1p4T2EzrMT2B57GBC0HEm58Ntqm1KoOeXALwK0Kcp3Xoq8I/h73wvb6CXKSeyAliKYR3bk/ZfFk1aMaCcOLg8gpoQkoie3/0tB4nlwC8w/3V/RLL/6d9w16fFzn0NtyX/8ueyXeFLXocGTQLYm0N5LPiKb3dLrix70KDQcw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spMlI-0000g8-FO for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 03:00:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: AKIYAMA Kouhei Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Sep 2024 07:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73231 X-GNU-PR-Package: emacs Original-Received: via spool by 73231-submit@debbugs.gnu.org id=B73231.17262971602448 (code B ref 73231); Sat, 14 Sep 2024 07:00:04 +0000 Original-Received: (at 73231) by debbugs.gnu.org; 14 Sep 2024 06:59:20 +0000 Original-Received: from localhost ([127.0.0.1]:44580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spMkZ-0000dK-Sq for submit@debbugs.gnu.org; Sat, 14 Sep 2024 02:59:20 -0400 Original-Received: from mail-lj1-f182.google.com ([209.85.208.182]:61707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spGcZ-0003x2-2h for 73231@debbugs.gnu.org; Fri, 13 Sep 2024 20:26:39 -0400 Original-Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2f754d4a6e4so31744341fa.3 for <73231@debbugs.gnu.org>; Fri, 13 Sep 2024 17:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726273523; x=1726878323; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BHIM07oo4UGMbdN3TVynjdG5y8G4oU/LNmkDTmPCD6w=; b=HE0JLO33EzgZFKMY+axk4jQEJG/Gv4qpCXQTl76Dp3+bOegwTCo/5dFP5J0O1Taoi1 qyZjCQ5KaUCzJcvSht6l1CRn1dSoXgJpYVP/utjMMClhRFUQ/NT2wve5ya2bjirEurY2 RICUHHBinhtT+ARztWbPM1pB8N3Zgy4EH5AsBVRtBT8UtJvMkGdLKzFaSvilnlHKLJN5 3n5SySw136gzZHhyRSs/QqC+v/gPpF/6t8zKYr4/qDbYWFnU9A/gydh8hUWb8C52D6U0 ycttvLWcf5x9nm2doV83jvfHf8s1OmCZim1CB3fCrHwbm8N0kFWX6e8vzDixnYlLxuzu mvYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726273523; x=1726878323; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BHIM07oo4UGMbdN3TVynjdG5y8G4oU/LNmkDTmPCD6w=; b=sJ2R4CA1/Sx8+R6neyuEazdZATNMOpvz76b4LF5hM30YPrYBNFZCDdWg+u5VV77vEq loofSOH7t1OnB0Fuob0ctHjJPjlyzBfd5pYvhu+vWqEsXQCAM4u3xoBsxXkNb+omTA0T ZeQzOD0yDsOQ6+hH3g7t4tfhxX23PKxBvtwmhZRlC391n/+vBoKdQQNWYaelYYPW+f7V sLTgvSMMPvqVu5GdBro5vZes9HfA8whm35qtmsT7njWVHUX6C1VfrZRrKJojrpqg9MzU s+QG9I4TRKkyyGW5X5MUtbLtdta/sV/gamDtbl157mJgIoATnZqLTqRKtWJBpdqiZLjX 82Bw== X-Gm-Message-State: AOJu0YyO9ihtDKPmGfC7Av3IJc/ZfH/cwY0pYBW7/oTyeuqXwY6MtwxL AR+aMQCgiLSwioO/0d1oku0mKzXqEcakSSB7M9vv9LNWT2VEXBypdMJyZXremd8zUMIaixO7b1O Abh51G+C+Hndgm3CG8A63RFX0MMA= X-Google-Smtp-Source: AGHT+IEJ4BjLryiR2r+5DJ4wgtoF3F6P4kP6zqkMATAfFXm33VecCcABelv1n2jfTIUxXnlvi4F7iAvRAZS6nPZWffo= X-Received: by 2002:a2e:be86:0:b0:2f7:5915:436e with SMTP id 38308e7fff4ca-2f787dad425mr47362931fa.2.1726273522893; Fri, 13 Sep 2024 17:25:22 -0700 (PDT) In-Reply-To: <867cbfk0e5.fsf@gnu.org> X-Mailman-Approved-At: Sat, 14 Sep 2024 02:59:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291687 Archived-At: Thank you for your response. # I forgot to CC it so I'll resend it. Sorry. The error message you are referring to is "Unable to load image (image :type jpeg ...)," correct? I had assumed that this message was acceptable since it also appears when using ImageMagick. Are you suggesting that this behavior was actually a bug? Do you believe it would be better to change to synchronous processing and suppress the error message even when using ImageMagick? I understand that this error message is being triggered because the image file, which does not yet exist, is specified in the "display" text property (and because it tries to display when it enters the window). Is this correct? If we fix that, it might be possible to suppress the error message even in asynchronous processing. Regarding the convert.exe issue on MS-Windows, the best solution I recommend is using the magick command. In fact, the current Windows version of the ImageMagick installer does not install the convert command by default (you need to select "Install legacy utilities"). It might be a good idea to provide an option that supports ImageMagick v7, just as support was added for GraphicsMagick. There are a few ways to reduce tests for the convert command, but the most balanced one is to check only when the queue length is 0. You probably wouldn't want to insert check code into each image-dired command, right? (Though, it seems there are only a limited number of commands that trigger thumbnail creation.) Honestly, I believe a single check at startup should be sufficient. Even if ImageMagick (with legacy utilities) is installed while Emacs is running, it won=E2=80=99t be accessible unless the PATH environment variable is updated. In the end, restarting Emacs is the quickest solution. Of course, this is a different story if there is already a directory (e.g., MSYS2 or Cygwin=E2=80=99s bin) prioritized over System32 in your PATH, where you can place convert.exe (for safety, I have MSYS2's bin placed after System32). -- # This report was created using machine translation. AKIYAMA Kouhei misohena@gmail.com