From 182acfe7fdfc3408923c739152b74fa89efc9133 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Wed, 28 Sep 2005 10:03:05 +0000 Subject: [PATCH] Synch to No Gnus 200509280938. --- lisp/ChangeLog | 5 +++++ lisp/message.el | 9 +++++++-- texi/ChangeLog | 4 ++++ texi/message-ja.texi | 4 ++-- texi/message.texi | 7 ++++--- 5 files changed, 22 insertions(+), 7 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8adc6d9..931f86a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-09-28 Simon Josefsson + + * message.el (message-use-idna): Default to t. + (message-use-idna): Test whether encoding works too. Doc fix. + 2005-09-28 Katsumi Yamaoka * nntp.el (nntp-warn-about-losing-connection): Remove. diff --git a/lisp/message.el b/lisp/message.el index 274f861..d6af679 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -1705,8 +1705,13 @@ no, only reply back to the author." (file-error)) (mm-coding-system-p 'utf-8) (executable-find idna-program) - 'ask) - "Whether to encode non-ASCII in domain names into ASCII according to IDNA." + (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") diff --git a/texi/ChangeLog b/texi/ChangeLog index 6585528..e44f415 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,7 @@ +2005-09-28 Simon Josefsson + + * message.texi (IDNA): Fix. + 2005-09-28 Katsumi Yamaoka * gnus.texi (NNTP): Remove nntp-buggy-select, nntp-read-timeout, diff --git a/texi/message-ja.texi b/texi/message-ja.texi index e6176db..10b5ec1 100644 --- a/texi/message-ja.texi +++ b/texi/message-ja.texi @@ -853,8 +853,8 @@ Message $B$O(B @code{From}$B!"(B@code{To} $B$*$h$S(B @code{Cc} $B%X%C%@!< @vindex message-use-idna $BJQ?t(B @code{message-use-idna} $B$O(B @acronym{IDNA} $B$r;H$&$+$I$&$+$r@)8f$7$^(B $B$9!#$3$NJQ?t$,(B @code{nil} $B$@$C$?$i(B @acronym{IDNA} $B%(%s%3!<%I$O9T$J$o$l$^(B -$B$;$s!#%7%s%\%k(B @code{ask} $B$K@_Dj$5$l$F$$$k(B ($B%G%#%U%)%k%H(B) $B$H%f!<%6$O3NG'(B -$B$r5a$a$i$l$^$9!#$=$7$F(B @code{t} $B$K@_Dj$5$l$F$$$k$H!"<+F0E*(B +$B$;$s!#%7%s%\%k(B @code{ask} $B$K@_Dj$5$l$F$$$k$H%f!<%6$O3NG'$r5a$a$i$l$^$9$,!"(B +@code{t} $B$K@_Dj$5$l$F$$$k(B ($B$=$l$,%G%#%U%)%k%H$G$9(B) $B$H!"<+F0E*(B $B$K(B @acronym{IDNA} $B%(%s%3!<%I$,9T$J$o$l$^$9!#(B @findex message-idna-to-ascii-rhs diff --git a/texi/message.texi b/texi/message.texi index 6e3cbad..4a30561 100644 --- a/texi/message.texi +++ b/texi/message.texi @@ -852,13 +852,14 @@ typed a non-@acronym{ASCII} domain name. The @code{message-use-idna} variable control whether @acronym{IDNA} is used. If the variable is @code{nil} no @acronym{IDNA} encoding will ever happen, if it is set to the symbol @code{ask} the user will be -queried (the default), and if set to @code{t} @acronym{IDNA} encoding -happens automatically. +queried, and if set to @code{t} @acronym{IDNA} encoding happens +automatically (the default). @findex message-idna-to-ascii-rhs If you want to experiment with the @acronym{IDNA} encoding, you can invoke @kbd{M-x message-idna-to-ascii-rhs RET} in the message buffer -to have the non-@acronym{ASCII} domain names encoded while you edit the message. +to have the non-@acronym{ASCII} domain names encoded while you edit +the message. Note that you must have @uref{http://www.gnu.org/software/libidn/, GNU Libidn} installed in order to use this functionality. -- 1.7.10.4