Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
26b9f88d
Commit
26b9f88d
authored
Jan 19, 2009
by
Miles Bader
Browse files
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1520
parent
b4be6121
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
83 additions
and
45 deletions
+83
-45
doc/misc/ChangeLog
doc/misc/ChangeLog
+11
-0
doc/misc/gnus.texi
doc/misc/gnus.texi
+53
-43
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+10
-0
lisp/gnus/auth-source.el
lisp/gnus/auth-source.el
+1
-1
lisp/gnus/nnmail.el
lisp/gnus/nnmail.el
+8
-1
No files found.
doc/misc/ChangeLog
View file @
26b9f88d
2009-01-19 Reiner Steib <Reiner.Steib@gmx.de>
* gnus.texi (Limiting): `/ N' and `/ o' are not really limiting
commands as described at the top. Reported by Allan Gottlieb
<gottlieb@nyu.edu>.
2009-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus.texi (Non-ASCII Group Names, RSS): Update description of
nnmail-pathname-coding-system.
2009-01-17 Peter Tury <tury.peter@gmail.com> (tiny change)
* org.texi (Relative timer): Fix typo.
...
...
doc/misc/gnus.texi
View file @
26b9f88d
...
...
@@ -4312,43 +4312,48 @@ all be @code{utf-8} because of the last element of
@code{gnus-group-name-charset-group-alist}.
There is one more important variable for non-@acronym{ASCII} group
names. @emph{XEmacs users must set this}. Emacs users necessarily need
not do:
names:
@table @code
@item nnmail-pathname-coding-system
The value of this variable should be a coding system or @code{nil}
(which is the default). The @code{nnml} back end, the @code{nnrss} back
end, the @acronym{NNTP} marks feature (@pxref{NNTP marks}), the agent,
and the cache use non-@acronym{ASCII} group names in those files and
directories. This variable overrides the value of
@code{file-name-coding-system} which specifies the coding system used
when encoding and decoding those file names and directory names.
@vindex nnmail-pathname-coding-system
The value of this variable should be a coding system or @code{nil}. The
default is @code{nil} in Emacs, or is the aliasee of the coding system
named @code{file-name} (a certain coding system of which an alias is
@code{file-name}) in XEmacs.
The @code{nnml} back end, the @code{nnrss} back end, the @acronym{NNTP}
marks feature (@pxref{NNTP marks}), the agent, and the cache use
non-@acronym{ASCII} group names in those files and directories. This
variable overrides the value of @code{file-name-coding-system} which
specifies the coding system used when encoding and decoding those file
names and directory names.
In XEmacs (with the @code{mule} feature), @code{file-name-coding-system}
is the only means to specify the coding system used to encode and decode
file names. Therefore, @emph{you, XEmacs users, have to set it} to the
coding system that is suitable to encode and decode non-@acronym{ASCII}
group names. On the other hand, Emacs uses the value of
file names. On the other hand, Emacs uses the value of
@code{default-file-name-coding-system} if @code{file-name-coding-system}
is @code{nil}. Normally the value of
@code{default-file-name-coding-system} is initialized according to the
locale, so you will need to do nothing if the value is suitable to
encode and decode non-@acronym{ASCII} group names.
is @code{nil} or it is bound to the value of
@code{nnmail-pathname-coding-system} which is @code{nil}.
Normally the value of @code{default-file-name-coding-system} in Emacs or
@code{nnmail-pathname-coding-system} in XEmacs is initialized according
to the locale, so you will need to do nothing if the value is suitable
to encode and decode non-@acronym{ASCII} group names.
The value of this variable (or @code{default-file-name-coding-system})
does not necessarily need to be the same value that is determined by
@code{gnus-group-name-charset-method-alist} and
@code{gnus-group-name-charset-group-alist}.
If
you want to subscribe to the groups spel
le
d
i
n Chinese but
@code{default-file-name-coding-system} is initialized by default to
@code{iso-latin-1} for example, that is the most typical case where you
have to set @code{nnmail-pathname-coding-system} even if you are an
Emacs user
. The @code{utf-8} coding system is
a good candidate for it.
Otherwise, you may change the locale in your
system so that
@code{default-file-name-coding-system}
may be initialized to an
appropriate value, instead of specifying this variabl
e.
If
@code{default-file-name-coding-system} or this variab
le i
s
initialized by default to @code{iso-latin-1} for example, although you
want to subscribe to the groups spelled in Chinese, that is the most
typical case where you have to customize
@code{nnmail-pathname-coding-system}
. The @code{utf-8} coding system is
a good candidate for it.
Otherwise, you may change the locale in your
system so that
@code{default-file-name-coding-system}
or this variable
may be initialized to an appropriate valu
e.
@end table
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
commands have is to remove a few (or many) articles from the summary
buffer.
All l
imiting commands work on subsets of the articles already fetched
from
the servers.
None of t
hese commands query the server for
additional
articles.
L
imiting commands work on subsets of the articles already fetched
from
the servers.
T
hese commands
don't
query the server for
additional
articles.
@table @kbd
...
...
@@ -7475,18 +7480,6 @@ Mark all excluded unread articles as read
(@code{gnus-summary-limit-mark-excluded-as-read}). If given a prefix,
also mark excluded ticked and dormant articles as read.
@item / N
@kindex / N (Summary)
@findex gnus-summary-insert-new-articles
Insert all new articles in the summary buffer. It scans for new emails
if @var{back-end}@code{-get-new-mail} is non-@code{nil}.
@item / o
@kindex / o (Summary)
@findex gnus-summary-insert-old-articles
Insert all old articles in the summary buffer. If given a numbered
prefix, fetch this number of articles.
@item / b
@kindex / b (Summary)
@findex gnus-summary-limit-to-bodies
...
...
@@ -7504,6 +7497,25 @@ Like the previous command, only limit to headers instead
@end table
The following commands aren't limiting commands, but use the @kbd{/}
prefix as well.
@table @kbd
@item / N
@kindex / N (Summary)
@findex gnus-summary-insert-new-articles
Insert all new articles in the summary buffer. It scans for new emails
if @var{back-end}@code{-get-new-mail} is non-@code{nil}.
@item / o
@kindex / o (Summary)
@findex gnus-summary-insert-old-articles
Insert all old articles in the summary buffer. If given a numbered
prefix, fetch this number of articles.
@end table
@node Threading
@section Threading
@cindex threading
...
...
@@ -17617,10 +17629,8 @@ The @code{nnrss} back end saves the group data file in
@code{nnrss-directory} (see below) for each @code{nnrss} group. File
names containing non-@acronym{ASCII} characters will be encoded by the
coding system specified with the @code{nnmail-pathname-coding-system}
variable. If it is @code{nil}, in Emacs the coding system defaults to
the value of @code{default-file-name-coding-system}. If you are using
XEmacs and want to use non-@acronym{ASCII} group names, you should set
the value for the @code{nnmail-pathname-coding-system} variable properly.
variable or other. Also @xref{Non-ASCII Group Names}, for more
information.
The @code{nnrss} back end generates @samp{multipart/alternative}
@acronym{MIME} articles in which each contains a @samp{text/plain} part
lisp/gnus/ChangeLog
View file @
26b9f88d
2009-01-16 Teodor Zlatanov <tzz@lifelogs.com>
* auth-source.el: Update docs to reflect epa-file-enable is to be used
now.
2009-01-16 Katsumi Yamaoka <yamaoka@jpl.org>
* nnmail.el (nnmail-pathname-coding-system): Default to the `file-name'
coding system in XEmacs; add a workaround for XEmacs.
2009-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-util.el (mm-coding-system-priorities): Protect against nil value
...
...
lisp/gnus/auth-source.el
View file @
26b9f88d
...
...
@@ -35,7 +35,7 @@
;; if you want encrypted sources, which is strongly recommended, do
;; (require 'epa-file)
;; (epa-file-
mod
e)
;; (epa-file-
enabl
e)
;; (setq epa-file-cache-passphrase-for-symmetric-encryption t) ; VERY important
;; before you put some data in ~/.authinfo.gpg (the default place)
...
...
lisp/gnus/nnmail.el
View file @
26b9f88d
...
...
@@ -628,7 +628,14 @@ using different case (i.e. mailing-list@domain vs Mailing-List@Domain)."
mm-text-coding-system
"Coding system used in reading inbox")
(defvar nnmail-pathname-coding-system nil
(defvar nnmail-pathname-coding-system
;; This causes Emacs 22.2 and 22.3 to issue a useless warning.
;;(if (and (featurep 'xemacs) (featurep 'file-coding))
(if (featurep 'xemacs)
(if (featurep 'file-coding)
;; Work around a bug in many XEmacs 21.5 betas.
;; Cf. http://thread.gmane.org/gmane.emacs.gnus.general/68134
(setq file-name-coding-system (coding-system-aliasee 'file-name))))
"*Coding system for file name.")
(defun nnmail-find-file (file)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment