Gnus development mailing list
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: ding@gnus.org
Subject: Re: Extra '-- ' when using 'gnus-alias-select-identity'
Date: Mon, 14 Aug 2023 09:28:46 +0200	[thread overview]
Message-ID: <87350mxett.fsf@zedat.fu-berlin.de> (raw)
In-Reply-To: <CADoYgq8RpWTeuXX-tcw4P66JQNwws=sNbV47DAESh2mdd6j_Yw@mail.gmail.com>

Bob Newell <bobnewell@bobnewell.net> writes:

> On Thu, Aug 10, 2023 at 3:42 PM Loris Bennett
> <loris.bennett@fu-berlin.de> wrote:
>
>> Since upgrading from Emacs 27.1 to 28.2 (via the upgrade from Debian 11
>> to 12), when I use
>>
>>   gnus-alias-select-identity
>>
>> the signature is correctly changed, but now an additional line
>> containing
>>
>>   --
>>
>> is inserted above the identical line which marks the beginning of the
>> signature (the error is show below).  Further switching of the identity
>> has also works but always results in there being two such lines above
>> the signature.
>
> I noticed this as well back when I did an Emacs update.  But it was
> because I already had the "--" as the top line of my sig file.   I
> removed the "--" from the file and that was the answer.  Don't know if
> that will be the case for you but it might.

I briefly thought that might be the issue, but I don't actually use sig
files any more.  I define a variable like

  (setq lb/newsgroup-sig "This signature is currently under constuction.")

and then use this in 'gnus-alias-identity-alist':

    (setq gnus-alias-identity-alist
	  '(("Newsgroup"
	     ""
	     "\"Loris Bennett\" <loris.bennett@fu-berlin.de>"
	     "ZEDAT, Freie Universität Berlin"
	     nil
	     ""
	     lb/newsgroup-sig)
             ...
             ))

I had this setup prior to the update and it seemed to work OK.

Cheers,

Loris

-- 
-- 
This signature is currently under constuction.



      reply	other threads:[~2023-08-14  7:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09 14:57 Loris Bennett
2023-08-11 19:47 ` Bob Newell
2023-08-14  7:28   ` Loris Bennett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87350mxett.fsf@zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).