From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Gnus: insert signature only when not replying Date: Thu, 16 Nov 2017 17:51:23 +0200 Message-ID: <87efoy9q84.fsf@iki.fi> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1510847596 32679 195.159.176.226 (16 Nov 2017 15:53:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2017 15:53:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 16 16:53:09 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFMTU-00082s-Di for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2017 16:53:08 +0100 Original-Received: from localhost ([::1]:41487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFMTb-0007Jp-S5 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2017 10:53:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFMS1-0006gN-Un for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 10:51:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFMRw-0002Fs-3b for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 10:51:38 -0500 Original-Received: from mta-out1.inet.fi ([62.71.2.233]:48786 helo=johanna1.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFMRv-00028R-Mg for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 10:51:32 -0500 RazorGate-KAS: Status: not_detected RazorGate-KAS: Rate: 0 RazorGate-KAS: Envelope from: RazorGate-KAS: Version: 5.5.3 RazorGate-KAS: LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29 RazorGate-KAS: Lua profiles 69136 [Nov 12 2014] RazorGate-KAS: Method: none Original-Received: from mithlond (109.240.53.245) by johanna1.inet.fi (9.0.002.03-2-gbe5d057) id 5A014DED0131EC21 for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 17:51:24 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 62.71.2.233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114899 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable In certain Gnus's groups I'd like to have an automatic message signature only when composing a new message but not in replies. I have tried gnus-parameters and posting-style like this: (setq gnus-parameters '(("\\`nnimap\\+foo:" (posting-style (signature-file (if message-reply-headers nil "~/.signature")))))) But it always adds the signature. Any other ideas? =2D-=20 /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEkhZiiC54Bnj5a16Skzo1BB5+rVEFAloNs/sACgkQkzo1BB5+ rVGynQgAhydvrJcvgZYoc7iayoOKQY7jMMxxxT8p1iW6zJ0fPl1cna6r+JFhdqoc ZVQI5EoUGBxURzpbaMr6eezDI5eeVc8+5ojEof/kkwiIg1uMrOdd0NpQLkMZqekw wWfFZxkw0Akm3vn1SpBL5GgDthTs7sPvY3pTaPJ8rInMakXD42B4LrD3jbl3RCEK r17bIrayx94x2HmdXZlWsWoGaK8BE7pZfLI739bCMkEcm/Ph+12o83pwMYGLqlt5 nBZ+za8GkZYijw7kWyZQO5gxEauJKrKkhrb78cHEiFAPmNiwIjGvUfeTehO/iNEp l8CiFrxuZM6PYqH3CLIGV/8lqjrKkg== =GuZ1 -----END PGP SIGNATURE----- --=-=-=--