[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: How to easily change "From:" from the default to a second acco

From: Tassilo Horn
Subject: Re: Gnus: How to easily change "From:" from the default to a second account's address?
Date: Wed, 23 Nov 2011 17:35:01 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

Marius Hofert <address@hidden> writes:

Hi Marius,

> If I want to create a new message with "m", it shows my default email
> address in "From:" I specified with (setq user-mail-address
> "address@hidden") Since I have a second account (googlemail), every
> once in a while I would like to hav "From: address@hidden"
> instead of "From: address@hidden". So far, I deleted the entry and
> typed in my gmail account's address. Is there a simpler way?

Yep, posting styles.

,----[ (info "(gnus)Posting Styles") ]
|    So what if you want a different `Organization' and signature based
| on what groups you post to?  And you post both from your home machine
| and your work machine, and you want different `From' lines, and so on?

> I also tried to hit "m" when the point is on my gmail account in the
> *Group* buffer, but that did not open a new message with the
> corresponding "From:" address...

,----[ C-h k m (in *Group*) ]
| m runs the command gnus-group-mail, which is an interactive compiled Lisp
| function in `gnus-msg.el'.
| It is bound to m, <menu-bar> <Gnus> <Send a mail>.
| (gnus-group-mail &optional ARG)
| Start composing a mail.
| If ARG, use the group under the point to find a posting style.
| If ARG is 1, prompt for a group name to find the posting style.

The way to set the ARG when invoking a commant with M-x or a key binding
is to prefix it with `C-u'.  So if you already have a posting style
defined for the group point is on, `C-u m' will use that for the new

(What the world needs (I think) is not
      (a Lisp (with fewer parentheses))
      but (an English (with more.)))
Brian Hayes,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]