On Sat, Aug 9, 2014 at 5:04 PM, Mats Lidell <matsl(a)xemacs.org> wrote:
Can you help me analyze this backtrace from compiling
gnus/lisp/nnlistserv.el. I don't understand where and what the problem
is. (Well I do understand that by adding idna.el to net-utils some
things in gnus that depends on idna gets activated and for some reason
this below is the result of that!)
This means that nnlistserv.el, line 34, says:
(require 'nnweb)
and nnweb.el, line 35, says:
(require 'message)
and message.el, line 1478, says:
(defcustom message-use-idna (and (condition-case nil (require 'idna)
(file-error))
(mm-coding-system-p 'utf-8)
(executable-find idna-program)
(string= (idna-to-ascii "räksmörgås")
"xn--rksmrgs-5wao1o")
t)
"Whether to encode non-ASCII in domain names into ASCII according to IDNA.
GNU Libidn, and in particular the elisp package \"idna.el\" and
the external program \"idn\", must be installed for this
functionality to work."
:version "22.1"
:group 'message-headers
:link '(custom-manual "(message)IDNA")
:type '(choice (const :tag "Ask" ask)
(const :tag "Never" nil)
(const :tag "Always" t)))
and the value of idna-program is nil, which causes evaluation of:
(executable-find nil)
which leads to the problem that triggers the backtrace. So ... I'm
guessing, but maybe a non-toplevel (require 'idna) doesn't get evaluated at
compile time, but only at load time? Does it work if you do this instead?
(defcustom message-use-idna (and (eval-when (compile load eval)
(condition-case nil (require 'idna)
(file-error)))
(mm-coding-system-p 'utf-8)
(executable-find idna-program)
(string= (idna-to-ascii "räksmörgås")
"xn--rksmrgs-5wao1o")
t)
"Whether to encode non-ASCII in domain names into ASCII according to IDNA.
GNU Libidn, and in particular the elisp package \"idna.el\" and
the external program \"idn\", must be installed for this
functionality to work."
:version "22.1"
:group 'message-headers
:link '(custom-manual "(message)IDNA")
:type '(choice (const :tag "Ask" ask)
(const :tag "Never" nil)
(const :tag "Always" t)))
Regards,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta