From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 2KccDtaO8mHMMQAAgWs5BA (envelope-from ) for ; Thu, 27 Jan 2022 13:23:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yKSrCtaO8mHQdgEAauVa8A (envelope-from ) for ; Thu, 27 Jan 2022 13:23:50 +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 1567138331 for ; Thu, 27 Jan 2022 13:23:49 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 422C95F72B; Thu, 27 Jan 2022 12:23:45 +0000 (UTC) Received: from anarres.sindominio.net (anarres.sindominio.net [88.99.208.38]) by mail.notmuchmail.org (Postfix) with ESMTPS id BA94B5F718 for ; Thu, 27 Jan 2022 12:23:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lesnaus.sindominio.net with ESMTP id E1052365E1E for ; Thu, 27 Jan 2022 13:23:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net E1052365E1E Received: from anarres.sindominio.net ([127.0.0.1]) by localhost (lesnaus.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lhF8OU5PJypS for ; Thu, 27 Jan 2022 13:23:39 +0100 (CET) Received: by lesnaus.sindominio.net (Postfix, from userid 108) id 17A91365E20; Thu, 27 Jan 2022 13:23:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 17A91365E20 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lesnaus.sindominio.net with ESMTPSA id CA010365E1D; Thu, 27 Jan 2022 13:23:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net CA010365E1D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sindominio.net; s=mail; t=1643286216; bh=gUX861oaIpWpwHJ9EpDuP2rg06dcc0ZcmVjmrpe+0EU=; h=Date:Subject:In-Reply-To:Cc:From:To:References:From; b=apvsS2enS9JROJ+9d1FOVnp2I2Si/fJuoZvuFDJlaEoGZeMZ0EqxZUa5XRn+iZZwj IW5o5z5+/dE6/8HsuW5cswnG4i9ygKTR6aFkbek15Hx/7DTsP/9gJyJWOed8Pf/Fh0 Icuisl/XYIvzcykNfsswtPqUf2/Fpvnx+rTdCIKvP10XFz7hPf3XP9dTzcBSeHJAo2 lNyWdwlLRiEOHy02n18J7XbG4yvSyyoQboqQNVTXZxFi19ULBHNec8Ki4WJRe4lShG 1gyn7LinN1XrZ4opX9VZXrYg73Oqfv0ud7U8tmfRNPp6dnHXa3fNEGWqnvPFjH4zdS 4OkI2xfR969WryiwvP9744nM9pn8idff12wX2jxI6n0R1eT84dDza39W/7Wh83QaUp 7Uzqhw36u3//JNXGQsHPcrtnTNKb3hTOPfuTr5hOkJoskU+068pn7QAOm9V42AfVxG kGEdda5eqj0UO5tQU9PuaZIf+YiyoFy3i2VOk6PYJC99ETXM33TxlhcOUUbBHpKW1P DpJDhHQbPPw2LqSziyxRGWPMUyGx2wF57H1THeGuwxXyQEn3cMkU9j+rutQ+XXjUi6 3N015IbKW4EGUSec4SM8+mXhaXbMQWmaWHUjjZ/qX9Edtb95gnwXQW70701Qb2C+kO 6uzjr+1YJfbiU5uznBwgqS8Q= Mime-Version: 1.0 Date: Thu, 27 Jan 2022 13:23:36 +0100 Message-Id: Subject: Re: [PATCH] emacs: add global tag history In-Reply-To: <87ee4u9yvk.fsf@gnus.jao.io> From: "inwit" To: "Jose Antonio Ortega Ruiz" , References: <20220126153214.1366353-1-inwit@sindominio.net> <87v8y6a4k2.fsf@tethera.net> <950e8c5ec7ca93f9d21c9c0855971511@sindominio.net> <878rv2foky.fsf@wondoo.home.cworth.org> <87ee4u9yvk.fsf@gnus.jao.io> Message-ID-Hash: VHYENZCI3DLCF3VXKWM7JQREMSZLLAKL X-Message-ID-Hash: VHYENZCI3DLCF3VXKWM7JQREMSZLLAKL X-MailFrom: inwit@sindominio.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=1643286229; 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:dkim-signature; bh=UL2zSIq0MDQWBzXjXXC81ER9O9XKiGuFcqgLZtm4+9c=; b=VLxcckAgRnnp6DDW9638NjIGCMjUgVUW55y5imvVWr9fnC0LvDIz4Hhal9D+6rJMRUODUl 6I65xaKPVRfP3GmVXZRqRRuiad9UoIJkyJGHFz35eoCxIILorVx9V5qqevn+Wfp81maOzb GOEIwRsRC6KFGMwVMAQdoKWhX7+tm8kpXEdKEHoui3xX8bUAmWuibh2bWuC4ZxPrDvdc3m WSfme/3sluSNeAdvPgJYoV0m6MEwM8rCxYx6oK2UdRiH/QqzmOJiOuh2co7X8gf+84DL9M DjfNh+fcaR9qmbI3pj9mIHO9PHmW1ezJrJM9+BDuqiWhek/FeQzcHNw77Xr11Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643286229; a=rsa-sha256; cv=none; b=jKSJNmgdR9cNqkRDg0O349D/jfcDARQL5ItHTxJBxPzDhhq4cO/7LlNZM+0Y6V7nGC1YPY saHWdRdgzpLrBsOFeRxEAxDWybCgWpOLhnjVtTerfib094o8wuKoiRW5ALI9H3a1Z8iWvu TXlim9scXIhaSCwPuqHfZ1JuwP1t8A78+lJaC5DjoLyyhs9/SS1nEsp2NOUR7eT+7r4Jny iPgyaE1Fg153xMDCSJCIsHbIrtDT+vv+jgnrtCF3JrGRxSTLE96R1NpeWD8Tcbg4SOP4ZN dcQHgSV4DJgTz7lpBHR5Vwd7EICTOi5I73MS92aM8zpvhI6DquLe8T5KEbFPRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=apvsS2en; dmarc=fail reason="SPF not aligned (relaxed)" header.from=sindominio.net (policy=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: -0.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=apvsS2en; dmarc=fail reason="SPF not aligned (relaxed)" header.from=sindominio.net (policy=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: 1567138331 X-Spam-Score: -0.24 X-Migadu-Scanner: scn1.migadu.com X-TUID: G3wXF+v08dE0 On Wed Jan 26, 2022 at 6:43 PM CET, Jose Antonio Ortega Ruiz wrote: > maybe this could be a buffer-local history variable, for notmuch search > and tree search buffers, and the undo feature apply only to the current > search buffer. the view update is then well-defined, i think, if it's > just changing tags, at least, and per-buffer operation is the normal > behaviour of undo/redo in emacs. hooking that up with the regular emacs > undo/redo mechanism would be great (in my book at least), but i've never > looked at that, so not sure if it's possible. This sounds very much like it, yes. Would this need automatic update of the buffer? If a message is deleted, for instance, an undo operation should bring it back to the buffer, right? Of course, this sort of modification is still far in my slow learner horizon... > > cheers, > jao > -- > Keep away from people who try to belittle your ambitions. Small people > always do that, but the really great make you feel that you, too, can > become great. - Mark Twain > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org