[Rd] behaviour of bug.report (PR#432)

berwin@maths.uwa.edu.au berwin@maths.uwa.edu.au
Fri, 11 Feb 2000 13:09:31 +0100 (MET)


Dear R developers,

it seems that I am in the mood of filing bug reports.  Partly because
R-1.0 is approaching fast, partly to explain why I have send (yet)
another empty bug report.  

My settings are as follows:
> options()$mailer
[1] "mailx"
> options()$method
NULL
> options()$editor
[1] "emacsclient"

My first attempt to send the last bug-report about "R CMD check
[nlme|MASS" was:

> bug.report(subject="`R CMD check [nlme|MASS]' fails")
Waiting for Emacs...Done
Submit the bug report? y
Sending email ...
sh: unexpected EOF while looking for `''
sh: -c: line 2: syntax error
sh: unexpected EOF while looking for `''
sh: -c: line 2: syntax error
sh: unexpected EOF while looking for `''
sh: -c: line 2: syntax error
Sending email failed!
The unsent bug report can be found in file R.bug.report 

Obviously, something didn't like the `'' in the subject line.  Can it
be escaped?

Next I typed:
> bug.report(subject="R CMD check [nlme|MASS] fails")

And emacs asked me if I wanted to revert the buffer of file XXXX from
its latest version.  To this I answered `no' since the R.bug.report
buffer still contained the messages that I wanted to send and a `yes'
answer would have put the bug report template into that buffer.  As
expected, I got into the buffer with the report still there.  Upon
pressing `C-x #' I got back to the R session and was asked whether I
wanted to send the bug report:

Waiting for Emacs...Done
Submit the bug report? y
Sending email ...

To my surprise, I then noticed that the empty template was send and
not the report.  I gues the "real" report was only in the buffer and
never written back to the file R.bug.report.  But I kind of wonder
whether emacs or R is to blame for this problem.......

Cheers,

        Berwin

--please do not edit the information below--

Version:
 platform = i686-unknown-linux
 arch = i686
 os = linux
 system = i686, linux
 status = Patched
 major = 0
 minor = 99.0
 year = 2000
 month = February
 day = 9
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base

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