From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QD7NGK0vSWMgTwAAbAwnHQ (envelope-from ) for ; Fri, 14 Oct 2022 11:45:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6Cz7F60vSWP1mwAAG6o9tA (envelope-from ) for ; Fri, 14 Oct 2022 11:45:17 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 BD5553EE4D for ; Fri, 14 Oct 2022 11:45:16 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BC9EE5F846; Fri, 14 Oct 2022 09:45:12 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 58D765F361 for ; Fri, 14 Oct 2022 09:45:09 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 344BA5FBC0; Fri, 14 Oct 2022 05:45:08 -0400 (EDT) Received: (nullmailer pid 2450944 invoked by uid 1000); Fri, 14 Oct 2022 09:45:06 -0000 From: David Bremner To: Justus Winter , notmuch@notmuchmail.org Subject: Re: Selection bug In-Reply-To: <874jw9utdg.fsf@thinkbox> References: <87fsfuuxwn.fsf@thinkbox> <87edveqpj6.fsf@tethera.net> <874jw9utdg.fsf@thinkbox> Date: Fri, 14 Oct 2022 06:45:06 -0300 Message-ID: <871qraagd9.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: WTCJ4C5HJMXJ2MRYBFMIC6NGW6UHAAOX X-Message-ID-Hash: WTCJ4C5HJMXJ2MRYBFMIC6NGW6UHAAOX 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 X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665740717; 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=DpV5qGWtSGOz40OrwxuRPFGU1ZIDpy+5C1pcgXTl8d0=; b=Y4Z4de04sI8epV29IpUspgZLFEulPzHMC/NlKIjukubC9NEinoX2wcbx8DWoAhcjV61IS5 nm6CeD82G1LykiCF0+bduJO2DyhkYd23g75e2ocIzECZPQe/7SLFlXSNGexKb9MP7f23cQ rKBKdKEeguVgwdyFfoqDjDd+B4Uo2QAfD6NXLf2t5Yei0FTK15VjEyaDuO4L0wiNqFwbmZ +aFADERk4yQdLgHBUUI09nKlG2MAmN/+gkZft5jEx0gmxoa6mox84AXGjZExZHVcBKp5In PRxHaXQZoL/gcyctmMupwYMEbY9Wh5+C38BKyrifR6N4W7ZT4VqQl3ecCFTsYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665740717; a=rsa-sha256; cv=none; b=qEk37qrATfGuYD79VcCi/Z/uxdaY9n5VTd05kvZwIqTtPRDK0kgp2uLDFBnGN0QzA5cIHA PitaAXSGBH6eBS1pe+CuR6IRV5sPzVAERzVbifQzwzylSUjcWYFw8DsD6Sd1K12BmPWxTC 16ykk38exaljfOCiMtMSwuGZpnmtxYaQZWurUtzy8PuR0koY8k8klL/QVrn9gbEhSdDkVQ jHpG5SQvWuaHaJ/Sos01xIfgmwLOXKpRCuxGTSyWToDq76NOS6ybhlVT2grRwaXi//OLg/ JGvIFYGvizJuvCdwdNPRx8hm5iw65YBl39VKexoMOMLAVZ8FODqeYPYsiasfjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: BD5553EE4D X-Spam-Score: -2.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q1wUBqh6/KIP Justus Winter writes: > I think I found a reproducer: > > mkdir -p /tmp/selection-bug/{tmp,new,cur} > echo "[database] > path=/tmp/selection-bug" > /tmp/selection-bug/notmuch-config > NOTMUCH_CONFIG=/tmp/selection-bug/notmuch-config notmuch new > NOTMUCH_CONFIG=/tmp/selection-bug/notmuch-config emacs -q --eval "(require 'notmuch)" > # M-x notmuch-hello, search for '*' > notmuch show --format=raw id:87edvlanuh.fsf@tethera.net | NOTMUCH_CONFIG=/tmp/selection-bug/notmuch-config notmuch insert > # refresh search buffer, press down once, i.e. navigate to "End of search results". > notmuch show --format=raw id:87fsfuuxwn.fsf@thinkbox | NOTMUCH_CONFIG=/tmp/selection-bug/notmuch-config notmuch insert > notmuch show --format=raw id:8735buw7gf.fsf@ngraves.fr | NOTMUCH_CONFIG=/tmp/selection-bug/notmuch-config notmuch insert > # refresh search buffer, bug: Nicolas' mail is green, mine is opened on pressing enter. 1) Do you think the particular messages matter? I don't have id:8735buw7gf.fsf@ngraves.fr 2) Just to be clear, that script has to be run manually, with the comments corresponding to interactive actions in emacs?