From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WHBaAGbyC2d/tQAAqHPOHw:P1 (envelope-from ) for ; Sun, 13 Oct 2024 16:16:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WHBaAGbyC2d/tQAAqHPOHw (envelope-from ) for ; Sun, 13 Oct 2024 18:16:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b="h/QhGEGY"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728836197; a=rsa-sha256; cv=none; b=K4YfFmeU+rI361WysCMYI2FUknJEuDJKN9vcLXZVMdaywlCKE9IzwGKCX5oh14KFwtH3eb qsnHGFEGLxMJ+uzkY2uYvGptMs2QUaht2i2dFYuMOOcdfuksmNlKTuUH09yQ8H8G43JvHt 5LIwfay+lJ7em87v0wBJ9Qn4p2TVI98zoER96JVxzOy1qTrDvVsnO5G/VJEfv9kES4p26x NHIjN6kPlG5DFUAEH/sAaysYgBKucTS6tOAcX1YEnr2eRPj8DwVQC3wre9BNMUofJwK7L6 jKafdpCMg/V0uLguqQ7KExMCZ04PKsxTVXQMUYMogKfaZkls41eDeEAn7eM/SA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b="h/QhGEGY"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728836197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type:list-id: list-help:list-owner:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Ervkay5BGAaD6Hp+VR3w7X0owAFY6rOY/PS8nHQrIjY=; b=FGeIeI+ZeKrYI47QfxeFQ8YRDfIBJOBANnSp8lbEnAeXRBnWJcTK+K3vlDK2DKLPJW6ivi xRR5WtvtsIPqpiy5fUJZUhaYduJnhHnjpD23s3v1yy9VWdHzpHZ66MmyPUXgVrFyNNYf0r nGaQG+TpriGGHCK80E3A7BwUW7IX6V1eOILZ8a0/fktIeQ0ytYLG0w1sDjG2JqpQxJFQHB 2OM1CP7TJZdVYLLf4kQoTtlvA2+ssNrQmbgI1Faek9WF4FLwYwEprQqlWFEpK2en3UtzAR nymcCb5N0s8bnzHD9mmJ4XzRaCzG4ASfBVCCevEw0cp3tBvUwrwbkOzqZ2lgXA== 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 AE8FE1EB56 for ; Sun, 13 Oct 2024 18:16:36 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 6533C5E299; Sun, 13 Oct 2024 16:08:54 +0000 (UTC) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by mail.notmuchmail.org (Postfix) with ESMTPS id C82BD5E28E for ; Sun, 13 Oct 2024 07:54:18 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539983beb19so3685546e87.3 for ; Sun, 13 Oct 2024 00:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728806057; x=1729410857; darn=notmuchmail.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=FvILpFO25e3j5TrZcWcc+WYUL4NEXZZFlXuUYCBKDSM=; b=h/QhGEGYQIyHD0fgaaWVA4Y/BQJ9dpMtIDmPLFLXj2C7bMwGUBXdBBnvH3x8zgQDuI wgJi5ZmxYHUhRPhrIhuUIpLBBECrouNwvDiwvjWs1PfWnf4hJJ9JX8ZFVXcBu68h3jVR FqGPKz7auI7eRSQKskURqioysd+N1J4iUcTBxGPR0VnVqb+glzKJsIayorLEAN9RRpVx 1oFoYKNYDbCVtPN6RZMTICeqs8MHLi4L2n/fcNg5W6lGUF9j2931n6cZkfdc0EhlzlE6 RzWHry5Frg7xW1kDAJ897WPsGrHuIU4oohN3JYEZ2/EiLtkoSncVkAMnxt8XS2pjDyjO z4OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728806057; x=1729410857; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FvILpFO25e3j5TrZcWcc+WYUL4NEXZZFlXuUYCBKDSM=; b=GRH5lbywiYjJYV29skOhgpeA4eg8dg8LhCSwTKFZ8hMVtfp9C0nG9z0gG5LXS5AUNj wY3rnXEStE/1w+yFRj/jnAc11KWGVebLs7XRWk/tfrTj/zYIgKBJNRKWxEF1av9Z1l5a cnA5opjPCtfdSFrudxyN3//TkQ0j+0BoTxbIbnqikEvEzGZ2bsV1OYXJypteOSFgPvU0 vQjn/z3ZWXm+b5b0f+rSnuDWlFe19mZtfQmeOcjNClFrS1uyfqDxO2JDbvjbft6tqTi3 HM0dKtaQDwUkYSTaEhCeO3BSlJvqmagv1td6cRo34xG4I/eIgnLq+NEeMPSKRb896CrD 9OxQ== X-Gm-Message-State: AOJu0YzpQakghp6k340dXiEy4snqG1QoePcnHTfBkTlpTw9mMFi6uYyz g7C9ogO8f6sLNDzX/F2O5IXXof4T+U8PwZH37CZu0L/V8CMiocCK1tVOtBAl8qbZuRJ+UelNQvw MJ4v4dgujgAX0iF7SzngSlqfRM7Qdv6D9 X-Google-Smtp-Source: AGHT+IGC0WojNjUzVim9bGMOqfEVbCo/287c2BC2dt873Y9wNjFzeZq8Yhf9fTb29Z2JSXwMAviNesGdQ3WddYWYknc= X-Received: by 2002:a05:6512:1092:b0:539:f5a9:b224 with SMTP id 2adb3069b0e04-539f5a9b44dmr101976e87.11.1728806056791; Sun, 13 Oct 2024 00:54:16 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 13 Oct 2024 02:54:15 -0500 From: Kristoffer Balintona MIME-Version: 1.0 Date: Sun, 13 Oct 2024 02:54:15 -0500 Message-ID: Subject: Obey message-cite-reply-position from Emacs' message.el To: notmuch@notmuchmail.org Content-Type: multipart/mixed; boundary="000000000000e6cdaf0624570602" X-MailFrom: krisbalintona@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: OWTXC74PI74N7H6SB4T2GDVUQYZ6BPMY X-Message-ID-Hash: OWTXC74PI74N7H6SB4T2GDVUQYZ6BPMY X-Mailman-Approved-At: Sun, 13 Oct 2024 16:08:52 +0000 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: X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 9.50 X-Spam-Score: 9.50 X-Migadu-Queue-Id: AE8FE1EB56 X-Migadu-Scanner: mx10.migadu.com X-Spam: Yes X-Migadu-Spam: Yes X-TUID: de6BRIEccD9t --000000000000e6cdaf0624570602 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Message.el has a user option called message-cite-reply-position that determines where a signature is placed in an email compositino buffer when replying. Its docstring reads: Where the reply should be positioned. If =E2=80=98traditional=E2=80=99, reply inline. If =E2=80=98above=E2=80=99, reply above quoted text. If =E2=80=98below=E2=80=99, reply below quoted text. Note: Many newsgroups frown upon nontraditional reply styles. You probably want to set this variable only for specific groups, e.g. using =E2=80=98gnus-posting-styles=E2=80=99: (eval (setq-local message-cite-reply-position 'above)) The current behavior of notmuch accords with the user values of below and traditional but not above. The notmuch function responsible for the position of the signature (or, rather, the position of the citations) is notmuch-mua-reply. I have attached a patch that adds a brief snippet which obeys message-cite-reply-position when its value is above. --=20 Best, Kristoffer --000000000000e6cdaf0624570602 Content-Type: text/x-patch; charset="US-ASCII"; name="notmuch-mua-reply-respect-message-cite-reply-position.patch" Content-Disposition: attachment; filename="notmuch-mua-reply-respect-message-cite-reply-position.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: ccdaa92330686f81_0.1 IGVtYWNzL25vdG11Y2gtbXVhLmVsIHwgMTQgKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2Vk LCAxNCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZW1hY3Mvbm90bXVjaC1tdWEuZWwgYi9l bWFjcy9ub3RtdWNoLW11YS5lbAppbmRleCBiZjYyYjY1Ni4uMWQxYTE1OTEgMTAwNjQ0Ci0tLSBh L2VtYWNzL25vdG11Y2gtbXVhLmVsCisrKyBiL2VtYWNzL25vdG11Y2gtbXVhLmVsCkBAIC0yOTUs NiArMjk1LDIwIEBAIFR5cGljYWxseSB0aGlzIGlzIGFkZGVkIHRvIGBub3RtdWNoLW11YS1zZW5k LWhvb2snLiIKIAkgICAgKHdoZW4gbWVzc2FnZS1zaWduYXR1cmUtaW5zZXJ0LWVtcHR5LWxpbmUK IAkgICAgICAoZm9yd2FyZC1saW5lIC0xKSkKIAkgIChnb3RvLWNoYXIgKHBvaW50LW1heCkpKSkK KyAgICAgIDs7IElmIGBtZXNzYWdlLWNpdGUtcmVwbHktcG9zaXRpb24nIGlzIGBhYm92ZScsIGUu Zy4sIGZvciBHbWFpbC1saWtlCisgICAgICA7OyBlbWFpbCByZXBsaWVzLCB0aGVuIGJlZm9yZSBp bnNlcnRpbmcgdGhlIGNpdGF0aW9uLCBwdXQgdGhlIHBvaW50CisgICAgICA7OyBhZnRlciB0aGUg c2lnbmF0dXJlIGFuZCBpbnNlcnQgYSBuZXdsaW5lIGZvciBzcGFjaW5nLiBBbHNvIHJlc3BlY3Rz CisgICAgICA7OyBpZiBgbWVzc2FnZS1jaXRlLXJlcGx5LXBvc2l0aW9uJyBpcyBzZXQgdmlhIGBt ZXNzYWdlLWNpdGUtc3R5bGUnLgorICAgICAgKHdoZW4gKG9yIChlcXVhbCBtZXNzYWdlLWNpdGUt cmVwbHktcG9zaXRpb24gJ2Fib3ZlKQorICAgICAgICAgICAgICAgIChhbmQgbWVzc2FnZS1jaXRl LXN0eWxlCisgICAgICAgICAgICAgICAgICAgICAoZXEgKGV2YWwgKGNhZHIKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgKGFzc29jICdtZXNzYWdlLWNpdGUtcmVwbHktcG9zaXRpb24K KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChpZiAoc3ltYm9scCBtZXNz YWdlLWNpdGUtc3R5bGUpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgKGV2YWwgbWVzc2FnZS1jaXRlLXN0eWxlKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBtZXNzYWdlLWNpdGUtc3R5bGUpKSkpCisgICAgICAgICAgICAgICAgICAg ICAgICAgJ2Fib3ZlKSkpCisgICAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1heCkpCisgICAgICAg IChpbnNlcnQgIlxuIikpCiAgICAgICAobGV0ICgoZnJvbSAocGxpc3QtZ2V0IG9yaWdpbmFsLWhl YWRlcnMgOkZyb20pKQogCSAgICAoZGF0ZSAocGxpc3QtZ2V0IG9yaWdpbmFsLWhlYWRlcnMgOkRh dGUpKQogCSAgICAoc3RhcnQgKHBvaW50KSkpCg== --000000000000e6cdaf0624570602 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --000000000000e6cdaf0624570602--