aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2005-09-30 03:03:53 +0000
committerMiles Bader2005-09-30 03:03:53 +0000
commita33704bbe84c2257fd98c3086fcbc783a578e2a5 (patch)
tree632c9c7f18bdff2fa7e510d651d06f7cb73b4bcb
parent8ad8c5ce6b08aad5aecd1d137d66fd0b2220da4a (diff)
downloademacs-a33704bbe84c2257fd98c3086fcbc783a578e2a5.tar.gz
emacs-a33704bbe84c2257fd98c3086fcbc783a578e2a5.zip
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-566
Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 128) - Update from CVS 2005-09-28 Simon Josefsson <jas@extundo.com> * etc/GNUS-NEWS: Fix IDNA notes. 2005-09-28 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/message.el: Remove useless autoloads. 2005-09-28 Simon Josefsson <jas@extundo.com> * lisp/gnus/message.el (message-use-idna): Default to t. (message-use-idna): Test whether encoding works too. Doc fix. 2005-09-28 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/nntp.el (nntp-warn-about-losing-connection): Remove. 2005-09-28 Simon Josefsson <jas@extundo.com> * man/message.texi (IDNA): Fix. 2005-09-28 Katsumi Yamaoka <yamaoka@jpl.org> * man/gnus.texi (NNTP): Remove nntp-buggy-select, nntp-read-timeout, nntp-server-hook, and nntp-warn-about-losing-connection; fix description of nntp-open-connection-function. (Common Variables): Fix descriptions.
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/GNUS-NEWS8
-rw-r--r--lisp/gnus/ChangeLog13
-rw-r--r--lisp/gnus/message.el17
-rw-r--r--lisp/gnus/nntp.el3
-rw-r--r--man/ChangeLog11
-rw-r--r--man/gnus.texi54
-rw-r--r--man/message.texi7
8 files changed, 50 insertions, 67 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index ec8f6cf09e1..9871bc094e4 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12005-09-28 Simon Josefsson <jas@extundo.com>
2
3 * GNUS-NEWS: Fix IDNA notes.
4
12005-09-27 Jay Belanger <belanger@truman.edu> 52005-09-27 Jay Belanger <belanger@truman.edu>
2 6
3 * calccard.tex: Update `versionnumber', remove `versiondate'. 7 * calccard.tex: Update `versionnumber', remove `versiondate'.
diff --git a/etc/GNUS-NEWS b/etc/GNUS-NEWS
index 0c9e0f4ef1f..59e0b5dbd2e 100644
--- a/etc/GNUS-NEWS
+++ b/etc/GNUS-NEWS
@@ -142,10 +142,10 @@ The new make.bat makes make-x.bat superfluous, so it has been removed.
142** Support for non-ASCII domain names 142** Support for non-ASCII domain names
143 143
144Message supports non-ASCII domain names in From:, To: and Cc: and will 144Message supports non-ASCII domain names in From:, To: and Cc: and will
145query you whether to perform encoding when you try to send a message. 145encode them when you try to send a message. The variable
146The variable `message-use-idna' controls this. Gnus will also decode 146`message-use-idna' controls this. Gnus will also decode non-ASCII
147non-ASCII domain names in From:, To: and Cc: when you view a message. 147domain names in From:, To: and Cc: when you view a message. The
148The variable `gnus-use-idna' controls this. 148variable `gnus-use-idna' controls this.
149 149
150** Better handling of Microsoft citation styles 150** Better handling of Microsoft citation styles
151 151
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 333e831dcca..36963b5ce24 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,16 @@
12005-09-28 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * message.el: Remove useless autoloads.
4
52005-09-28 Simon Josefsson <jas@extundo.com>
6
7 * message.el (message-use-idna): Default to t.
8 (message-use-idna): Test whether encoding works too. Doc fix.
9
102005-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
11
12 * nntp.el (nntp-warn-about-losing-connection): Remove.
13
12005-09-27 Reiner Steib <Reiner.Steib@gmx.de> 142005-09-27 Reiner Steib <Reiner.Steib@gmx.de>
2 15
3 * mm-uu.el (mm-uu-emacs-sources-regexp): Make variable 16 * mm-uu.el (mm-uu-emacs-sources-regexp): Make variable
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 0023b58892e..95a6dbc3b6d 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -1454,8 +1454,13 @@ no, only reply back to the author."
1454 (file-error)) 1454 (file-error))
1455 (mm-coding-system-p 'utf-8) 1455 (mm-coding-system-p 'utf-8)
1456 (executable-find idna-program) 1456 (executable-find idna-program)
1457 'ask) 1457 (string= (idna-to-ascii "räksmörgås")
1458 "Whether to encode non-ASCII in domain names into ASCII according to IDNA." 1458 "xn--rksmrgs-5wao1o")
1459 t)
1460 "Whether to encode non-ASCII in domain names into ASCII according to IDNA.
1461GNU Libidn, and in particular the elisp package \"idna.el\" and
1462the external program \"idn\", must be installed for this
1463functionality to work."
1459 :version "22.1" 1464 :version "22.1"
1460 :group 'message-headers 1465 :group 'message-headers
1461 :link '(custom-manual "(message)IDNA") 1466 :link '(custom-manual "(message)IDNA")
@@ -1807,7 +1812,6 @@ Leading \"Re: \" is not stripped by this function. Use the function
1807 1812
1808;;; Suggested by Jonas Steverud @ www.dtek.chalmers.se/~d4jonas/ 1813;;; Suggested by Jonas Steverud @ www.dtek.chalmers.se/~d4jonas/
1809 1814
1810;;;###autoload
1811(defun message-change-subject (new-subject) 1815(defun message-change-subject (new-subject)
1812 "Ask for NEW-SUBJECT header, append (was: <Old Subject>)." 1816 "Ask for NEW-SUBJECT header, append (was: <Old Subject>)."
1813 ;; <URL:http://www.landfield.com/usefor/drafts/draft-ietf-usefor-useage--1.02.unpaged> 1817 ;; <URL:http://www.landfield.com/usefor/drafts/draft-ietf-usefor-useage--1.02.unpaged>
@@ -1839,7 +1843,6 @@ Leading \"Re: \" is not stripped by this function. Use the function
1839 " (was: " 1843 " (was: "
1840 old-subject ")\n"))))))))) 1844 old-subject ")\n")))))))))
1841 1845
1842;;;###autoload
1843(defun message-mark-inserted-region (beg end) 1846(defun message-mark-inserted-region (beg end)
1844 "Mark some region in the current article with enclosing tags. 1847 "Mark some region in the current article with enclosing tags.
1845See `message-mark-insert-begin' and `message-mark-insert-end'." 1848See `message-mark-insert-begin' and `message-mark-insert-end'."
@@ -1851,7 +1854,6 @@ See `message-mark-insert-begin' and `message-mark-insert-end'."
1851 (goto-char beg) 1854 (goto-char beg)
1852 (insert message-mark-insert-begin))) 1855 (insert message-mark-insert-begin)))
1853 1856
1854;;;###autoload
1855(defun message-mark-insert-file (file) 1857(defun message-mark-insert-file (file)
1856 "Insert FILE at point, marking it with enclosing tags. 1858 "Insert FILE at point, marking it with enclosing tags.
1857See `message-mark-insert-begin' and `message-mark-insert-end'." 1859See `message-mark-insert-begin' and `message-mark-insert-end'."
@@ -1864,7 +1866,6 @@ See `message-mark-insert-begin' and `message-mark-insert-end'."
1864 (goto-char p) 1866 (goto-char p)
1865 (insert message-mark-insert-begin))) 1867 (insert message-mark-insert-begin)))
1866 1868
1867;;;###autoload
1868(defun message-add-archive-header () 1869(defun message-add-archive-header ()
1869 "Insert \"X-No-Archive: Yes\" in the header and a note in the body. 1870 "Insert \"X-No-Archive: Yes\" in the header and a note in the body.
1870The note can be customized using `message-archive-note'. When called with a 1871The note can be customized using `message-archive-note'. When called with a
@@ -1884,7 +1885,6 @@ body, set `message-archive-note' to nil."
1884 (message-add-header message-archive-header) 1885 (message-add-header message-archive-header)
1885 (message-sort-headers))) 1886 (message-sort-headers)))
1886 1887
1887;;;###autoload
1888(defun message-cross-post-followup-to-header (target-group) 1888(defun message-cross-post-followup-to-header (target-group)
1889 "Mangles FollowUp-To and Newsgroups header to point to TARGET-GROUP. 1889 "Mangles FollowUp-To and Newsgroups header to point to TARGET-GROUP.
1890With prefix-argument just set Follow-Up, don't cross-post." 1890With prefix-argument just set Follow-Up, don't cross-post."
@@ -1928,7 +1928,6 @@ With prefix-argument just set Follow-Up, don't cross-post."
1928 (insert (concat "\nFollowup-To: " target-group))) 1928 (insert (concat "\nFollowup-To: " target-group)))
1929 (setq message-cross-post-old-target target-group)) 1929 (setq message-cross-post-old-target target-group))
1930 1930
1931;;;###autoload
1932(defun message-cross-post-insert-note (target-group cross-post in-old 1931(defun message-cross-post-insert-note (target-group cross-post in-old
1933 old-groups) 1932 old-groups)
1934 "Insert a in message body note about a set Followup or Crosspost. 1933 "Insert a in message body note about a set Followup or Crosspost.
@@ -1961,7 +1960,6 @@ been made to before the user asked for a Crosspost."
1961 (insert (concat message-followup-to-note target-group "\n")) 1960 (insert (concat message-followup-to-note target-group "\n"))
1962 (insert (concat message-cross-post-note target-group "\n"))))) 1961 (insert (concat message-cross-post-note target-group "\n")))))
1963 1962
1964;;;###autoload
1965(defun message-cross-post-followup-to (target-group) 1963(defun message-cross-post-followup-to (target-group)
1966 "Crossposts message and set Followup-To to TARGET-GROUP. 1964 "Crossposts message and set Followup-To to TARGET-GROUP.
1967With prefix-argument just set Follow-Up, don't cross-post." 1965With prefix-argument just set Follow-Up, don't cross-post."
@@ -2003,7 +2001,6 @@ With prefix-argument just set Follow-Up, don't cross-post."
2003 2001
2004;;; Reduce To: to Cc: or Bcc: header 2002;;; Reduce To: to Cc: or Bcc: header
2005 2003
2006;;;###autoload
2007(defun message-reduce-to-to-cc () 2004(defun message-reduce-to-to-cc ()
2008 "Replace contents of To: header with contents of Cc: or Bcc: header." 2005 "Replace contents of To: header with contents of Cc: or Bcc: header."
2009 (interactive) 2006 (interactive)
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el
index 4998c7a9503..0885737c953 100644
--- a/lisp/gnus/nntp.el
+++ b/lisp/gnus/nntp.el
@@ -177,9 +177,6 @@ then use this hook to rsh to the remote machine and start a proxy NNTP
177server there that you can connect to. See also 177server there that you can connect to. See also
178`nntp-open-connection-function'") 178`nntp-open-connection-function'")
179 179
180(defvoo nntp-warn-about-losing-connection t
181 "*If non-nil, beep when a server closes connection.")
182
183(defvoo nntp-coding-system-for-read 'binary 180(defvoo nntp-coding-system-for-read 'binary
184 "*Coding system to read from NNTP.") 181 "*Coding system to read from NNTP.")
185 182
diff --git a/man/ChangeLog b/man/ChangeLog
index dc98b9a58ef..be1837d9cbf 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,14 @@
12005-09-28 Simon Josefsson <jas@extundo.com>
2
3 * message.texi (IDNA): Fix.
4
52005-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6
7 * gnus.texi (NNTP): Remove nntp-buggy-select, nntp-read-timeout,
8 nntp-server-hook, and nntp-warn-about-losing-connection; fix
9 description of nntp-open-connection-function.
10 (Common Variables): Fix descriptions.
11
12005-09-26 Katsumi Yamaoka <yamaoka@jpl.org> 122005-09-26 Katsumi Yamaoka <yamaoka@jpl.org>
2 13
3 * gnus.texi (Server Buffer Format): Document the %a format spec. 14 * gnus.texi (Server Buffer Format): Document the %a format spec.
diff --git a/man/gnus.texi b/man/gnus.texi
index 2a27a8e49c2..7ced947a5ce 100644
--- a/man/gnus.texi
+++ b/man/gnus.texi
@@ -12680,35 +12680,6 @@ that says how many seconds the @code{nntp} back end should wait for a
12680connection before giving up. If it is @code{nil}, which is the default, 12680connection before giving up. If it is @code{nil}, which is the default,
12681no timeouts are done. 12681no timeouts are done.
12682 12682
12683@c @item nntp-command-timeout
12684@c @vindex nntp-command-timeout
12685@c @cindex PPP connections
12686@c @cindex dynamic IP addresses
12687@c If you're running Gnus on a machine that has a dynamically assigned
12688@c address, Gnus may become confused. If the address of your machine
12689@c changes after connecting to the @acronym{NNTP} server, Gnus will simply sit
12690@c waiting forever for replies from the server. To help with this
12691@c unfortunate problem, you can set this command to a number. Gnus will
12692@c then, if it sits waiting for a reply from the server longer than that
12693@c number of seconds, shut down the connection, start a new one, and resend
12694@c the command. This should hopefully be transparent to the user. A
12695@c likely number is 30 seconds.
12696@c
12697@c @item nntp-retry-on-break
12698@c @vindex nntp-retry-on-break
12699@c If this variable is non-@code{nil}, you can also @kbd{C-g} if Gnus
12700@c hangs. This will have much the same effect as the command timeout
12701@c described above.
12702
12703@item nntp-server-hook
12704@vindex nntp-server-hook
12705This hook is run as the last step when connecting to an @acronym{NNTP}
12706server.
12707
12708@item nntp-buggy-select
12709@vindex nntp-buggy-select
12710Set this to non-@code{nil} if your select routine is buggy.
12711
12712@item nntp-nov-is-evil 12683@item nntp-nov-is-evil
12713@vindex nntp-nov-is-evil 12684@vindex nntp-nov-is-evil
12714If the @acronym{NNTP} server does not support @acronym{NOV}, you could set this 12685If the @acronym{NNTP} server does not support @acronym{NOV}, you could set this
@@ -12740,11 +12711,6 @@ that fetching will probably be slower. If this variable is @code{nil},
12740@vindex nntp-prepare-server-hook 12711@vindex nntp-prepare-server-hook
12741A hook run before attempting to connect to an @acronym{NNTP} server. 12712A hook run before attempting to connect to an @acronym{NNTP} server.
12742 12713
12743@item nntp-warn-about-losing-connection
12744@vindex nntp-warn-about-losing-connection
12745If this variable is non-@code{nil}, some noise will be made when a
12746server closes connection.
12747
12748@item nntp-record-commands 12714@item nntp-record-commands
12749@vindex nntp-record-commands 12715@vindex nntp-record-commands
12750If non-@code{nil}, @code{nntp} will log all commands it sends to the 12716If non-@code{nil}, @code{nntp} will log all commands it sends to the
@@ -12757,8 +12723,8 @@ that doesn't seem to work.
12757It is possible to customize how the connection to the nntp server will 12723It is possible to customize how the connection to the nntp server will
12758be opened. If you specify an @code{nntp-open-connection-function} 12724be opened. If you specify an @code{nntp-open-connection-function}
12759parameter, Gnus will use that function to establish the connection. 12725parameter, Gnus will use that function to establish the connection.
12760Five pre-made functions are supplied. These functions can be grouped in 12726Six pre-made functions are supplied. These functions can be grouped in
12761two categories: direct connection functions (three pre-made), and 12727two categories: direct connection functions (four pre-made), and
12762indirect ones (two pre-made). 12728indirect ones (two pre-made).
12763 12729
12764@item nntp-prepare-post-hook 12730@item nntp-prepare-post-hook
@@ -12776,14 +12742,6 @@ inhibit Gnus to add a @code{Message-ID} header, you could say:
12776Note that not all servers support the recommended ID. This works for 12742Note that not all servers support the recommended ID. This works for
12777INN versions 2.3.0 and later, for instance. 12743INN versions 2.3.0 and later, for instance.
12778 12744
12779@item nntp-read-timeout
12780@vindex nntp-read-timeout
12781How long nntp should wait between checking for the end of output.
12782Shorter values mean quicker response, but is more CPU intensive. The
12783default is 0.1 seconds. If you have a slow line to the server (and
12784don't like to see Emacs eat your available CPU power), you might set
12785this to, say, 1.
12786
12787@end table 12745@end table
12788 12746
12789@menu 12747@menu
@@ -12958,7 +12916,9 @@ Address of the intermediate host to connect to.
12958 12916
12959The following variables affect the behavior of all, or several of the 12917The following variables affect the behavior of all, or several of the
12960pre-made connection functions. When not specified, all functions are 12918pre-made connection functions. When not specified, all functions are
12961affected. 12919affected (the values of the following variables will be used as the
12920default if each virtual @code{nntp} server doesn't specify those server
12921variables individually).
12962 12922
12963@table @code 12923@table @code
12964 12924
@@ -12966,7 +12926,7 @@ affected.
12966@vindex nntp-pre-command 12926@vindex nntp-pre-command
12967A command wrapper to use when connecting through a non native 12927A command wrapper to use when connecting through a non native
12968connection function (all except @code{nntp-open-network-stream}, 12928connection function (all except @code{nntp-open-network-stream},
12969@code{nntp-open-tls-stream}, and @code{nntp-open-ssl-stream}. This is 12929@code{nntp-open-tls-stream}, and @code{nntp-open-ssl-stream}). This is
12970where you would put a @samp{SOCKS} wrapper for instance. 12930where you would put a @samp{SOCKS} wrapper for instance.
12971 12931
12972@item nntp-address 12932@item nntp-address
@@ -12977,7 +12937,7 @@ The address of the @acronym{NNTP} server.
12977@vindex nntp-port-number 12937@vindex nntp-port-number
12978Port number to connect to the @acronym{NNTP} server. The default is 12938Port number to connect to the @acronym{NNTP} server. The default is
12979@samp{nntp}. If you use @acronym{NNTP} over 12939@samp{nntp}. If you use @acronym{NNTP} over
12980@acronym{tls}/@acronym{ssl}, you may want to use integer ports rather 12940@acronym{TLS}/@acronym{SSL}, you may want to use integer ports rather
12981than named ports (i.e, use @samp{563} instead of @samp{snews} or 12941than named ports (i.e, use @samp{563} instead of @samp{snews} or
12982@samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may 12942@samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may
12983not work with named ports. 12943not work with named ports.
diff --git a/man/message.texi b/man/message.texi
index 19882445afb..35fb3e726c3 100644
--- a/man/message.texi
+++ b/man/message.texi
@@ -839,13 +839,14 @@ typed a non-@acronym{ASCII} domain name.
839The @code{message-use-idna} variable control whether @acronym{IDNA} is 839The @code{message-use-idna} variable control whether @acronym{IDNA} is
840used. If the variable is @code{nil} no @acronym{IDNA} encoding will 840used. If the variable is @code{nil} no @acronym{IDNA} encoding will
841ever happen, if it is set to the symbol @code{ask} the user will be 841ever happen, if it is set to the symbol @code{ask} the user will be
842queried (the default), and if set to @code{t} @acronym{IDNA} encoding 842queried, and if set to @code{t} @acronym{IDNA} encoding happens
843happens automatically. 843automatically (the default).
844 844
845@findex message-idna-to-ascii-rhs 845@findex message-idna-to-ascii-rhs
846If you want to experiment with the @acronym{IDNA} encoding, you can 846If you want to experiment with the @acronym{IDNA} encoding, you can
847invoke @kbd{M-x message-idna-to-ascii-rhs RET} in the message buffer 847invoke @kbd{M-x message-idna-to-ascii-rhs RET} in the message buffer
848to have the non-@acronym{ASCII} domain names encoded while you edit the message. 848to have the non-@acronym{ASCII} domain names encoded while you edit
849the message.
849 850
850Note that you must have @uref{http://www.gnu.org/software/libidn/, GNU 851Note that you must have @uref{http://www.gnu.org/software/libidn/, GNU
851Libidn} installed in order to use this functionality. 852Libidn} installed in order to use this functionality.