Xref: utzoo comp.emacs:7089 gnu.emacs:1822 gnu.emacs.bug:1273 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!accuvax.nwu.edu!krulwich From: krulwich@ils.nwu.edu (Bruce Krulwich) Newsgroups: comp.emacs,gnu.emacs,gnu.emacs.bug Subject: SENDMAIL.EL bug Message-ID: <1435@accuvax.nwu.edu> Date: 30 Oct 89 17:21:18 GMT Sender: news@accuvax.nwu.edu Reply-To: krulwich@ils.nwu.edu (Bruce Krulwich) Organization: Institute for the Learning Sciences, Northwestern University, Evanston, IL 60201 Lines: 16 In RMAIL buffers are maintained for mail files after RMAIL is quitted, and they are kept around READ-ONLY. Two mail components use them if they exist, one being the RMAIL-OUTPUT-TO-MAIL-FILE command and the other being the MAIL-DO-FCC command. The first makes sure to turn off the read-only status before writing to the buffer, the second does not. This means that if you have a default FCC mailbox (ie, a MAIL-ARCHIVE-FILE-NAME) you'll get an error ("file is write protected) if you've visitted the mailbox previously. The obvious fix is to do what OUTPUT does, namely to temporarily un-read-only-ify the buffer while writing to it (by binding BUFFER-READ-ONLY to NIL). Does anyone see any problems with doing this?? Bruce Krulwich Institute for the Learning Sciences krulwich@ils.nwu.edu