Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <>
Subject: how to add a specific word at beginning Subject line (Subject already exists)
Date: Thu, 20 Jan 2022 23:08:19 +0100	[thread overview]
Message-ID: <> (raw)


I have a function, most likely based on ancient code (based on 2.35)
that inserts a word or expression in the subject line, according to a
special field in the BBDB entry. 

That code works nicely, however if I use it to reply to a message, that
already has a subject then that expression is added at the end of the
subject line not at the beginning.

The relevant code is the line 
(message-carefully-insert-headers (list (cons 'Subject signame)))

So cons seems her the culprit. Any idea how to modify the line above to
have the expression inserted always at the beginning?

I had a look at message-change-subject. That function however is rather
So if somebody comes up with a simple solution I would appreciate it


Uwe Brauer  

             reply	other threads:[~2022-01-20 22:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 22:08 Uwe Brauer [this message]
2022-01-21  0:02 ` Emanuel Berg
2022-01-21  7:08   ` Uwe Brauer

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:

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

  git send-email \ \ \ \

* 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).