Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <>
Subject: message-beginning-of-line behaves a bit strange
Date: Wed, 26 Jan 2022 22:17:23 +0100	[thread overview]
Message-ID: <> (raw)


I want to write a simple function that inserts always a specific word at the beginning of the subject line, either

    1. If I want to compose a message and the subject is empty

    2. Or I reply to message and the subject is not empty.

So if I try 

(message-goto-subject) the cursor jumps 

    1. either (for an empty subject)
       so I could insert the word

    2. If the subject is not empty then the cursor jumps to
       Subject: stuff
       So I have to call message-beginning-of-line and obtain
       Subject: stuff

The problem is if in the first case I also run message-beginning-of-line I obtain

Which is not good. Is there any possibility to have
message-beginning-of-line always to jump to


Uwe Brauer

             reply	other threads:[~2022-01-26 21:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 21:17 Uwe Brauer [this message]
2022-01-26 21:27 ` Emanuel Berg
2022-01-27  4:53   ` Emanuel Berg
2022-01-27  7:47   ` Uwe Brauer
2022-01-27 11:29     ` Emanuel Berg
2022-01-28  7:58       ` Uwe Brauer
2022-01-26 21:30 ` Eric Abrahamsen
2022-01-27  7:48   ` Uwe Brauer
2022-01-27  8:31     ` Robert Pluim
2022-01-27 11:38     ` Emanuel Berg
2022-01-27 16:31       ` Eric Abrahamsen
2022-01-28  8:00       ` 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).