From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68020 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: cannot start Gnus with idna.el Date: Thu, 01 Jan 2009 19:14:46 +0100 Message-ID: <87hc4i99m1.fsf@marauder.physik.uni-ulm.de> References: <86prteh1hu.fsf@ra333.heimat.gr.jp> <877i5f9cx8.fsf@marauder.physik.uni-ulm.de> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1230834939 7823 80.91.229.12 (1 Jan 2009 18:35:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2009 18:35:39 +0000 (UTC) Cc: Simon Josefsson , ding@gnus.org, 92@emacsbugs.donarmstrong.com To: NAKAJI Hiroyuki Original-X-From: ding-owner+M16466@lists.math.uh.edu Thu Jan 01 19:36:47 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LISPW-00036D-6P for ding-account@gmane.org; Thu, 01 Jan 2009 19:36:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LISNu-0000Hi-KN; Thu, 01 Jan 2009 12:35:06 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LISNs-0000HK-Ru for ding@lists.math.uh.edu; Thu, 01 Jan 2009 12:35:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LISNp-0003Ie-Rd for ding@lists.math.uh.edu; Thu, 01 Jan 2009 12:35:04 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LISO5-0004BS-00 for ; Thu, 01 Jan 2009 19:35:17 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n01IYi7n009801; Thu, 1 Jan 2009 19:34:44 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 767441C921; Thu, 1 Jan 2009 19:34:44 +0100 (CET) X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: NAKAJI Hiroyuki , Simon Josefsson , ding@gnus.org, 92@emacsbugs.donarmstrong.com In-Reply-To: <877i5f9cx8.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Thu, 01 Jan 2009 18:03:15 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-CTc-dcc1-Metrics: poseidon 1030; Body=4 Fuz1=4 Fuz2=4 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68020 Archived-At: --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail.uni-ulm.de id n01IYi7n009801 On Thu, Jan 01 2009, Reiner Steib wrote: > On Sat, Mar 29 2008, NAKAJI Hiroyuki wrote: [...] >> The "while" in idna-to-ascii-response() seems infinite loop. >> >> (defun idna-to-ascii-response () >> (while (and (eq (process-status idna-to-ascii-process) 'run) >> (null idna-to-ascii-response)) >> (accept-process-output idna-to-ascii-process 1)) >> idna-to-ascii-response) >> >> The idna-to-ascii-response is called from message.el and the failure >> itself occurs in >> >> (idna-to-ascii "r=E4ksm=F6rg=E5s") > > I can't reproduce thin on GNU/Linux. AFAICS, there's nothing wrong in > Gnus. I guess you can reproduce the problem without Gnus: > > emacs -Q -l /path/to/idna.el > > In *scratch*, eval: > > (idna-to-ascii "r=E4ksm=F6rg=E5s") > > If idna-to-ascii-response inf-loops, it's a bug in idna.el, the idn > program or Emacs' process handling on FreeBSD. > CC-ing Simon Josefsson, the author of idna.el and libidn. Sorry, the entry in the emacs bug database didn't contain the following message: --=-=-= Content-Type: message/rfc822 Content-Disposition: inline From: NAKAJI Hiroyuki Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs,gmane.emacs.gnus.general Subject: Re: cannot start Gnus with idna.el Date: Sun, 01 Jun 2008 08:59:26 +0900 Message-ID: <86y75qja8x.fsf@ra333.heimat.gr.jp> Cc: emacs-pretest-bug@gnu.org, ding@gnus.org To: Reiner Steib , Simon Josefsson In-Reply-To: (Reiner Steib's message of "Sat, 24 May 2008 14:40:48 +0200") Archived-At: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail.uni-ulm.de id n01IYi7n009801 Thank you for the comment. After "make maintainer-clean" in emacs/lisp directory, I successfully bootstrapped the latest emacs. And then I'm trying this problem again. >>>>> In =20 >>>>> Reiner Steib wrote: > > The "while" in idna-to-ascii-response() seems infinite loop. > > > > (defun idna-to-ascii-response () > > (while (and (eq (process-status idna-to-ascii-process) 'run) > > (null idna-to-ascii-response)) > > (accept-process-output idna-to-ascii-process 1)) > > idna-to-ascii-response) > Isn't this a bug in `idna.el' then? Cc-ing Simon therefore. I'm not sure. > > The idna-to-ascii-response is called from message.el and the failure > > itself occurs in > > > > (idna-to-ascii "r=E4ksm=F6rg=E5s") > Does it mean, that you can reproduce the problem when evaluating this > expression after starting "emacs -Q"? No. After starting "emacs -Q", loaded /some/where/idna.el, opened gnus/lisp/message.el (no load of gnus) and evaluated this expression. It was successfull. (idna-to-ascii "r=E4ksm=F6rg=E5s") "xn--rksmrgs-5wao1o" Thanks. --=20 NAKAJI Hiroyuki --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail.uni-ulm.de id n01IYi7n009801 I don't understand why it fails in message.el: (defcustom message-use-idna (and (condition-case nil (require 'idna) (file-error)) (mm-coding-system-p 'utf-8) (executable-find idna-program) (string=3D (idna-to-ascii "r=E4ksm=F6rg=E5s") "xn--rksmrgs-5wao1o") t) ... Bye, Reiner. --=-=-=--