From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WPbMDGSZ9WEKewEAgWs5BA (envelope-from ) for ; Sat, 29 Jan 2022 20:45:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yOl/BWSZ9WGiJgEAG6o9tA (envelope-from ) for ; Sat, 29 Jan 2022 20:45:40 +0100 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 CA3742EBF4 for ; Sat, 29 Jan 2022 20:45:39 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E32975F739; Sat, 29 Jan 2022 19:45:34 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id E4DA65F6CB for ; Sat, 29 Jan 2022 19:45:32 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id C212E5FBD2; Sat, 29 Jan 2022 14:45:31 -0500 (EST) Received: (nullmailer pid 2790856 invoked by uid 1000); Sat, 29 Jan 2022 19:45:30 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: v2 undo tag operations in emacs Date: Sat, 29 Jan 2022 15:44:32 -0400 Message-Id: <20220129194439.2790761-1-david@tethera.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: IZ7NUC2XYQPVRR6JFG6MS5KAKIJALIDQ X-Message-ID-Hash: IZ7NUC2XYQPVRR6JFG6MS5KAKIJALIDQ 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=1643485539; 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=KWXJu40t/6k67m4Yu0ylIzuvWfvFuK3I7oAEv6N3anI=; b=tbMuUJJmLSx+ppgHg5VfvJDC069lJEllZSAKwss2SRawDdVbWFlCfaD3vFYzQ3ltK2pH3g Fxi5RMb25K20RaxK+coeDRryoG5RiLRkv9yDYPeY6D+apEgdXOu1duk4PBY/8DwrFlNFvI sewmssGLA4preq8cfqh5NZhwkSrPEiUogtXkIjZ+rUrE4z65chddNTgExcZFPK3/vWW0X0 HyMeklT9RDmjfAJ/cRcfsHZc2B2k9p9dDFhjjQ0s+aK4TVh4kvHHRh5N54467B9lPxu0+L 240MAm8PZj1sGY8OdOcmfS+03uAiQVR9YX5PjnxloPAeAbarpVUlLCPZoiSmQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643485539; a=rsa-sha256; cv=none; b=T+zRRITsQnsiBKxZNud7mAobx+B6Rz9iEWc/P+44cICRb6opPuhPs1HP4mX8efaJb/usdw kNDo3/rilPrI1BPGxlIoQXOt7mbabWgZxwLMrQTUpVIZzFRj9aNrS4qTUauv93fgma4YJM kbIK7PsSFUqwl62T4aM8balFvuG3L0dQ+jW8W730Z1vC5Ksa439v42Dl9j83OEYuPT0D0I 30ttWfdryHeiTked856IcRjAHsGnwPA/3aljXyKT1VeE9gtBGbut1NZkFHZnTCh9nCro20 Q9cRWpmO38qPLMXNI8izJ05x3A7a9qb5TQaCBkk18GkF4RLDJ0lfBq99M2EQbg== 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: -1.34 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: CA3742EBF4 X-Spam-Score: -1.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: I/JSANtw6YXF The first 4 patches are just to get a performance test running for tagging in emacs. It seems to me that test shows (after setting notuch-tag-argument-limit to 0) that we can simplify #'notmuch-tag to always use notmuch tag --batch. Before I do that, I'll tosss this out there in case someone else wants to test. This second version of the series implements a notmuch-tag-undo. The tag history is buffer local, although it does not do the requisite refreshing yet. It is also not bound to a key. This obsoletes the series at id:20220127230740.1576802-1-david@tethera.net