diff options
| author | Miles Bader | 2009-01-19 01:06:25 +0000 |
|---|---|---|
| committer | Miles Bader | 2009-01-19 01:06:25 +0000 |
| commit | 26b9f88d281b3cb45d5a29ba1acfeb34560a9329 (patch) | |
| tree | dcd005f77acb85d674644a5ecea6ff6a720fdd6d | |
| parent | b4be61217a6638267e2cb57b5cc926bfd8e5915a (diff) | |
| download | emacs-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/ChangeLog | 11 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 96 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnmail.el | 9 |
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 @@ | |||
| 1 | 2009-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 | |||
| 7 | 2009-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 | |||
| 1 | 2009-01-17 Peter Tury <tury.peter@gmail.com> (tiny change) | 12 | 2009-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 | ||
| 4314 | There is one more important variable for non-@acronym{ASCII} group | 4314 | There is one more important variable for non-@acronym{ASCII} group |
| 4315 | names. @emph{XEmacs users must set this}. Emacs users necessarily need | 4315 | names: |
| 4316 | not do: | ||
| 4317 | 4316 | ||
| 4318 | @table @code | 4317 | @table @code |
| 4319 | @item nnmail-pathname-coding-system | 4318 | @item nnmail-pathname-coding-system |
| 4320 | The 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 | 4320 | The value of this variable should be a coding system or @code{nil}. The |
| 4322 | end, the @acronym{NNTP} marks feature (@pxref{NNTP marks}), the agent, | 4321 | default is @code{nil} in Emacs, or is the aliasee of the coding system |
| 4323 | and the cache use non-@acronym{ASCII} group names in those files and | 4322 | named @code{file-name} (a certain coding system of which an alias is |
| 4324 | directories. 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 | |
| 4326 | when encoding and decoding those file names and directory names. | 4325 | The @code{nnml} back end, the @code{nnrss} back end, the @acronym{NNTP} |
| 4326 | marks feature (@pxref{NNTP marks}), the agent, and the cache use | ||
| 4327 | non-@acronym{ASCII} group names in those files and directories. This | ||
| 4328 | variable overrides the value of @code{file-name-coding-system} which | ||
| 4329 | specifies the coding system used when encoding and decoding those file | ||
| 4330 | names and directory names. | ||
| 4327 | 4331 | ||
| 4328 | In XEmacs (with the @code{mule} feature), @code{file-name-coding-system} | 4332 | In XEmacs (with the @code{mule} feature), @code{file-name-coding-system} |
| 4329 | is the only means to specify the coding system used to encode and decode | 4333 | is the only means to specify the coding system used to encode and decode |
| 4330 | file names. Therefore, @emph{you, XEmacs users, have to set it} to the | 4334 | file names. On the other hand, Emacs uses the value of |
| 4331 | coding system that is suitable to encode and decode non-@acronym{ASCII} | ||
| 4332 | group 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} |
| 4334 | is @code{nil}. Normally the value of | 4336 | is @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}. |
| 4336 | locale, so you will need to do nothing if the value is suitable to | 4338 | |
| 4337 | encode and decode non-@acronym{ASCII} group names. | 4339 | Normally the value of @code{default-file-name-coding-system} in Emacs or |
| 4340 | @code{nnmail-pathname-coding-system} in XEmacs is initialized according | ||
| 4341 | to the locale, so you will need to do nothing if the value is suitable | ||
| 4342 | to encode and decode non-@acronym{ASCII} group names. | ||
| 4338 | 4343 | ||
| 4339 | The value of this variable (or @code{default-file-name-coding-system}) | 4344 | The value of this variable (or @code{default-file-name-coding-system}) |
| 4340 | does not necessarily need to be the same value that is determined by | 4345 | does 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 | ||
| 4344 | If you want to subscribe to the groups spelled in Chinese but | 4349 | If @code{default-file-name-coding-system} or this variable is |
| 4345 | @code{default-file-name-coding-system} is initialized by default to | 4350 | initialized 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 | 4351 | want to subscribe to the groups spelled in Chinese, that is the most |
| 4347 | have to set @code{nnmail-pathname-coding-system} even if you are an | 4352 | typical case where you have to customize |
| 4348 | Emacs 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 |
| 4349 | Otherwise, you may change the locale in your system so that | 4354 | a good candidate for it. Otherwise, you may change the locale in your |
| 4350 | @code{default-file-name-coding-system} may be initialized to an | 4355 | system so that @code{default-file-name-coding-system} or this variable |
| 4351 | appropriate value, instead of specifying this variable. | 4356 | may be initialized to an appropriate value. |
| 4352 | @end table | 4357 | @end table |
| 4353 | 4358 | ||
| 4354 | Note that when you copy or move articles from a non-@acronym{ASCII} | 4359 | Note 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 | |||
| 7312 | commands have is to remove a few (or many) articles from the summary | 7317 | commands have is to remove a few (or many) articles from the summary |
| 7313 | buffer. | 7318 | buffer. |
| 7314 | 7319 | ||
| 7315 | All limiting commands work on subsets of the articles already fetched | 7320 | Limiting commands work on subsets of the articles already fetched from |
| 7316 | from the servers. None of these commands query the server for | 7321 | the servers. These commands don't query the server for additional |
| 7317 | additional articles. | 7322 | articles. |
| 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, |
| 7476 | also mark excluded ticked and dormant articles as read. | 7481 | also mark excluded ticked and dormant articles as read. |
| 7477 | 7482 | ||
| 7478 | @item / N | ||
| 7479 | @kindex / N (Summary) | ||
| 7480 | @findex gnus-summary-insert-new-articles | ||
| 7481 | Insert all new articles in the summary buffer. It scans for new emails | ||
| 7482 | if @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 | ||
| 7487 | Insert all old articles in the summary buffer. If given a numbered | ||
| 7488 | prefix, 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 | ||
| 7500 | The following commands aren't limiting commands, but use the @kbd{/} | ||
| 7501 | prefix as well. | ||
| 7502 | |||
| 7503 | @table @kbd | ||
| 7504 | @item / N | ||
| 7505 | @kindex / N (Summary) | ||
| 7506 | @findex gnus-summary-insert-new-articles | ||
| 7507 | Insert all new articles in the summary buffer. It scans for new emails | ||
| 7508 | if @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 | ||
| 7513 | Insert all old articles in the summary buffer. If given a numbered | ||
| 7514 | prefix, 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 |
| 17618 | names containing non-@acronym{ASCII} characters will be encoded by the | 17630 | names containing non-@acronym{ASCII} characters will be encoded by the |
| 17619 | coding system specified with the @code{nnmail-pathname-coding-system} | 17631 | coding system specified with the @code{nnmail-pathname-coding-system} |
| 17620 | variable. If it is @code{nil}, in Emacs the coding system defaults to | 17632 | variable or other. Also @xref{Non-ASCII Group Names}, for more |
| 17621 | the value of @code{default-file-name-coding-system}. If you are using | 17633 | information. |
| 17622 | XEmacs and want to use non-@acronym{ASCII} group names, you should set | ||
| 17623 | the value for the @code{nnmail-pathname-coding-system} variable properly. | ||
| 17624 | 17634 | ||
| 17625 | The @code{nnrss} back end generates @samp{multipart/alternative} | 17635 | The @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 @@ | |||
| 1 | 2009-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 | |||
| 6 | 2009-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 | |||
| 1 | 2009-01-14 Katsumi Yamaoka <yamaoka@jpl.org> | 11 | 2009-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) |