Ar an tríú lá is fiche de mí Márta, scríobh Steve Youngs:
> (t
> (if (eq mail-user-agent 'xemacs-default-user-agent)
> (setq mail-user-agent 'vm-user-agent)))
> (apply (get 'sendmail-user-agent 'composefunc) args)))
Wanna know where this breaks down? With Sumo installers who don't
like VM.
[That last setq should have been (setq mail-user-agent 'sendmail-user-agent)
. ]
So, let’s say they have a new account on a remote machine, they fire up
XEmacs with an empty ~/.xemacs/init.el, they type C-x m, and they have the
same behaviour that they had in the past, but with the possibility of
attaching files and having sane treatment of non-ASCII characters. The VM
mail composition _is_ the sendmail.el composition function, _but with MIME._
No-one’s forcing them to use VM to _read_ their mail.
[...]
Getting back to mail-user-agent... IMO the default in XEmacs should be
_very very_ basic, no bells or whistles, and definitely no need for
MIME.
I respectfully disagree. MIME is not a bell or a whistle.
If the user wants bells and whistles, they'll install something
like VM, Gnus, MH-E.
Sure, give the user the option of setting mail-user-agent to
whatever
they want, but don't force a particular MUA down anyone's throat.
I never proposed forcing _anything_ down anyone’s throat, any more than
we’re doing already with compose-mail as the mail composition function.
Now what would be cool is if the first time mail-user-agent is
needed
and it has not been set...
Pop up a small help buffer saying something like:
You have the following XEmacs MUA's installed:
1 - Gnus -- The Gnus Newsreader and Mailreader.
2 - MH-E -- The XEmacs Interface to the MH Mail System.
3 - VM -- An Emacs mailer.
Which do you want to use as your default mailer? (press num to
select MUA or RET to use the built-in basic mailer)
Then ask the user if they want this selection just for this session or
for all eternity. :-)
I respectfully disagree. People have better things to do than choose among
alternatives they neither know nor care about when they’re learning a new
working environment.
And MH-E shouldn’t be in that list unless the mhparam command is available,
which it won’t be.
--
“I, for instance, am gung-ho about open source because my family is being
held hostage in Rob Malda’s basement. But who fact-checks me, or Enderle,
when we say something in public? No-one!” -- Danny O’Brien