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 ms0.migadu.com with LMTPS id qLUsIKXn+2E+GAEAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 15:33:09 +0100 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 cBm9GKXn+2H3YQEAG6o9tA (envelope-from ) for ; Thu, 03 Feb 2022 15:33:09 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 0939E2B766 for ; Thu, 3 Feb 2022 15:33:05 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id CFD6F5F709; Thu, 3 Feb 2022 14:33:01 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 251DE5F6F1 for ; Thu, 3 Feb 2022 14:32:59 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id F27005FBD2; Thu, 3 Feb 2022 09:32:57 -0500 (EST) Received: (nullmailer pid 3348388 invoked by uid 1000); Thu, 03 Feb 2022 14:32:56 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: v3 support undo in emacs frontend. Date: Thu, 3 Feb 2022 10:32:42 -0400 Message-Id: <20220203143254.3344753-1-david@tethera.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: 2ZUR7V6YDSJJZLMS44LDVEJN4CCAMXKC X-Message-ID-Hash: 2ZUR7V6YDSJJZLMS44LDVEJN4CCAMXKC X-MailFrom: bremner@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=1643898785; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=CoPjInzR0GkH2Lvl2G3H4mnYMZUm5uNfBFDdQAchfwk=; b=cTEMhp3+/8o6TxvFirLhw37a5kYDV8+rcHI2Dgn0XxtCKLpJzJl7iffGOUyJgMxAFbpZ/y qDRmoSEee362GZbVfHSxZgDqPbU2wMBKddXnTZNd0zX9rsnRPXSL2JcjgpRfXb66wXtTLp y6SoSmDjQXpwvtMNnXRDVmz/M0/VP4XAKtZu408KXdeYYEd0QJv1hrtvDABImliw1U3Oye CSsFlR9c6VsbrA7cfB/Oedq+gMvdkcwJ2fmMNCnoFooz3jG+iZoSDBMaNYw/MaTsA+tctQ hoewQQ8mFG4Xm/dgkbSqRx2GC36z024duPWk8VF3F5VT45bp8jhx567ryYuiAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643898785; a=rsa-sha256; cv=none; b=pntGQP3qxKVNyfvEjAE9IItAS/wBAqKjbTXvsiW6QRjLPfNjiRx5n7HG5dDsytwBgVs33y 5++N8U4C+JnGDjbLTKQHdiGk6csbsMHhy80LJYZYI42bNR6d9ye+1j6N+azpmYHBMQwXJR uNOR9PTSFt80wEOJCbwyf4qC7EEt+gCwb7zW+dI/SRNZxwPhu2bn3qmIuD0wbNtW4RPmcI fpwtcWIKJN+XeDfHnWgW2bFmPa6LsUsuGYCBvuszGtSHtS39L5Z4tOmHHwhBDIr/dxXQee Y3CPy/gva1wVwrT51Otj/nZNVWoksrv+1YkkN9fNhCQ6KK5iKpDmkohgBBHzcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0939E2B766 X-Spam-Score: -1.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: wTQA18i9c8dR This obsoletes the series at [1]. Unlike that series it does not modify the CLI, only the emacs front end. I realized we were already expanding thread queries into lists of message-ids, which was my main worry about query stability. I am currently trying to track down a race condition in one of the new tests, which is why the series is still marked RFC/WIP. [1]: id:20220129194439.2790761-1-david@tethera.net [RFC PATCH v2 01/12] doc/emacs: add minimal documentation for [RFC PATCH v2 02/12] test: split variable settings to their own file [RFC PATCH v2 03/12] test/emacs: split out emacs related tests [RFC PATCH v2 04/12] test/emacs: write *Notmuch errors* buffer from [RFC PATCH v2 05/12] perf-test: allow running test_emacs from [RFC PATCH v2 06/12] perf-test: emacs tagging The first six patches are not strictly needed for this feature, but are reasonable changes I think. [RFC PATCH v2 07/12] emacs: remove non-batch code path from function This is again not strictly needed, but makes further changes to this code easier [RFC PATCH v2 08/12] emacs/tag: keep tag history [RFC PATCH v2 09/12] emacs: add notmuch-tag-undo These add the actual undo.