unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 37475@debbugs.gnu.org
Subject: bug#37475: 27.0.50 bootstrap fails
Date: Sat, 21 Sep 2019 12:33:32 +0300	[thread overview]
Message-ID: <83mueyq9hv.fsf@gnu.org> (raw)
In-Reply-To: <87v9tm3tm5.fsf@hase.home> (message from Andreas Schwab on Sat, 21 Sep 2019 11:07:30 +0200)

> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Sat, 21 Sep 2019 11:07:30 +0200
> 
> Eager macro-expansion failure: (file-error "Testing file" "Permission denied" "/etc/news/organization")
> 
> In toplevel form:
> gnus/deuglify.el:221:1:Error: Testing file: Permission denied, /etc/news/organization
> make[3]: *** [gnus/deuglify.elc] Error 1

This comes from this part of message.el:

  (defcustom message-user-organization-file
    (let (orgfile)
      (dolist (f (list "/etc/organization"
		       "/etc/news/organization"
		       "/usr/lib/news/organization"))
	(when (file-readable-p f)
	  (setq orgfile f)))
      orgfile)
    "Local news organization file."

file-readable-p is documented to "Return t if file FILENAME exists and
you can read it."  So I think Ffile_readable_p should not signal an
error if the file does not exist, it should return nil instead.





  reply	other threads:[~2019-09-21  9:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-21  9:07 bug#37475: 27.0.50 bootstrap fails Andreas Schwab
2019-09-21  9:33 ` Eli Zaretskii [this message]
2019-09-21  9:37   ` Eli Zaretskii
2019-09-21  9:57     ` Sven Joachim
2019-09-21 11:56       ` Andreas Schwab
2019-09-21 19:00 ` Paul Eggert

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=83mueyq9hv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=37475@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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).