Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Mode for composing email and other forms of messages. Used by gnus and mu4e.

1
vote
1answer
144 views

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 ...
8
votes
1answer
72 views

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 ...
0
votes
1answer
40 views

How to remove trailing whitespace in mail signature

I'm trying to get rid of the auto-inserted trailing whitespace in message-mode signature. I have tried the advice below. (defadvice message-insert-signature (around +amos*message-insert-signature ...
1
vote
1answer
97 views

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 ...
1
vote
1answer
46 views

How to fill blockquotes in message-mode

I often need to change this: This line is quoted, and it is very long. into this: > This line is quoted, > and it is very long The filename is something like pico.78910. I experimented: ...
1
vote
0answers
228 views

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) ":" ...
3
votes
2answers
112 views

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 ...
4
votes
4answers
1k views

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 ...
2
votes
1answer
580 views

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 ...
9
votes
2answers
1k views

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,...
1
vote
2answers
142 views

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 ...
1
vote
1answer
176 views

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