emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 64699a5: Default `message-use-idna' to t


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 64699a5: Default `message-use-idna' to t
Date: Sun, 17 Apr 2016 17:14:15 +0000

branch: master
commit 64699a5ac88a63d5d96c0e3468207a82c84b68c2
Author: Lars Magne Ingebrigtsen <address@hidden>
Commit: Lars Magne Ingebrigtsen <address@hidden>

    Default `message-use-idna' to t
    
    * lisp/gnus/message.el (message-use-idna): Default to t (since
    Emacs comes with puny.el now).
---
 lisp/gnus/message.el |   22 +++-------------------
 1 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 3b2cf67..fc339a4 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -1756,25 +1756,9 @@ no, only reply back to the author."
   :type '(radio (const :format "%v  " nil)
                (string :format "FQDN: %v")))
 
-(defcustom message-use-idna
-  (and (or (mm-coding-system-p 'utf-8)
-          (condition-case nil
-              (let (mucs-ignore-version-incompatibilities)
-                (require 'un-define))
-            (error)))
-       (condition-case nil
-          (require 'idna)
-        (file-error)
-        (invalid-operation))
-       idna-program
-       (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"
+(defcustom message-use-idna t
+  "Whether to encode non-ASCII in domain names into ASCII according to IDNA."
+  :version "25.2"
   :group 'message-headers
   :link '(custom-manual "(message)IDNA")
   :type '(choice (const :tag "Ask" ask)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]