From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gD5TB/e/sGFznQAAgWs5BA (envelope-from ) for ; Wed, 08 Dec 2021 15:23:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CI7kAve/sGHDKAAAbx9fmQ (envelope-from ) for ; Wed, 08 Dec 2021 14:23:51 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6077737426 for ; Wed, 8 Dec 2021 15:23:50 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 04478294BC; Wed, 8 Dec 2021 09:23:44 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id DAABC294B2 for ; Wed, 8 Dec 2021 09:23:41 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 305615FC42; Wed, 8 Dec 2021 09:23:41 -0500 (EST) Received: (nullmailer pid 724336 invoked by uid 1000); Wed, 08 Dec 2021 14:23:40 -0000 From: David Bremner To: Rainer Gemulla , notmuch@notmuchmail.org Subject: Re: notmuch-show-mode: slowdown due to redisplay In-Reply-To: <877dcffiuk.fsf@macho> References: <878rww7qty.fsf@macho> <87a6hcwdys.fsf@tethera.net> <877dcffiuk.fsf@macho> Date: Wed, 08 Dec 2021 10:23:40 -0400 Message-ID: <87h7bjuqdv.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 4PY6NAACUHWOIQNUN4OXCKLKTPY72ARW X-Message-ID-Hash: 4PY6NAACUHWOIQNUN4OXCKLKTPY72ARW X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638973430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=Ye6SYDBz1oT5pP0Ptt4HqyKAMGPik5+lafVN6IZWsDQ=; b=T7PMZcPUbzZlUtYUkh6WQREdxQAou1Cxixv2KqhV6Ry+pi7kKnauYLCL9x5nX7tF6JYV3K Wf5IimYBBD2s0nVKYNABWhb+8Cj/wGXButYs1yrEEIJw42V0zMPjV9505pJl6vBAeW3yMq ok2lJYWu7YN55DnqIrtyw///Q9taM7Ij+UyMYCA01DWzqaO+VBOnN7igdetvzk6jzp3ico lFxDPEv5vHZJARVAulmOzzUOkqE/08fO6HIzMvN4YYOX+bexb4WeF3VjsTmEDHBkYVKtQe ILYINvbt0E1p0h8etBmAbsYJZL62NqF30dxee42HeXy6P1nPcINhD6DOZafyRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638973430; a=rsa-sha256; cv=none; b=dS7V3heAevesVDIkOT+uLIMkgG94cTbz75b8+NLBYdLE4Zjr3Qo8xfSi8DRUD3jRVDx/H4 LkdPe+x/zIod81aQFoARd//Bf6vRB9HXOl+AMpc9wf3iksbaYmsH6/CUZNQaJ2dSZpoYvg K6XikZeqppntKgzAN+fad8oLPsMACXxdsr6XBnzZsf7ewww46K4AaEgs6K4DbK5Q6xtYdX 1vgZ5ayWmWX5weeijEj4EdH4cbNCfO4Z6sUTJoJCu3UAcUoNYoEMzgcUzbmGx0Y2bHVsXW yEQbJW4hDR39PxVx/o9FZcxT3owIXLmc3TRgPPVe9GGyQBXCb2qhj0O5cDdYIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 6077737426 X-Spam-Score: -1.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: OjlIEHp9kNnL Rainer Gemulla writes: > > I've tracked it down: it happens when multiple large images are > attached to the email (and displayed inline) and global-hl-line-mode > is turned on. The former slows down redisplay, the latter makes > redisplay do something with every cursor movement. I made a test message with 10 copies of a (black and white) 3k x 3k jpeg image, enabled global-hl-line-mode, but I don't notice any navigation problems. I wonder if there could be an interaction with some other package? Or do I need bigger / more images? d