Skip to content

oops

4 messages · Ben Bolker, Friedrich Leisch

#
I just sent a bug report about "mailx" being the default mailer, before
I looked at bug.report() carefully and saw that it checked
"/usr/ucb/mail", and "Mail" as well as "mailx".  I guess I had had the
problem with this in a previous version.

  Would it be clearer to have .Options$mailer be a vector or list of
alternate mailers that were checked in turn, rather than having them
hard-wired into bug.report()?

 (e.g., .Options$mailer <- c("mailx","Mail","/usr/ucb/mail")
#
BB>   I just sent a bug report about "mailx" being the default mailer, before
BB> I looked at bug.report() carefully and saw that it checked
BB> "/usr/ucb/mail", and "Mail" as well as "mailx".  I guess I had had the
BB> problem with this in a previous version.

BB>   Would it be clearer to have .Options$mailer be a vector or list of
BB> alternate mailers that were checked in turn, rather than having them
BB> hard-wired into bug.report()?

BB>  (e.g., .Options$mailer <- c("mailx","Mail","/usr/ucb/mail")

OK, my previous email was too fast :-)

hmm, the mailer option is more intended to be a ``concept of mailing''
rather than a program by itself (we just named all options as the
programs as this is the easiest things to remember) ... but gnudoit
doeas something conceptually different because it opens an emacs mail
buffer and not simply a temp file ... 

I don't like the idea of having the above too flexible because there
will definetely be people doing something like

	bug.report(mailer="netscape")

and complain that it is not working ...


.f
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
``oops on my side'', I forgot to ask the crucial question: which
mailer is available on your system that could be used? again, "mail"
(without a path like in "/usr/ucb/mail" is not an option as that fails
on some other unixes.

.f

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
My oops is that things actually work here, I just thought they didn't
(since a previous version of R didn't have the alternative options, just
tried "mailx" and barfed when it wasn't there).
On Thu, 27 Jan 2000, Friedrich Leisch wrote: