Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn Emacs expand my aliases when sending mail?

Aliases Emacs expand mail
0
Posted

Why doesn Emacs expand my aliases when sending mail?

0

See The Emacs Manual. • Normally, Emacs expands aliases when you send the message. To expand them before this, use M-x expand-mail-aliases. • Emacs normally only reads the .mailrc file once per session, when you start to compose your first mail message. If you edit .mailrc, you can type M-: (build-mail-aliases) to make Emacs reread ~/.mailrc. • If you like, you can expand mail aliases as abbrevs, as soon as you type them in. To enable this feature, execute the following: (add-hook ‘mail-mode-hook ‘mail-abbrevs-setup) Note that the aliases are expanded automatically only after you type a word-separator character (e.g. or ,). You can force their expansion by moving point to the end of the alias and typing C-x a e (M-x expand-abbrev).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123