From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39114 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.gnus.general Subject: Re: nnml-open-marks bug? Date: Wed, 03 Oct 2001 01:58:23 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <873d51lhls.fsf@www.emacswiki.org> References: <87pu88k8hh.fsf@yahoo.com> <8766a05tpf.fsf@yahoo.com> <87u1xjkjyp.fsf@www.emacswiki.org> <2nsnd2km76.fsf@zsh.cs.rochester.edu> <87pu85ehcq.fsf@www.emacswiki.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174873 26133 80.91.224.250 (21 Oct 2002 04:34:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:34:33 +0000 (UTC) Return-Path: Original-Received: (qmail 24036 invoked from network); 2 Oct 2001 23:59:29 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Oct 2001 23:59:29 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15oZR9-0003kH-00; Tue, 02 Oct 2001 18:58:55 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 02 Oct 2001 18:58:32 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id SAA27187 for ; Tue, 2 Oct 2001 18:58:20 -0500 (CDT) Original-Received: (qmail 24026 invoked by alias); 2 Oct 2001 23:58:39 -0000 Original-Received: (qmail 24021 invoked from network); 2 Oct 2001 23:58:39 -0000 Original-Received: from obelix.plusnet.ch (HELO obelix.spectraweb.ch) (194.158.230.8) by gnus.org with SMTP; 2 Oct 2001 23:58:39 -0000 Original-Received: from confusibombus (pop-ls-9-3-1-dialup-196.freesurf.ch [194.230.241.196]) by obelix.spectraweb.ch (8.11.2/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id f92NwaK12496 for ; Wed, 3 Oct 2001 01:58:37 +0200 Original-Received: from alex by confusibombus with local (Exim 3.12 #1 (Debian)) id 15oZQd-0000Od-00 for ; Wed, 03 Oct 2001 01:58:23 +0200 Original-To: ding@gnus.org In-Reply-To: <87pu85ehcq.fsf@www.emacswiki.org> (Alex Schroeder's message of "Wed, 03 Oct 2001 01:45:41 +0200") Original-Lines: 63 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39114 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39114 Alex Schroeder writes: > ShengHuo ZHU writes: > >> Actually, (require 'gnus-load) is what should be put into .emacs if >> using Emacs 20 or some versions of XEmacs. Anyway, it is just an >> auto-generated file of autoload variables and functions. > > Ok, thanks. I'll try that and see how it goes. Unfortunately it is not enough. Let's see if I manage to solve this riddle, hehe. I agree with Simon that Gnus should just do the right thing -- so what happens here is not a serious bug, it's just not what I expected to be the right thing. My .emacs now does this: (when (not (featurep 'xemacs)) (require 'gnus-load)) A quick test: mail-user-agent's value is gnus-user-agent When I start Emacs and hit C-x m I get a message-mode buffer called *mail*. It has the following header lines and no body: To: Subject: My posting-styles defined in .gnus, however, demand something else: (setq gnus-posting-styles '((".*" ("Fcc" "~/SMAIL") (signature "http://www.geocities.com/kensanata/\nCoffee should be black as hell, strong as death and sweet as love.\n\t-- Turkish proverb")) ... When I restart Emacs and run M-x gnus-no-server and *then* hit C-x m, I get the following mail headers and body: To: Subject: Fcc: ~/SMAIL --text follows this line-- -- http://www.geocities.com/kensanata/ Coffee should be black as hell, strong as death and sweet as love. -- Turkish proverb This is what I want. What is the correct way to tell Gnus, then? Should I define my posting styles in .emacs instead of .gnus? (I haven't tried.) Alex. -- http://www.geocities.com/kensanata/ Coffee should be black as hell, strong as death and sweet as love. -- Turkish proverb