Gnus development mailing list
 help / color / mirror / Atom feed
* message-generate-headers - changed behaviour? bug?
@ 2003-01-20 18:49 Thomas Neumann
  2003-01-21  6:11 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Neumann @ 2003-01-20 18:49 UTC (permalink / raw)


hiya

Somewhere between oort v0.08 and v0.12 the behaviour of
message-generate-headers in message.el seems to have been
modified.

Nowadays when composing a mail or news with 'a' or 'm' Gnus asks me
for Newsgroups (twice!) and a Subject. Maybe it's just a configuration
flaw on my side, because a quick search on Usenet and on this mailing-
list index showed no 'complaints'.

Anyway - there's something fishy going on. 

 - Gnus asks twice for Newsgroups
 - Gnus asks for a Newsgroup even if I want to compose a _mail_
 - Gnus asks for a Subject, but seems to discard anything entered

[After the first time Gnus asks me for NG, some headers from my posting
 styles are added. The second time nothing visible happens.]


These symptoms occured right after updating from 0.07 to cvs_current
(0.13). Downgrading to 0.12 showed no obvious changes compared to 0.13.
A Gnumate is using 0.08 and is not being asked for NG and Subject. The
Changelog shows some work on message.el between 0.10 and 0.12.


I've tried to patch something, but my Lisp is not sufficient. -_-
Anyway here's my fragment. I hope it shows what I'm trying to
accomplish.

------------------------------------------------------------------------
4658,4659c4658,4671
<                 (read-from-minibuffer
<                  (format "Empty header for %s; enter value: " header)))))
---
> ;               (read-from-minibuffer
> ;                (format "Empty header for %s; enter value: " header)))))
>                 ;; ...but let's check first, if we're trying to generate
>                 ;; 'Newsgroups: ' for a mail -> doesn't make sense!
>                 ;; (patched by Thomas <blacky_tn@gmx.de>
>                 (when
>                     (or
>                      (and message-this-is-mail
>                           (not (equal header "Newsgroups"))
>                           )
>                      message-this-is-news)
>                   (read-from-minibuffer
>                    (format "Empty header for %s; enter value: " header)))
------------------------------------------------------------------------
[message.el, patched against cvs 20. Jan/19:30]

What I don't get is, how 'To' is handled. 'To' is defined as nil (like
'Newsgroups' and 'Subject', but is not being asked for. Yet there's no
obvious exception in message-generate-headers. Is 'To' already present
before message-generate-headers is being called?

If 'To' is handled before - why? Why are 'To' and 'Newsgroups' handled
in different ways?

tschüß
thomas



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-21 20:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-20 18:49 message-generate-headers - changed behaviour? bug? Thomas Neumann
2003-01-21  6:11 ` Lars Magne Ingebrigtsen
2003-01-21 17:39   ` Thomas Neumann
2003-01-21 19:43     ` Lars Magne Ingebrigtsen
2003-01-21 20:14       ` Doku-Bug in message-required-headers (was: message-generate-headers - changed behaviour? bug?) Thomas Neumann
2003-01-21 20:18         ` Doku-Bug in message-required-headers Lars Magne Ingebrigtsen
2003-01-21 20:30           ` Thomas Neumann
2003-01-21 20:47             ` Lars Magne Ingebrigtsen

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).