Authentication-Results: mail-b.sr.ht; dkim=pass header.d=gmail.com header.i=@gmail.com Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by mail-b.sr.ht (Postfix) with ESMTPS id F2D1B11EE5E for <~rjarry/aerc-devel@lists.sr.ht>; Sun, 10 Jul 2022 18:05:46 +0000 (UTC) Received: by mail-ed1-f50.google.com with SMTP id w12so3189877edd.13 for <~rjarry/aerc-devel@lists.sr.ht>; Sun, 10 Jul 2022 11:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:content-transfer-encoding:date:message-id:subject:from :to:references:in-reply-to:cc; bh=TyfNi3x0UX/qfJTk6wKN9HqeXQp/tFnpGXGUVIF19zw=; b=G4ZOKCqEwnVUI/BH9Sf+SCsQ112sJp5M9pYv47eAdrdTkampBkqW2iUe0PxpJSlD1Q 480wGNYMgqYA+9QSAc95KjQRICQKthh9FisbKZ5AutRcZoKlngLC34pIgVPpwlEpUri+ /tosPU9tMe1ZNEBSbkP1vnb7XMJVYN6BrLjT399nxynhI7U7VZnVOW9/+VdAhBJ6YEJf 4rodfLF6mx+7ZYxVfS+1dgrjAd0jDiopCBeldeb2jDYrhGJUqF/YqT/cSPymqidMfILE lwq8aCOTp0gDQW0BaI2GFHzPEw5F60SrUN4hCWVo7oKtP0GNOGEG+nkKEFbRqMgYupBH Tm6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:content-transfer-encoding:date :message-id:subject:from:to:references:in-reply-to:cc; bh=TyfNi3x0UX/qfJTk6wKN9HqeXQp/tFnpGXGUVIF19zw=; b=0Ob8/UZyOAH3x9P7jFU1qq7CiUHKoNXzBIXkow/6fl7XKnwmurRz+tx2iQDOh8eqf9 6TgAVZ2BKsFcsChBnWsYtxV5fJQP2x7Ak2r7lk5aUO1N/msQfQxm9CfWgXQYBAbsrXFy OLU9VjDHSXOOrtcBgj+U0V7FkKqwiv6ObBYXnhQGLb09xYkdwIWMsTgcnacCyiIf2at0 4mCtrx/CuARNGvhHle6Bmbu0sLOFTGPalIh9H65XEumQ5dlav4ptEfmatbTvBYqhMefu k09KMWhUBWCO6DyDdwm1gRq9f1l+c08hFGtxJxm7r++UEmThO7yT/q6X8AGIWf1Sg4v0 X3iQ== X-Gm-Message-State: AJIora+ATkyPVnOtI1HEAj6SDhvF2k2TQewnM6zcgg3H8NneLgs3j9tA 2wsENg28mTuizzjE+sRoLkBFDh+v4yo= X-Google-Smtp-Source: AGRyM1sBDvGtQhPeQSO+IgsGUUh+G7h/my3mcoM40zk1eFKsaoxHgJvjyZkeEu3Q7TPLHO4T3TJNKg== X-Received: by 2002:a05:6402:795:b0:43a:6cc5:8886 with SMTP id d21-20020a056402079500b0043a6cc58886mr19705939edy.174.1657476346052; Sun, 10 Jul 2022 11:05:46 -0700 (PDT) Received: from localhost ([185.203.114.222]) by smtp.gmail.com with ESMTPSA id pv5-20020a170907208500b0072af4af2f46sm1769413ejb.74.2022.07.10.11.05.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Jul 2022 11:05:45 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 10 Jul 2022 20:05:38 +0200 Message-Id: Subject: Re: [PATCH aerc] Allow not marking viewed messages as seen. From: "Koni Marti" To: "James Cook" , "Moritz Poldrack" , "Tim Culverhouse" , <~rjarry/aerc-devel@lists.sr.ht> X-Mailer: aerc 0.10.0-65-g6a749b0 References: <20220705060618.68685-1-falsifian@falsifian.org> In-Reply-To: Cc: On Sun Jul 10, 2022 at 6:34 PM CEST, James Cook wrote: > Thanks for your thoughts, Moritz. I'm happy to defer to you; in any case > I'm not using the IMAP backend. > > I can try adding the change to unset \Seen myself, but probably won't > have time until next weekend, so if you or someone else wants to do the > work, please go ahead. (We could also just say the setting is not > supported with IMAP.) > > > > I really don't relish the idea of accidentally marking an email as > > > \Seen --- with my workflow, that means the email drops off my radar= , > > > and it might have been important. > > I'd suggest using maildir in this case. Isync can =E2=80=93 if I rememb= er > > correctly =E2=80=93 sync the mails state back to the origin server. > > Indeed, I'm using the notmuch backend with maildir+isync. Sorry for jumping into this conversation but when you use notmuch, you can already work with custom labels/tags that support your workflow I believe. What I do is use notmuch's post-new hook where I tag new messages with whatever label I want. In the post-new-hook script I would have a line like this: notmuch tag +mycustomlabel -new -- tag:new This will set "mycustomlabel" to all new messages in notmuch.=20 In aerc you could then use ":cf tag:mycustomlabel" to see all those tagged messages (or use the query map).=20 With the :modify-labels command you can then remove this label and set another one depending on your workflow, :modify-labels -mycustomlabel +seen Hope this helps. > > > > Off-topic: > > > > > > I have thought a few times of using an "Archive" folder instead of > > > read/unread status, because I feel like I'm working against the grain= . > > > I haven't switched for two reasons: > > > (a) I don't like the idea of re-transferring a (potentially large) > > > email a couple of times just because I decided to Archive it (mbsync, > > > at least, isn't smart enough to move instead of copying); > > The IMAP backend (which is up for discussion here) is smart enough to > > just tell the Server to move the messages, so for IMAP there's no > > problem. For mbsync this patchset would just fix that issue for you, > > wouldn't it? > > Right, since I don't use the IMAP backend, it doesn't really matter to > me. > > --=20 > James