From: Reiner Steib <reinersteib+gmane@imap.cc>
To: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Cc: Simon Josefsson <jas@extundo.com>,
ding@gnus.org, 92@emacsbugs.donarmstrong.com
Subject: Re: cannot start Gnus with idna.el
Date: Thu, 01 Jan 2009 19:14:46 +0100 [thread overview]
Message-ID: <87hc4i99m1.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <877i5f9cx8.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Thu, 01 Jan 2009 18:03:15 +0100")
[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]
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äksmörgås")
>
> 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äksmörgås")
>
> 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:
[-- Attachment #2: Type: message/rfc822, Size: 1933 bytes --]
From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: Reiner Steib <reinersteib+gmane@imap.cc>, Simon Josefsson <jas@extundo.com>
Cc: emacs-pretest-bug@gnu.org, ding@gnus.org
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>
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 <v9y75z98of.fsf@marauder.physik.uni-ulm.de>
>>>>> Reiner Steib <reinersteib+gmane@imap.cc> 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äksmörgås")
> 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äksmörgås")
"xn--rksmrgs-5wao1o"
Thanks.
--
NAKAJI Hiroyuki
[-- Attachment #3: Type: text/plain, Size: 327 bytes --]
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= (idna-to-ascii "räksmörgås")
"xn--rksmrgs-5wao1o")
t)
...
Bye, Reiner.
next prev parent reply other threads:[~2009-01-01 18:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 23:28 NAKAJI Hiroyuki
2008-05-24 12:40 ` Reiner Steib
2008-05-31 23:59 ` NAKAJI Hiroyuki
2009-01-01 17:03 ` Reiner Steib
2009-01-01 18:14 ` Reiner Steib [this message]
2010-09-26 1:59 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hc4i99m1.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=92@emacsbugs.donarmstrong.com \
--cc=Reiner.Steib@gmx.de \
--cc=ding@gnus.org \
--cc=jas@extundo.com \
--cc=nakaji@jp.freebsd.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.
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 NNTP newsgroup(s).