From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73231: 30.0.91; image-dired cannot be operated until all thumbnails are created (MS-Windows) Date: Fri, 13 Sep 2024 19:02:10 +0300 Message-ID: <867cbfk0e5.fsf@gnu.org> References: <861q1n1z2z.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73231@debbugs.gnu.org To: AKIYAMA Kouhei Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 13 18:03:09 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 1sp8lI-0005vA-Cy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Sep 2024 18:03:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp8l8-0002Ko-UK; Fri, 13 Sep 2024 12:02:59 -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 1sp8l3-0002IP-60 for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 12:02:53 -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 1sp8l2-00057z-Rp for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 12:02:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=Uhcsm/PmFXYGpPT9HFaaHMRMWwI2Tn7q+J8QUX2/e0M=; b=hF0X0k2OmsOrNTucy/3HatEDAUaBjCqC3YQW8M63u9/PujXpt1TRRdCsghijckS2rQmXizglRh4UPJWQNYibLdSN4xGcfNBDQSV2yBuVJhFomdJUPKxDZVLZX+PXAbVaN+HPohUuqvrb5QjUr27+GcijlULg5sXAIW8f2Njq490H5A565QPjKKIb0WmfwRgrTO/BZ+eLSbpIybwv01OI5iX/Mj3qxq4x22pPF1QdhwByP/AZVnZ05+xfAu/t9fqhyDoiOABtvU6QBnd+Cz1OkvNTQgrEf0Egt86AsGt+Eq4Z6Etm9z/G41nvnFdoWbQ1VtfTLUMrzm0VI5AOY42kAQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp8lB-00089k-TL for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 12:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2024 16:03:01 +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.172624335131294 (code B ref 73231); Fri, 13 Sep 2024 16:03:01 +0000 Original-Received: (at 73231) by debbugs.gnu.org; 13 Sep 2024 16:02:31 +0000 Original-Received: from localhost ([127.0.0.1]:44121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp8kg-00088f-TR for submit@debbugs.gnu.org; Fri, 13 Sep 2024 12:02:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp8kf-00088G-4x for 73231@debbugs.gnu.org; Fri, 13 Sep 2024 12:02:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sp8kQ-00054H-5l; Fri, 13 Sep 2024 12:02:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Uhcsm/PmFXYGpPT9HFaaHMRMWwI2Tn7q+J8QUX2/e0M=; b=RjRQfwJukNds cqVjfvdwV/1l21898dWebeCon5YJYSGtEOBsUKSvz1flfTcva6dTF6qHDgSoExp3vMfrexZ+jjwgb vIpHQZ6KMr82nJHP4o5wXWMFgq630Gqppo+v8wLyTW3jZPPzhvt5YJeQ68zOIk0WMht2/iHMgxD0U nowbnG6u1rrDLCrf1QumU7P51wMTFrEMVmUjCOctq2OcRysIHtbqL4+Bc7el+aZG0HAuZiLxXO0bo BEhJn2OOpNwfleWqRB/5polCA7Z3xfnpuWSV1DAcgKLFtd/dRBUWAH5yQ2t7NsxRy/ID7R+0bl5YE MERtGeVAsXilGsdFZknJDQ==; In-Reply-To: <861q1n1z2z.fsf@gmail.com> (message from AKIYAMA Kouhei on Fri, 13 Sep 2024 22:07:48 +0900) 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:291664 Archived-At: > From: AKIYAMA Kouhei > Date: Fri, 13 Sep 2024 22:07:48 +0900 > > When using image-dired without ImageMagick or GraphicsMagick > available, operations could not be performed until all thumbnails had > been created. Thank you for your report and the research that went into it. When you speed up the display of the buffer, don't you see in *Messages* error messages about missing files that cannot be displayed? The default values of delays and timers were chosen so as to minimize these error messages for some reasonable amounts of images in a directory (your 274 images is way larger than what I had in mind). image-dired--probe-thumbnail-cmd is called frequently because the user could install ImageMagick at some point, and I didn't feel like adding complicated logic to allow detection of that that is cheaper. But if you have practical suggestions for how to make these tests more seldom without disabling them completely, that could be a good improvement. In general, the non-ImageMagick implementation was intended to be a fallback, for those who cannot or will not install ImageMagick. It is deliberately synchronous, but I think it performs well enough to be usable. Granted, improvements to the code are welcome, but if they make the redisplay error messages appear in more cases, I think such a change would be for the worse, because users can rightfully think Emacs has a bug.