unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stefan Klinger <all-lists@stefan-klinger.de>
Cc: 9304@debbugs.gnu.org, Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: bug#9304: report-emacs-bug fails: /Mail write-protected.
Date: Mon, 15 Aug 2011 17:12:55 -0400	[thread overview]
Message-ID: <ogippyml9k.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20110815145248.GB1222@stefan-klinger.de> (Stefan Klinger's message of "Mon, 15 Aug 2011 16:52:48 +0200")

Stefan Klinger wrote:

> Reproduce: Start with a write-protected ~/Mail, run 'emacs -Q', type 'M-x report-emacs-bug'. This fails with the message "make-directory: Creating directory: permission denied, /home/foo/Mail/drafts". No further information is provided.

I was going to say that this won't happen in Emasc 24.1, due to the
changes from http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4432,
but it still does.

Perhaps

(defcustom message-auto-save-directory
  (if (file-exists-p message-directory)
      (file-name-as-directory (expand-file-name "drafts" message-directory))
    "~/")

should use `file-writable-p' instead of `file-exists-p'.





  reply	other threads:[~2011-08-15 21:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 14:52 bug#9304: report-emacs-bug fails: /Mail write-protected Stefan Klinger
2011-08-15 21:12 ` Glenn Morris [this message]
2011-08-17 21:39   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ogippyml9k.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=9304@debbugs.gnu.org \
    --cc=all-lists@stefan-klinger.de \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).