Mode for composing email and other forms of messages. Used by gnus and mu4e.
Questions tagged [message-mode]
16 questions
12
votes
2 answers
How to attach multiple files in `message-mode`?
To attach one file when in message-mode (e.g. when posting from Gnus), one does C-c C-a. What's the recommended way for attaching multiple files ?
Repeating C-c C-a can become tiresome after a while, because it asks three questions everytime.

YoungFrog
- 3,496
- 15
- 27
11
votes
2 answers
How to warn before sending email if Subject: is empty
If I hit C-c C-c in message-mode (I use notmuch) in order to send an email I've composed, I want to be warned if the Subject: header is empty. E.g. "Really send without Subject? (yes or no)"
When composing new email I fill in the Subject after I…

Gregor
- 197
- 7
8
votes
5 answers
attach multiple files from the same directory to an email message?
Q: how can I attach multiple files to an outbound email with a minimum amount of fuss?
I'm using mu4e (which reuses message-mode, if that helps) to work with email. I often need to send emails with multiple attachments. mu4e uses mml-attach-file…

Dan
- 32,584
- 6
- 98
- 168
3
votes
1 answer
How to use mail lists with bbdb and message mode?
I'm trying to follow along here to get bbdb to insert lists of email addresses into my "to" fields when I hit something like "TAB". http://bbdb.sourceforge.net/bbdb.html#SEC39
The section on lists refers to a mail-abbrevs package, which I can't seem…

Webdev Tory
- 319
- 1
- 10
3
votes
2 answers
How to TAB between fields in message-mode?
I use message-mode to compose and send email. Rather than having to navigate manually through the fields, I would like to able to TAB from the To: field to the Subject: field, then TAB again to bring the point to the message body.
UPDATE. I got this…

incandescentman
- 4,111
- 16
- 53
3
votes
1 answer
How to control quoting of original message when replying?
I'm trying to set up notmuch for sending and receiving my Gmail email, and I think notmuch uses message-mode for its reply function. I tried setting message-citation-line-function to nil, but replying still quotes the entire message with a > prefix…

incandescentman
- 4,111
- 16
- 53
2
votes
1 answer
Undefined-function error about function called by my function
I have recently moved to emacs as my mail client. I am using message-mode to write and send email through notmuch. Specifically, the major mode is called Message[Notmuch].
I would like to remap C-c C-c (mail-send-and-exit) and C-c C-s (mail-send) to…

johngarg
- 21
- 2
2
votes
2 answers
Add CC and BCC when composing an email with mu4e
If I compose an email with mu4e I can only enter a recipient in the TO: field. But there are no fields for CC (carbon copy) and BCC (blind carbon copy). How can I use those fields?

student
- 1,007
- 9
- 29
2
votes
1 answer
What is this M-q behaviour in Emacs 26.1 message mode
Since updating to Emacs 26.1. message mode was changed so that M-q does something unexpected. I have fill-column and message-fill-column both set to 72 and pressing M-q on this text:
turns it into this text:
It seems that in other modes M-q does…

Thomas Kahle
- 103
- 9
2
votes
2 answers
elisp function to insert signature at point or at end, according to the prefix parameter
Under GNU Emacs 24.4.1, in Message Mode, C-c C-w runs message-insert-signature, which inserts the file message-signature-file at the end of the buffer, if such a signature is not already present.
How can I extend the function…

J..y B..y
- 158
- 2
- 9
1
vote
1 answer
How to check for new messages on thread before sending with gnus' message-mode?
I use gnus for email, including its built-in message-mode for composing/replying to email. Just before sending mail, I'd like to query my IMAP server to see if there have been any new messages on this thread since I started composing.
It looks…

mgalgs
- 464
- 4
- 12
1
vote
1 answer
Use message mode without headers
I would like to edit e-mail messages without the header (!) in message mode. If I open a file in message mode and it does not have the usual e-mail headers, then M-q filling does not work as I discovered in this question. In that question I…

Thomas Kahle
- 103
- 9
1
vote
1 answer
How can I get emacs notmuch to format replies the same way gmail does
I have seen this question!
How to control quoting of original message when replying?
None of that actually works. When I am in notmuch and I hit r on a message there is no amount of message-cite-* variables I can have customized that will do…

user5293
- 171
- 1
- 5
1
vote
1 answer
How to tell emacs to separate paragaph by an empty line in quotes
Wit this text:
> Play with it a few times you will see my point. The command you need is:
>
> $ echo hello
When I use Ctrl+q at the 1st line, I get this
> Play with it a few times you will see my point. The
> command you need is: $ echo…

Tankman六四
- 213
- 1
- 4
1
vote
0 answers
proselint and message-mode
I have proselint setup like here, i.e.:
(flycheck-define-checker proselint
"A linter for prose."
:command ("proselint" source-inplace)
:error-patterns
((warning line-start (file-name) ":" line ":" column ": "
(id (one-or-more (not…

Martin R. Albrecht
- 497
- 3
- 10