From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CMSvMzHg7mC8KQAAgWs5BA (envelope-from ) for ; Wed, 14 Jul 2021 15:01:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aOJsLzHg7mDPcwAAB5/wlQ (envelope-from ) for ; Wed, 14 Jul 2021 13:01:37 +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 0F13216054 for ; Wed, 14 Jul 2021 15:01:37 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D04A1290D2; Wed, 14 Jul 2021 09:01:32 -0400 (EDT) X-Greylist: delayed 15565 seconds by postgrey-1.36 at nmbug; Wed, 14 Jul 2021 09:01:30 EDT Received: from anarres.sindominio.net (anarres.sindominio.net [88.99.208.38]) by mail.notmuchmail.org (Postfix) with ESMTPS id 7BA41290C7 for ; Wed, 14 Jul 2021 09:01:30 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by lesnaus.sindominio.net (Postfix) with ESMTP id 3739B362C61 for ; Wed, 14 Jul 2021 15:01:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 3739B362C61 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 xE3EFz30gWFV for ; Wed, 14 Jul 2021 15:01:27 +0200 (CEST) Received: by lesnaus.sindominio.net (Postfix, from userid 108) id 60BB9362C72; Wed, 14 Jul 2021 15:01:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 60BB9362C72 Received: from localhost (52.red-176-83-60.dynamicip.rima-tde.net [176.83.60.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lesnaus.sindominio.net (Postfix) with ESMTPSA id DAAED360A51; Wed, 14 Jul 2021 15:01:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net DAAED360A51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sindominio.net; s=mail; t=1626267685; bh=LmgjMn/00NXG2awQyvRmxUPoq2AyTkXaJHzk8hWspCw=; h=Date:Subject:Cc:From:To:References:In-Reply-To:From; b=nKhIrUybqNko1QzniGYGyoK596ixDrJW7jJOsdtopB2SpU6CgnsLdEota714KJI6o 4JHdKJRdS9UUutv5GKaa3nmN36ogi+oo/imGSSj1qkAEO4s+gB9uGjJmzE8QyI7Sta bcoD53uLy1P+PjcpjfR4OKiSmsnT0jU6zngl8+Fb80fScjnHQJ5u5MGfNWc5JkoBE1 C/I3WT4fAc5Pydu//+AlnEzXfEt2fMFClSxNEQ9qZbJIz/bcs+UeAFkKgLJfDY06Yz zXQpERIgRISKOsKt3gvndI6GY/PX6GE1+EGM4dZKDeuWkaxi4naasOKyM24xad+Ycg J6RaQPfrGQSUTlbHzDRehFERVd/vRBf1F63zXNAWITVV7i3Z/hiCR4c3jOE5M614CD Hg0gEa8guJxj+FA489xLEAvtWviUdZtS9s/YDg7yOHg1tTIf7uj7mvuI8jrPzWYxPX 7WH4jZzBiGQoLDRYvcPFlBeRIRtVWY50MEB/SEKUk91lAupODWhQvXtfIkyZT3+kzE U/9TS6fl2oY/TX1U8wVg3lZPR6jbLvErZStJBI5MuL1ySJCrWa6OhvNhqDqzRe/0qL kUcXPMDAwlz494JoYygSNH3fmGAZweGljFQEyaySnT4Q15+FgpqzNXW4JVChnVqAs/ kk5gSno1YN0UkqJyRzFwxtoU= Mime-Version: 1.0 Date: Wed, 14 Jul 2021 15:01:23 +0200 Message-Id: Subject: Re: Repeat last tagging Cc: From: "inwit" To: "Tomi Ollila" , References: In-Reply-To: Message-ID-Hash: AU6AS7ODXAUZEQ2EH7CM73HY3CLRH6CO X-Message-ID-Hash: AU6AS7ODXAUZEQ2EH7CM73HY3CLRH6CO 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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: 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=1626267697; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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-unsubscribe:list-subscribe:list-post:dkim-signature; bh=J++9LTrRzqrUlDqiXgzVnEuMjrQDBmJmb+ZwRdmBkQA=; b=a3wsPjTUIynV1tghOkf04rbJDY48p8wkQ0rulALGn9kpmUbYeEY8UtLnEbs1SNV6QDEG8g rn1tOzzDNpLHN+ITIS1+r913O1t9CEU3gRy2QBl6ulS5Hars8WjpXwPaD5BnSyeiTJNQYo W2oIrDOWGOs37WOMoGmWXQpyJ+6af/qWYrvXxt0dhn/zAWGqzxpSaYcmdO45PB8vGs7hlx ZYLK5EYfoaMtY8b6PdzPSBKma9AtWGKXVp0MGZzOFdx/NhezfOYU3vdogJeFbtd+LFhD4C II3OskG8FbaiAkO4buE9MLIRBkVe/Rrp+gJ+IrOAWOWoQUUQS0VNXKIZzPK+TQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626267697; a=rsa-sha256; cv=none; b=VfIY8svPP/KrsBp/Qf7zTPL++k1AypdV9zVgqIYNb3v1CEVRKccwl3hdRpKsxF0SBMMD91 fpyTDbUaLfvSLNzIzJE0arYdsDfAK1B6b01ifxUbxmSWYHupXmaj71EFDDyldh16iMgZK6 C/v35GYFeq29kgBZb2vLi1AadzFiElXcQSJSNh1X99wksO2lJvFGP4C3kAN1e825yhwX84 yHqfvWNct9ZZ7zh0JPBl+i1vYjrDOj9HJNh3rPbqkgygqqC5wSvXEmgIWuE3vYOTKg2GSK KZZ2PMS5x565NbPYDNm1F/YSUj8RFGKDxUbTztSLfS69RVTcWZiF1w9XE79j0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=nKhIrUyb; 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 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=nKhIrUyb; 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 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0F13216054 X-Spam-Score: 0.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5E2AkLVTINbT On Wed Jul 14, 2021 at 11:25 AM CEST, Tomi Ollila wrote: > On Wed, Jul 14 2021, inwit@sindominio.net wrote: > It does, what it would require is saving last-tag-change to a variable > and then bind function to a key... Put that way, it sounds pretty straightforward... > I personally am not too interested for such a binding (It could be > "dangerous" to do accidental undesired change (but I also could be > wrong and like such a feature >;D) My current alternative is of course hit 'CTRL+p' after '+', retrieving the last tags in the minibuffer's memory. I guess I'll survive with that. > for reference I have the following bindings added to my configuration > file > > (define-key notmuch-show-user-map "u" > (lambda () "mark message unread" (interactive) > (notmuch-show-tag-message "+unread"))) > > (define-key notmuch-show-user-map "i" > (lambda () "remove inbox tag" (interactive) > (notmuch-show-tag-message "-inbox"))) > > which means uu restores "unread" and ui removes "inbox". Sounds handy, I'll try it. > > storing last-tag-change may provide hard if there > is no central place to execute "notmuch tag" command in notmuch emacs > source code... You mean we would need to modify every call to "notmuch tag" in the code, in order to save last-tag-change in a variable which is accesible in every other scope? It's my first dive into the code, thanks for your patience. Regards, > > > Tomi > > > I know I could perform a search for all the emails that I need > > to tag and tag them all at the same time, but the criteria to select > > them is usually not obvious. Another option would be to be able to mark > > emails, then tag them (I've seen the emacs-region thing, but it's not > > the same). > > > > Thanks in advance. And cheers again for the good work! > > > > Regards, > > _______________________________________________ > > notmuch mailing list -- notmuch@notmuchmail.org > > To unsubscribe send an email to notmuch-leave@notmuchmail.org