unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: CHENG Gao <chenggao@royau.me>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs Git make bootstrap failure - idna related
Date: Mon, 28 Dec 2015 17:56:25 +0100	[thread overview]
Message-ID: <87wpryv7eu.fsf@gnus.org> (raw)
In-Reply-To: <m2oadarago.fsf@royau.me> (CHENG Gao's message of "Mon, 28 Dec 2015 21:04:07 +0800")

CHENG Gao <chenggao@royau.me> writes:

> make bootstrap error:
>
> ,----
> | Eager macro-expansion failure: (void-variable idna-program)
> | 
> | In toplevel form:
> | gnus/deuglify.el:221:1:Error: Symbol’s value as variable is void: idna-program

Ah, this is probably because there's an old idna.el that Gnus is trying
to access, and the new one I wrote tonight.  That's probably not a good
thing, so I should rename the new one.

Anybody have an idea what the new library should be called?  IDNA is
probably short for something like Internationalized Domain Name...
algorithm?

Also, does anybody have an opinion on where Emacs should do IDNA
decoding?  Since any service can theoretically be located on an IDNA
name, I think the most likely place to do it is in
`open-network-stream'.  Then both

(open-network-stream ... "méxico.icom.museum" "imap")

and

`M-x eww http://méxico.icom.museum'

would work without doing much work in all the different libraries...

(Hm, url.el seems do be doing URL-encoding on the host name at present, so
that'll have to be fixed.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2015-12-28 16:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28 13:04 Emacs Git make bootstrap failure - idna related CHENG Gao
2015-12-28 16:56 ` Lars Ingebrigtsen [this message]
2015-12-28 17:13   ` Eli Zaretskii
2015-12-28 17:16   ` Paul Eggert
2015-12-28 17:19     ` Lars Ingebrigtsen
2015-12-28 17:39   ` CHENG Gao
2015-12-28 17:43     ` Lars Ingebrigtsen
2015-12-28 18:04       ` CHENG Gao
2015-12-28 18:18   ` Lars Ingebrigtsen
2015-12-28 19:54     ` Use IDNA on all network connections Lars Ingebrigtsen
2015-12-28 23:12       ` Lars Ingebrigtsen
2015-12-28 23:34         ` Lars Ingebrigtsen
2015-12-29  1:55           ` Paul Eggert
2015-12-29  9:03             ` Lars Ingebrigtsen
2015-12-29 11:43               ` Lars Ingebrigtsen
2015-12-29 16:05                 ` Eli Zaretskii
2015-12-29 16:28                   ` Lars Ingebrigtsen
2015-12-29 16:38                     ` Eli Zaretskii
2015-12-29 16:47                       ` Lars Ingebrigtsen
2015-12-30  9:04                         ` 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=87wpryv7eu.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=chenggao@royau.me \
    --cc=emacs-devel@gnu.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).