Gnus development mailing list
 help / color / mirror / Atom feed
From: Emanuel Berg <>
Subject: Re: how to add a specific word at beginning Subject line (Subject already exists)
Date: Fri, 21 Jan 2022 01:02:57 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Uwe Brauer wrote:

> 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?

(defun message-insert-subject-first (word)
  (interactive "sword: ")
  (when word
    (insert word) ))

underground experts united

  reply	other threads:[~2022-01-21  0:03 UTC|newest]

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