From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36058 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: .gnus, gnus-msg and C-x m Date: 29 Apr 2001 09:13:57 -0400 Message-ID: <2ny9sj4zmy.fsf@tiger.jia.vnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171708 6539 80.91.224.250 (21 Oct 2002 03:41:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:41:48 +0000 (UTC) Return-Path: Original-Received: (qmail 2002 invoked by alias); 29 Apr 2001 13:14:14 -0000 Original-Received: (qmail 1997 invoked from network); 29 Apr 2001 13:14:14 -0000 Original-Received: from roc-24-95-193-77.rochester.rr.com (HELO zsh.yi.org) (root@24.95.193.77) by gnus.org with SMTP; 29 Apr 2001 13:14:14 -0000 Original-Received: (from zsh@localhost) by zsh.yi.org (8.11.0/8.10.0) id f3TDDvo30188; Sun, 29 Apr 2001 09:13:57 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: (Alex Schroeder's message of "16 Apr 2001 10:08:05 +0200") User-Agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.103 Original-Lines: 28 Xref: main.gmane.org gmane.emacs.gnus.general:36058 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36058 Alex Schroeder writes: > I did some Gnus & BBDB related cleanup today. I had quite an > elaborate setup to deal with the case of me starting up Emacs and > typing C-x m to send mail without starting gnus first. The settings > in .gnus continue to be a problem. > > In my .emacs I have (require 'gnus-msg) and I set mail-user-agent to > 'gnus-user-agent. In my .gnus I have a lot of posting styles. > Amongst other things these add a Fcc header and a signature. > > When I start Emacs and hit C-x m, I get a buffer with "To:" and > "Subject:" header, and it has the modes Message, MML and Abbrev. > Therefore, message mode is used (good) but the posting styles are not > used (because .gnus is not read). > > Maybe loading gnus-msg should make sure that .gnus is loaded? Or > whatever is used to create message buffers should? > > Anyway, this works for me: > > (require 'gnus-msg) > (load-file "~/.gnus") If you use a recent CVS version, putting (require 'gnus-load) into .emacs is the solution. ShengHuo