Gnus development mailing list
 help / color / mirror / Atom feed
From: Alex Schroeder <alex@reality.emacswiki.org>
Subject: Re: nnml-open-marks bug?
Date: Wed, 03 Oct 2001 01:58:23 +0200	[thread overview]
Message-ID: <873d51lhls.fsf@www.emacswiki.org> (raw)
In-Reply-To: <87pu85ehcq.fsf@www.emacswiki.org> (Alex Schroeder's message of "Wed, 03 Oct 2001 01:45:41 +0200")

Alex Schroeder <alex@gnu.org> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> 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



  reply	other threads:[~2001-10-02 23:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87pu88k8hh.fsf@yahoo.com>
2001-09-30 20:06 ` Alex Schroeder
2001-10-01 20:08   ` Simon Josefsson
2001-10-01 23:40     ` Alex Schroeder
2001-10-02 16:51       ` Simon Josefsson
2001-10-02 17:04         ` ShengHuo ZHU
2001-10-02 18:01           ` Simon Josefsson
2001-10-02 23:45           ` Alex Schroeder
2001-10-02 23:58             ` Alex Schroeder [this message]
2001-10-03  0:46               ` ShengHuo ZHU
2001-10-05  0:15                 ` Alex Schroeder
2001-10-02  0:12     ` Alex Schroeder
2001-10-02 16:59       ` Simon Josefsson
2001-10-02 17:54         ` ShengHuo ZHU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873d51lhls.fsf@www.emacswiki.org \
    --to=alex@reality.emacswiki.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).