[gnus git] branch master updated: m0-11-88-g54b3844 =1= Fix XEmacs compilation
Katsumi <[email protected]> Thu, 27 Nov 2014 02:32:31 +0100
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 54b3844ec0d9b1fd25b4f00f927853ff72ba5274 (commit)
from ba115d03543f5f95fb3251a619d42aa9f7177327 (commit)
- Log -----------------------------------------------------------------
commit 54b3844ec0d9b1fd25b4f00f927853ff72ba5274
Author: Katsumi Yamaoka <[email protected]>
Date: Thu Nov 27 01:32:19 2014 +0000
Fix XEmacs compilation
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 183df44..85f4368 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
+2014-11-27 Katsumi Yamaoka <[email protected]>
+
+ * gnus-art.el (gnus-use-idna):
+ * gnus-sum.el (gnus-summary-idna-message):
+ * message.el (message-use-idna):
+ Protect against nil value for idna-program.
+
+ * message.el (message-use-idna): Load Mule-UCS for XEmacs 21.4.
+
2014-11-26 John Mastro <[email protected]> (tiny change)
* auth-source.el (auth-source-macos-keychain-search-items): Return
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 8444507..d759583 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -1629,6 +1629,7 @@ It is a string, such as \"PGP\". If nil, ask user."
(defcustom gnus-use-idna (and (condition-case nil (require 'idna) (file-error))
(mm-coding-system-p 'utf-8)
+ idna-program
(executable-find idna-program))
"Whether IDNA decoding of headers is used when viewing messages.
This requires GNU Libidn, and by default only enabled if it is found."
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 69bb106..29f693f 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -9870,6 +9870,7 @@ installed for this command to work."
(if (not (and (condition-case nil (require 'idna)
(file-error))
(mm-coding-system-p 'utf-8)
+ (symbol-value 'idna-program)
(executable-find (symbol-value 'idna-program))))
(gnus-message
5 "GNU Libidn not installed properly (`idn' or `idna.el' missing)")
diff --git a/lisp/message.el b/lisp/message.el
index a0ac449..828dfde 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -1800,12 +1800,16 @@ no, only reply back to the author."
:type '(radio (const :format "%v " nil)
(string :format "FQDN: %v")))
-(defcustom message-use-idna (and (condition-case nil (require 'idna)
- (file-error))
- (mm-coding-system-p 'utf-8)
+(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))
+ idna-program
(executable-find idna-program)
- (string= (idna-to-ascii "räksmörgås")
- "xn--rksmrgs-5wao1o")
+ (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
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 9 +++++++++
lisp/gnus-art.el | 1 +
lisp/gnus-sum.el | 1 +
lisp/message.el | 18 +++++++++++-------
4 files changed, 22 insertions(+), 7 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project