aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2009-01-19 01:06:25 +0000
committerMiles Bader2009-01-19 01:06:25 +0000
commit26b9f88d281b3cb45d5a29ba1acfeb34560a9329 (patch)
treedcd005f77acb85d674644a5ecea6ff6a720fdd6d
parentb4be61217a6638267e2cb57b5cc926bfd8e5915a (diff)
downloademacs-26b9f88d281b3cb45d5a29ba1acfeb34560a9329.tar.gz
emacs-26b9f88d281b3cb45d5a29ba1acfeb34560a9329.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1520
-rw-r--r--doc/misc/ChangeLog11
-rw-r--r--doc/misc/gnus.texi96
-rw-r--r--lisp/gnus/ChangeLog10
-rw-r--r--lisp/gnus/auth-source.el2
-rw-r--r--lisp/gnus/nnmail.el9
5 files changed, 83 insertions, 45 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 1ae92295c00..5533d73b176 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,14 @@
12009-01-19 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * gnus.texi (Limiting): `/ N' and `/ o' are not really limiting
4 commands as described at the top. Reported by Allan Gottlieb
5 <gottlieb@nyu.edu>.
6
72009-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
8
9 * gnus.texi (Non-ASCII Group Names, RSS): Update description of
10 nnmail-pathname-coding-system.
11
12009-01-17 Peter Tury <tury.peter@gmail.com> (tiny change) 122009-01-17 Peter Tury <tury.peter@gmail.com> (tiny change)
2 13
3 * org.texi (Relative timer): Fix typo. 14 * org.texi (Relative timer): Fix typo.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 6227831cf15..b4ceb358957 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -4312,43 +4312,48 @@ all be @code{utf-8} because of the last element of
4312@code{gnus-group-name-charset-group-alist}. 4312@code{gnus-group-name-charset-group-alist}.
4313 4313
4314There is one more important variable for non-@acronym{ASCII} group 4314There is one more important variable for non-@acronym{ASCII} group
4315names. @emph{XEmacs users must set this}. Emacs users necessarily need 4315names:
4316not do:
4317 4316
4318@table @code 4317@table @code
4319@item nnmail-pathname-coding-system 4318@item nnmail-pathname-coding-system
4320The value of this variable should be a coding system or @code{nil} 4319@vindex nnmail-pathname-coding-system
4321(which is the default). The @code{nnml} back end, the @code{nnrss} back 4320The value of this variable should be a coding system or @code{nil}. The
4322end, the @acronym{NNTP} marks feature (@pxref{NNTP marks}), the agent, 4321default is @code{nil} in Emacs, or is the aliasee of the coding system
4323and the cache use non-@acronym{ASCII} group names in those files and 4322named @code{file-name} (a certain coding system of which an alias is
4324directories. This variable overrides the value of 4323@code{file-name}) in XEmacs.
4325@code{file-name-coding-system} which specifies the coding system used 4324
4326when encoding and decoding those file names and directory names. 4325The @code{nnml} back end, the @code{nnrss} back end, the @acronym{NNTP}
4326marks feature (@pxref{NNTP marks}), the agent, and the cache use
4327non-@acronym{ASCII} group names in those files and directories. This
4328variable overrides the value of @code{file-name-coding-system} which
4329specifies the coding system used when encoding and decoding those file
4330names and directory names.
4327 4331
4328In XEmacs (with the @code{mule} feature), @code{file-name-coding-system} 4332In XEmacs (with the @code{mule} feature), @code{file-name-coding-system}
4329is the only means to specify the coding system used to encode and decode 4333is the only means to specify the coding system used to encode and decode
4330file names. Therefore, @emph{you, XEmacs users, have to set it} to the 4334file names. On the other hand, Emacs uses the value of
4331coding system that is suitable to encode and decode non-@acronym{ASCII}
4332group names. On the other hand, Emacs uses the value of
4333@code{default-file-name-coding-system} if @code{file-name-coding-system} 4335@code{default-file-name-coding-system} if @code{file-name-coding-system}
4334is @code{nil}. Normally the value of 4336is @code{nil} or it is bound to the value of
4335@code{default-file-name-coding-system} is initialized according to the 4337@code{nnmail-pathname-coding-system} which is @code{nil}.
4336locale, so you will need to do nothing if the value is suitable to 4338
4337encode and decode non-@acronym{ASCII} group names. 4339Normally the value of @code{default-file-name-coding-system} in Emacs or
4340@code{nnmail-pathname-coding-system} in XEmacs is initialized according
4341to the locale, so you will need to do nothing if the value is suitable
4342to encode and decode non-@acronym{ASCII} group names.
4338 4343
4339The value of this variable (or @code{default-file-name-coding-system}) 4344The value of this variable (or @code{default-file-name-coding-system})
4340does not necessarily need to be the same value that is determined by 4345does not necessarily need to be the same value that is determined by
4341@code{gnus-group-name-charset-method-alist} and 4346@code{gnus-group-name-charset-method-alist} and
4342@code{gnus-group-name-charset-group-alist}. 4347@code{gnus-group-name-charset-group-alist}.
4343 4348
4344If you want to subscribe to the groups spelled in Chinese but 4349If @code{default-file-name-coding-system} or this variable is
4345@code{default-file-name-coding-system} is initialized by default to 4350initialized by default to @code{iso-latin-1} for example, although you
4346@code{iso-latin-1} for example, that is the most typical case where you 4351want to subscribe to the groups spelled in Chinese, that is the most
4347have to set @code{nnmail-pathname-coding-system} even if you are an 4352typical case where you have to customize
4348Emacs user. The @code{utf-8} coding system is a good candidate for it. 4353@code{nnmail-pathname-coding-system}. The @code{utf-8} coding system is
4349Otherwise, you may change the locale in your system so that 4354a good candidate for it. Otherwise, you may change the locale in your
4350@code{default-file-name-coding-system} may be initialized to an 4355system so that @code{default-file-name-coding-system} or this variable
4351appropriate value, instead of specifying this variable. 4356may be initialized to an appropriate value.
4352@end table 4357@end table
4353 4358
4354Note that when you copy or move articles from a non-@acronym{ASCII} 4359Note that when you copy or move articles from a non-@acronym{ASCII}
@@ -7312,9 +7317,9 @@ subset of the articles currently in the group. The effect most limit
7312commands have is to remove a few (or many) articles from the summary 7317commands have is to remove a few (or many) articles from the summary
7313buffer. 7318buffer.
7314 7319
7315All limiting commands work on subsets of the articles already fetched 7320Limiting commands work on subsets of the articles already fetched from
7316from the servers. None of these commands query the server for 7321the servers. These commands don't query the server for additional
7317additional articles. 7322articles.
7318 7323
7319@table @kbd 7324@table @kbd
7320 7325
@@ -7475,18 +7480,6 @@ Mark all excluded unread articles as read
7475(@code{gnus-summary-limit-mark-excluded-as-read}). If given a prefix, 7480(@code{gnus-summary-limit-mark-excluded-as-read}). If given a prefix,
7476also mark excluded ticked and dormant articles as read. 7481also mark excluded ticked and dormant articles as read.
7477 7482
7478@item / N
7479@kindex / N (Summary)
7480@findex gnus-summary-insert-new-articles
7481Insert all new articles in the summary buffer. It scans for new emails
7482if @var{back-end}@code{-get-new-mail} is non-@code{nil}.
7483
7484@item / o
7485@kindex / o (Summary)
7486@findex gnus-summary-insert-old-articles
7487Insert all old articles in the summary buffer. If given a numbered
7488prefix, fetch this number of articles.
7489
7490@item / b 7483@item / b
7491@kindex / b (Summary) 7484@kindex / b (Summary)
7492@findex gnus-summary-limit-to-bodies 7485@findex gnus-summary-limit-to-bodies
@@ -7504,6 +7497,25 @@ Like the previous command, only limit to headers instead
7504@end table 7497@end table
7505 7498
7506 7499
7500The following commands aren't limiting commands, but use the @kbd{/}
7501prefix as well.
7502
7503@table @kbd
7504@item / N
7505@kindex / N (Summary)
7506@findex gnus-summary-insert-new-articles
7507Insert all new articles in the summary buffer. It scans for new emails
7508if @var{back-end}@code{-get-new-mail} is non-@code{nil}.
7509
7510@item / o
7511@kindex / o (Summary)
7512@findex gnus-summary-insert-old-articles
7513Insert all old articles in the summary buffer. If given a numbered
7514prefix, fetch this number of articles.
7515
7516@end table
7517
7518
7507@node Threading 7519@node Threading
7508@section Threading 7520@section Threading
7509@cindex threading 7521@cindex threading
@@ -17617,10 +17629,8 @@ The @code{nnrss} back end saves the group data file in
17617@code{nnrss-directory} (see below) for each @code{nnrss} group. File 17629@code{nnrss-directory} (see below) for each @code{nnrss} group. File
17618names containing non-@acronym{ASCII} characters will be encoded by the 17630names containing non-@acronym{ASCII} characters will be encoded by the
17619coding system specified with the @code{nnmail-pathname-coding-system} 17631coding system specified with the @code{nnmail-pathname-coding-system}
17620variable. If it is @code{nil}, in Emacs the coding system defaults to 17632variable or other. Also @xref{Non-ASCII Group Names}, for more
17621the value of @code{default-file-name-coding-system}. If you are using 17633information.
17622XEmacs and want to use non-@acronym{ASCII} group names, you should set
17623the value for the @code{nnmail-pathname-coding-system} variable properly.
17624 17634
17625The @code{nnrss} back end generates @samp{multipart/alternative} 17635The @code{nnrss} back end generates @samp{multipart/alternative}
17626@acronym{MIME} articles in which each contains a @samp{text/plain} part 17636@acronym{MIME} articles in which each contains a @samp{text/plain} part
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 02d038033d5..a14302c32ca 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,13 @@
12009-01-16 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * auth-source.el: Update docs to reflect epa-file-enable is to be used
4 now.
5
62009-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
7
8 * nnmail.el (nnmail-pathname-coding-system): Default to the `file-name'
9 coding system in XEmacs; add a workaround for XEmacs.
10
12009-01-14 Katsumi Yamaoka <yamaoka@jpl.org> 112009-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
2 12
3 * mm-util.el (mm-coding-system-priorities): Protect against nil value 13 * mm-util.el (mm-coding-system-priorities): Protect against nil value
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 23c37abe06d..27de702b976 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -35,7 +35,7 @@
35 35
36;; if you want encrypted sources, which is strongly recommended, do 36;; if you want encrypted sources, which is strongly recommended, do
37;; (require 'epa-file) 37;; (require 'epa-file)
38;; (epa-file-mode) 38;; (epa-file-enable)
39;; (setq epa-file-cache-passphrase-for-symmetric-encryption t) ; VERY important 39;; (setq epa-file-cache-passphrase-for-symmetric-encryption t) ; VERY important
40 40
41;; before you put some data in ~/.authinfo.gpg (the default place) 41;; before you put some data in ~/.authinfo.gpg (the default place)
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el
index e59e16b1d74..47c509f68cf 100644
--- a/lisp/gnus/nnmail.el
+++ b/lisp/gnus/nnmail.el
@@ -628,7 +628,14 @@ using different case (i.e. mailing-list@domain vs Mailing-List@Domain)."
628 mm-text-coding-system 628 mm-text-coding-system
629 "Coding system used in reading inbox") 629 "Coding system used in reading inbox")
630 630
631(defvar nnmail-pathname-coding-system nil 631(defvar nnmail-pathname-coding-system
632 ;; This causes Emacs 22.2 and 22.3 to issue a useless warning.
633 ;;(if (and (featurep 'xemacs) (featurep 'file-coding))
634 (if (featurep 'xemacs)
635 (if (featurep 'file-coding)
636 ;; Work around a bug in many XEmacs 21.5 betas.
637 ;; Cf. http://thread.gmane.org/gmane.emacs.gnus.general/68134
638 (setq file-name-coding-system (coding-system-aliasee 'file-name))))
632 "*Coding system for file name.") 639 "*Coding system for file name.")
633 640
634(defun nnmail-find-file (file) 641(defun nnmail-find-file (file)