Commit a33704bb authored by Miles Bader's avatar Miles Bader
Browse files

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.
parent 8ad8c5ce
2005-09-28 Simon Josefsson <jas@extundo.com>
* GNUS-NEWS: Fix IDNA notes.
2005-09-27 Jay Belanger <belanger@truman.edu>
* calccard.tex: Update `versionnumber', remove `versiondate'.
......
......@@ -142,10 +142,10 @@ The new make.bat makes make-x.bat superfluous, so it has been removed.
** Support for non-ASCII domain names
Message supports non-ASCII domain names in From:, To: and Cc: and will
query you whether to perform encoding when you try to send a message.
The variable `message-use-idna' controls this. Gnus will also decode
non-ASCII domain names in From:, To: and Cc: when you view a message.
The variable `gnus-use-idna' controls this.
encode them when you try to send a message. The variable
`message-use-idna' controls this. Gnus will also decode non-ASCII
domain names in From:, To: and Cc: when you view a message. The
variable `gnus-use-idna' controls this.
** Better handling of Microsoft citation styles
......
2005-09-28 Reiner Steib <Reiner.Steib@gmx.de>
* message.el: Remove useless autoloads.
2005-09-28 Simon Josefsson <jas@extundo.com>
* 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>
* nntp.el (nntp-warn-about-losing-connection): Remove.
2005-09-27 Reiner Steib <Reiner.Steib@gmx.de>
* mm-uu.el (mm-uu-emacs-sources-regexp): Make variable
......
......@@ -1454,8 +1454,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 "rksmrgs")
"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")
......@@ -1807,7 +1812,6 @@ Leading \"Re: \" is not stripped by this function. Use the function
;;; Suggested by Jonas Steverud @ www.dtek.chalmers.se/~d4jonas/
;;;###autoload
(defun message-change-subject (new-subject)
"Ask for NEW-SUBJECT header, append (was: <Old Subject>)."
;; <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
" (was: "
old-subject ")\n")))))))))
;;;###autoload
(defun message-mark-inserted-region (beg end)
"Mark some region in the current article with enclosing tags.
See `message-mark-insert-begin' and `message-mark-insert-end'."
......@@ -1851,7 +1854,6 @@ See `message-mark-insert-begin' and `message-mark-insert-end'."
(goto-char beg)
(insert message-mark-insert-begin)))
;;;###autoload
(defun message-mark-insert-file (file)
"Insert FILE at point, marking it with enclosing tags.
See `message-mark-insert-begin' and `message-mark-insert-end'."
......@@ -1864,7 +1866,6 @@ See `message-mark-insert-begin' and `message-mark-insert-end'."
(goto-char p)
(insert message-mark-insert-begin)))
;;;###autoload
(defun message-add-archive-header ()
"Insert \"X-No-Archive: Yes\" in the header and a note in the body.
The note can be customized using `message-archive-note'. When called with a
......@@ -1884,7 +1885,6 @@ body, set `message-archive-note' to nil."
(message-add-header message-archive-header)
(message-sort-headers)))
;;;###autoload
(defun message-cross-post-followup-to-header (target-group)
"Mangles FollowUp-To and Newsgroups header to point to TARGET-GROUP.
With 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."
(insert (concat "\nFollowup-To: " target-group)))
(setq message-cross-post-old-target target-group))
;;;###autoload
(defun message-cross-post-insert-note (target-group cross-post in-old
old-groups)
"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."
(insert (concat message-followup-to-note target-group "\n"))
(insert (concat message-cross-post-note target-group "\n")))))
;;;###autoload
(defun message-cross-post-followup-to (target-group)
"Crossposts message and set Followup-To to TARGET-GROUP.
With 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."
;;; Reduce To: to Cc: or Bcc: header
;;;###autoload
(defun message-reduce-to-to-cc ()
"Replace contents of To: header with contents of Cc: or Bcc: header."
(interactive)
......
......@@ -177,9 +177,6 @@ then use this hook to rsh to the remote machine and start a proxy NNTP
server there that you can connect to. See also
`nntp-open-connection-function'")
(defvoo nntp-warn-about-losing-connection t
"*If non-nil, beep when a server closes connection.")
(defvoo nntp-coding-system-for-read 'binary
"*Coding system to read from NNTP.")
......
2005-09-28 Simon Josefsson <jas@extundo.com>
* message.texi (IDNA): Fix.
2005-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
* 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.
2005-09-26 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus.texi (Server Buffer Format): Document the %a format spec.
......
......@@ -12680,35 +12680,6 @@ that says how many seconds the @code{nntp} back end should wait for a
connection before giving up. If it is @code{nil}, which is the default,
no timeouts are done.
@c @item nntp-command-timeout
@c @vindex nntp-command-timeout
@c @cindex PPP connections
@c @cindex dynamic IP addresses
@c If you're running Gnus on a machine that has a dynamically assigned
@c address, Gnus may become confused. If the address of your machine
@c changes after connecting to the @acronym{NNTP} server, Gnus will simply sit
@c waiting forever for replies from the server. To help with this
@c unfortunate problem, you can set this command to a number. Gnus will
@c then, if it sits waiting for a reply from the server longer than that
@c number of seconds, shut down the connection, start a new one, and resend
@c the command. This should hopefully be transparent to the user. A
@c likely number is 30 seconds.
@c
@c @item nntp-retry-on-break
@c @vindex nntp-retry-on-break
@c If this variable is non-@code{nil}, you can also @kbd{C-g} if Gnus
@c hangs. This will have much the same effect as the command timeout
@c described above.
@item nntp-server-hook
@vindex nntp-server-hook
This hook is run as the last step when connecting to an @acronym{NNTP}
server.
@item nntp-buggy-select
@vindex nntp-buggy-select
Set this to non-@code{nil} if your select routine is buggy.
@item nntp-nov-is-evil
@vindex nntp-nov-is-evil
If 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},
@vindex nntp-prepare-server-hook
A hook run before attempting to connect to an @acronym{NNTP} server.
@item nntp-warn-about-losing-connection
@vindex nntp-warn-about-losing-connection
If this variable is non-@code{nil}, some noise will be made when a
server closes connection.
@item nntp-record-commands
@vindex nntp-record-commands
If non-@code{nil}, @code{nntp} will log all commands it sends to the
......@@ -12757,8 +12723,8 @@ that doesn't seem to work.
It is possible to customize how the connection to the nntp server will
be opened. If you specify an @code{nntp-open-connection-function}
parameter, Gnus will use that function to establish the connection.
Five pre-made functions are supplied. These functions can be grouped in
two categories: direct connection functions (three pre-made), and
Six pre-made functions are supplied. These functions can be grouped in
two categories: direct connection functions (four pre-made), and
indirect ones (two pre-made).
@item nntp-prepare-post-hook
......@@ -12776,14 +12742,6 @@ inhibit Gnus to add a @code{Message-ID} header, you could say:
Note that not all servers support the recommended ID. This works for
INN versions 2.3.0 and later, for instance.
@item nntp-read-timeout
@vindex nntp-read-timeout
How long nntp should wait between checking for the end of output.
Shorter values mean quicker response, but is more CPU intensive. The
default is 0.1 seconds. If you have a slow line to the server (and
don't like to see Emacs eat your available CPU power), you might set
this to, say, 1.
@end table
@menu
......@@ -12958,7 +12916,9 @@ Address of the intermediate host to connect to.
The following variables affect the behavior of all, or several of the
pre-made connection functions. When not specified, all functions are
affected.
affected (the values of the following variables will be used as the
default if each virtual @code{nntp} server doesn't specify those server
variables individually).
@table @code
......@@ -12966,7 +12926,7 @@ affected.
@vindex nntp-pre-command
A command wrapper to use when connecting through a non native
connection function (all except @code{nntp-open-network-stream},
@code{nntp-open-tls-stream}, and @code{nntp-open-ssl-stream}. This is
@code{nntp-open-tls-stream}, and @code{nntp-open-ssl-stream}). This is
where you would put a @samp{SOCKS} wrapper for instance.
@item nntp-address
......@@ -12977,7 +12937,7 @@ The address of the @acronym{NNTP} server.
@vindex nntp-port-number
Port number to connect to the @acronym{NNTP} server. The default is
@samp{nntp}. If you use @acronym{NNTP} over
@acronym{tls}/@acronym{ssl}, you may want to use integer ports rather
@acronym{TLS}/@acronym{SSL}, you may want to use integer ports rather
than named ports (i.e, use @samp{563} instead of @samp{snews} or
@samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may
not work with named ports.
......
......@@ -839,13 +839,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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment