11 votes
Accepted

How to warn before sending email if Subject: is empty

One way is to hook into message-send-hook: message-send-hook is a variable defined in ‘message.el’. Its value is nil This variable may be risky if used as a file-local variable. Documentation: ...
Basil's user avatar
  • 12.4k
6 votes
Accepted

Add CC and BCC when composing an email with mu4e

Look in the Field Menu and select those fields. For me, the key shortcuts are C-c C-f C-c (message-goto-cc) for CC and C-c C-f C-b (message-goto-bcc) for BCC. These will add those fields. ...
John Kitchin's user avatar
  • 11.9k
3 votes

attach multiple files from the same directory to an email message?

I like to use helm-find-files for this. You navigate to where the files are, mark the ones you want with C-spc, and attach them with C-c C-a (or press tab and find the attach files to email action). ...
John Kitchin's user avatar
  • 11.9k
3 votes

attach multiple files from the same directory to an email message?

open up a GUI file browser and drag the files to your emacs draft window/buffer
user3357659's user avatar
3 votes
Accepted

How to tell emacs to separate paragaph by an empty line in quotes

If I understood correctly, you are looking for the command message-fill-yanked-message, which is bound to C-c C-q in message-mode by default. See the Message Manual node on Insertion for a brief ...
Basil's user avatar
  • 12.4k
3 votes

How to control quoting of original message when replying?

The intended way to achieve Gmail-style citations is the following: (with-eval-after-load 'message (setq message-cite-style message-cite-style-gmail)) Inspecting the value and documentation of the ...
Basil's user avatar
  • 12.4k
2 votes
Accepted

What is this M-q behaviour in Emacs 26.1 message mode

With the default settings M-q effectively calls function message-fill-paragraph in message-mode. message-fill-paragraph acts differently for the header part and the rest of the message. The fill ...
Marco Wahl's user avatar
  • 2,876
2 votes
Accepted

How to use mail lists with bbdb and message mode?

https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org#auto-complete-mail-address I use counsel-bbdb but company-bbdb is also enabled. To insert multiple mail ...
chen bin's user avatar
  • 4,867
2 votes

Undefined-function error about function called by my function

Put (require 'THE-LIBRARY) inside your definition of safe-mail-send-and-exit, at the beginning (just after (interactive), where THE-LIBRARY is the library that defines function mail-send-and-exit. (...
Drew's user avatar
  • 77.5k
1 vote

Add CC and BCC when composing an email with mu4e

You can automate like this (based on http://www.djcbsoftware.nl/code/mu/mu4e/Compose-hooks.html). ;; Always BCC myself ;; http://www.djcbsoftware.nl/code/mu/mu4e/Compose-hooks.html (defun my-add-...
kaz_yos's user avatar
  • 129
1 vote

Use message mode without headers

So is it possible to use message mode without a header? Would narrowing to the body work in your use case? See (info "(emacs) Narrowing"). For example, you could C-c C-b (message-goto-body)...
Basil's user avatar
  • 12.4k
1 vote

How can I get emacs notmuch to format replies the same way gmail does

I GOT IT!!! (with-eval-after-load 'message (setq message-cite-style message-cite-style-gmail) (setq message-citation-line-function 'message-insert-formatted-citation-line)) The message-citation-...
user5293's user avatar
  • 171
1 vote

How to TAB between fields in message-mode?

Troubleshooting for some reason it gets stuck at the end of the From: line and won't advance further to the message body The docstrings of user option message-tab-body-function: Function to ...
Basil's user avatar
  • 12.4k
1 vote

attach multiple files from the same directory to an email message?

Old post but I got here having the same basic desire and rolled my own snippet to solve it. For others coming here this might be something suitable. (defun compose-attach-marked-files () "Compose ...
Tompa's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible