From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id BBD6F22388 for ; Sun, 8 Dec 2024 14:22:31 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tKHEz-0000000CCuz-10Dn for ml@inbox.vuxu.org; Sun, 08 Dec 2024 07:22:29 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1tKHEx-00000007dwf-1UsA for ml@inbox.vuxu.org; Sun, 08 Dec 2024 07:22:27 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1tKHEu-00000007dwW-1vWv for ding@lists.math.uh.edu; Sun, 08 Dec 2024 07:22:24 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tKHEp-0000000CCua-2pu1 for ding@lists.math.uh.edu; Sun, 08 Dec 2024 07:22:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=KF0qs80hppo3Gvkg7wR4d7Sr0tsY2x9m6hZGWFm8GVM=; b=u9Ox6OtLyekTRUPYrD7ElQ7Jqa 9SvRG8sO1k0UaF7twvNsr3uO9+3HohwKbyYhJ8eaV5qyD7LTsrwdWk/vRFLr1PG0fMT9tRLPHxmT1 CoqMNdh6EhBp0tj43/STO2w6Upthp2eNK640AgyMkOwEIj++luS8KOffyiZWz/0Cx6io=; Received: from dilbert.mork.no ([2a01:4f9:c010:a439::d]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tKHEi-00047q-28 for ding@gnus.org; Sun, 08 Dec 2024 14:22:14 +0100 Authentication-Results: dilbert.mork.no; dkim=pass (1024-bit key; secure) header.d=mork.no header.i=@mork.no header.a=rsa-sha256 header.s=b header.b=oGo1t0DW; dkim-atps=neutral Received: from canardo.dyn.mork.no ([IPv6:2a01:799:10de:2e00:0:0:0:1]) (authenticated bits=0) by dilbert.mork.no (8.18.1/8.18.1) with ESMTPSA id 4B8DM7ee950289 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Sun, 8 Dec 2024 13:22:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1733664127; bh=KF0qs80hppo3Gvkg7wR4d7Sr0tsY2x9m6hZGWFm8GVM=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=oGo1t0DWGrwXOhspa6jidxFn/Mac6e4jeABFfClcFulyboZpLd8PC9Goyj/rOKBS2 0z2Tmur8MCb+6x9Zekc88cNg5itRK83NdI7+QsxBeriA+DteB7As2ZGEP9RshQBp41 754UoMxljAwjMKAbzoNFB7ZX116/HyqWidJnuceU= Received: from miraculix.mork.no ([IPv6:2a01:799:10de:2e0a:149a:2079:3a3a:3457]) (authenticated bits=0) by canardo.dyn.mork.no (8.18.1/8.18.1) with ESMTPSA id 4B8DM7KZ604061 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Sun, 8 Dec 2024 14:22:07 +0100 Received: (nullmailer pid 1089217 invoked by uid 1000); Sun, 08 Dec 2024 13:22:07 -0000 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: James Thomas Cc: ding@gnus.org Subject: Re: What's the best way to auto-sign some emails but not all? Organization: m References: <871pyuksd7.fsf@miraculix.mork.no> <86frmyvk5y.fsf@gmx.net> Date: Sun, 08 Dec 2024 14:22:07 +0100 In-Reply-To: <86frmyvk5y.fsf@gmx.net> (James Thomas's message of "Sun, 08 Dec 2024 10:35:45 +0530") Message-ID: <8734iy9uo0.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 1.0.7 at canardo.mork.no X-Virus-Status: Clean List-ID: Precedence: bulk James Thomas writes: > This seems to work: > > (setq gnus-posting-styles > '((t > (eval (setq-local message-cite-reply-position 'above)) > (body "<#secure method=3Dpgpmime mode=3Dsign>")))) Sort of. But it also places the signature (i.e. the "-- \n" etc, not the pgp signature) above the quoted text. But that might be controlled by some other variable? Works pretty well if combined with (signature nil)) Still adds an unwanted empty line above "foo writes:" So the message--yank-original-internal advice hack is my preferred solution. Bj=C3=B8rn