From e1c6add857648f2708ffc548df6458e2a49baeef Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Tue, 6 Jan 2004 21:51:24 +0000 Subject: [PATCH] * gnus-news.texi, gnus-news.el: New files. * Makefile.in: Use `gnus-news.*' to create GNUS-NEWS. * gnus.texi (No Gnus): New node. Includes `gnus-news.texi'. --- texi/ChangeLog | 6 +++ texi/Makefile.in | 8 ++++ texi/gnus-news.el | 109 ++++++++++++++++++++++++++++++++++++++++++++ texi/gnus-news.texi | 58 +++++++++++++++++++++++ texi/gnus.texi | 18 ++++++++ 5 files changed, 199 insertions(+) create mode 100644 texi/gnus-news.el create mode 100644 texi/gnus-news.texi diff --git a/texi/ChangeLog b/texi/ChangeLog index f89f9496a..b85084cbe 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -2,6 +2,12 @@ * gnus.texi (SpamOracle): Fixed typo. + * gnus-news.texi, gnus-news.el: New files. + + * Makefile.in: Use `gnus-news.*' to create GNUS-NEWS. + + * gnus.texi (No Gnus): New node. Includes `gnus-news.texi'. + 2004-01-05 Lars Magne Ingebrigtsen * gnus.texi: Fix the last commit. diff --git a/texi/Makefile.in b/texi/Makefile.in index a0e124497..f33e109e5 100644 --- a/texi/Makefile.in +++ b/texi/Makefile.in @@ -34,6 +34,14 @@ most: texi2latex.elc latex latexps $(EMACSINFO) $<; \ fi +# Files included in gnus.texi +gnus.texi: gnus-faq.texi gnus-news.texi + +# FIXME: Target should be in parent directory. A cvs commit script could +# automatically create it. +GNUS-NEWS: gnus-news.texi + $(EMACSCOMP) -l $(srcdir)/gnus-news.el -f batch-gnus-news $< $@ + dvi: gnus.dvi message.dvi refcard.dvi emacs-mime.dvi sieve.dvi pgg.dvi sasl.dvi pdf: gnus.pdf message.pdf refcard.pdf emacs-mime.pdf sieve.pdf pgg.pdf sasl.pdf diff --git a/texi/gnus-news.el b/texi/gnus-news.el new file mode 100644 index 000000000..67c101f87 --- /dev/null +++ b/texi/gnus-news.el @@ -0,0 +1,109 @@ +;;; gnus-news.el --- a hack to create GNUS-NEWS from texinfo source +;; Copyright (C) 2004 Free Software Foundation, Inc. + +;; Author: Reiner Steib +;; Keywords: tools + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Commentary: + +;;; Code: + +(defvar gnus-news-header-disclaimer +"GNUS NEWS -- history of user-visible changes. +Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +See the end for copying conditions. + +Please send Gnus bug reports to bugs\@gnus.org. + + +* Changes in No Gnus + +") + +(defvar gnus-news-trailer +" +* For older news, see Gnus info node \"New Features\". + +---------------------------------------------------------------------- +Copyright information: + +Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + + Permission is granted to anyone to make or distribute verbatim copies + of this document as received, in any medium, provided that the + copyright notice and this permission notice are preserved, + thus giving the recipient permission to redistribute in turn. + + Permission is granted to distribute modified versions + of this document, or of portions of it, + under the above conditions, provided also that they + carry prominent notices stating who last changed them. + \nLocal variables:\nmode: outline +paragraph-separate: \"[ ]*$\"\nend:\n") + +(defvar gnus-news-makeinfo-command "makeinfo") + +(defvar gnus-news-fill-column 72) + +(defvar gnus-news-makeinfo-switches + (concat " --no-headers --paragraph-indent=0" + " --fill-column=" (number-to-string + (+ 3 ;; will strip leading spaces later + (or gnus-news-fill-column 80))))) + +(defun batch-gnus-news () + "Make GNUS-NEWS in batch mode." + (let (infile outfile) + (setq infile (car command-line-args-left) + command-line-args-left (cdr command-line-args-left) + outfile (car command-line-args-left) + command-line-args-left nil) + (if (and infile outfile) + (message "Creating `%s' from `%s'..." outfile infile) + (error "Not enough files given.")) + (gnus-news-translate-file infile outfile))) + +(defun gnus-news-translate-file (infile outfile) + "Translate INFILE (texinfo) to OUTFILE (GNUS-NEWS)." + (let* ((dir (concat (or (getenv "srcdir") ".") "/")) + (infile (concat dir infile)) + (buffer (find-file-noselect (concat dir outfile)))) + (with-temp-buffer + ;; Could be done using `texinfmt' stuff as in `infohack.el'. + (insert + (shell-command-to-string + (concat gnus-news-makeinfo-command " " + gnus-news-makeinfo-switches " " infile))) + (goto-char (point-max)) + (delete-char -1) + (goto-char (point-min)) + (save-excursion + (while (re-search-forward "^ \\* " nil t) + (replace-match "** "))) + (save-excursion + (while (re-search-forward "^ " nil t) + (replace-match ""))) + (goto-char (point-min)) + (insert gnus-news-header-disclaimer) + (goto-char (point-max)) + (insert gnus-news-trailer) + (write-region (point-min) (point-max) outfile)))) + +;;; gnus-news.el ends here diff --git a/texi/gnus-news.texi b/texi/gnus-news.texi new file mode 100644 index 000000000..4f0ac5210 --- /dev/null +++ b/texi/gnus-news.texi @@ -0,0 +1,58 @@ +@c -*-texinfo-*- + +@c Copyright (C) 2004 Free Software Foundation, Inc. + +@c Permission is granted to anyone to make or distribute verbatim copies +@c of this document as received, in any medium, provided that the +@c copyright notice and this permission notice are preserved, +@c thus giving the recipient permission to redistribute in turn. + +@c Permission is granted to distribute modified versions +@c of this document, or of portions of it, +@c under the above conditions, provided also that they +@c carry prominent notices stating who last changed them. + +This file contains a list of news features Gnus. It is supposed to be +included in `gnus.texi'. `GNUS-NEWS' is automatically generated from +this file (see `gnus-news.el'). + +@itemize @bullet + +@item @acronym{ANSI} @acronym{SGR} control sequences can be transformed +using @kbd{W A}. + +@acronym{ANSI} sequences are used in some Chinese hierarchies for +highlighting articles (@code{gnus-article-treat-ansi-sequences}). + +@item Gnus includes an Emacs Lisp @acronym{SASL} library. + +This provide a clean @acronym{API} to @acronym{SASL} mechanisms from +within Emacs. The user visible aspects of this, compared to the earlier +situation, include support for @acronym{DIGEST}-@acronym{MD5} and +@acronym{NTLM}. + +@item ManageSieve connections uses the @acronym{SASL} library by default. + +The primary change this brings is support for @acronym{DIGEST-MD5} and +@acronym{NTLM}, when the server support it. + +@item Gnus include a password cache mechanism in password.el. + +It is enabled by default (see @code{password-cache}), with a short +timeout of 16 seconds (see @code{password-cache-expiry}). If +@acronym{PGG} is used as the @acronym{PGP} backend, the @acronym{PGP} +passphrase is managed by this mechanism. Passwords for ManageSieve +connections are managed by this mechanism, after quering the user about +whether to do so. + +@item @acronym{IMAP} identity (@acronym{RFC} 2971) is supported. + +By default, Gnus do not send any information about itself, but you can +customize it using @code{nnimap-id}. + +@item The @file{all.SCORE} file can now be edited from the group buffer +using @kbd{W e}. + +@end itemize + +@c gnus-news.texi ends here. diff --git a/texi/gnus.texi b/texi/gnus.texi index c4ce2a41c..1ba5da9b8 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -927,6 +927,7 @@ New Features * Quassia Gnus:: Two times two is four, or Gnus 5.6/5.7. * Pterodactyl Gnus:: Pentad also starts with P, AKA Gnus 5.8/5.9. * Oort Gnus:: It's big. It's far out. Gnus 5.10. +* No Gnus:: Lars, FIXME! Customization @@ -8566,6 +8567,13 @@ Treat HZ or HZP (@code{gnus-article-decode-HZ}). HZ (or HZP) is one common encoding employed when sending Chinese articles. It typically makes strings look like @samp{~@{<:Ky2;S@{#,NpJ)l6HK!#~@}}. +@item W A +@kindex W A (Summary) +@findex gnus-article-treat-ansi-sequences +Translate ANSI SGR control sequences into overlays or extents +(@code{gnus-article-treat-ansi-sequences}). ANSI sequences are used in +some Chinese hierarchies for highlighting. + @item W u @kindex W u (Summary) @findex gnus-article-unsplit-urls @@ -24946,6 +24954,7 @@ actually are people who are using Gnus. Who'd'a thunk it! * Quassia Gnus:: Two times two is four, or Gnus 5.6/5.7. * Pterodactyl Gnus:: Pentad also starts with P, AKA Gnus 5.8/5.9. * Oort Gnus:: It's big. It's far out. Gnus 5.10. +* No Gnus:: Lars, FIXME! @end menu These lists are, of course, just @emph{short} overviews of the @@ -26222,6 +26231,15 @@ used when forwarding signed or encrypted messages, as the conversion invalidate the digital signature. @end itemize +@node No Gnus +@subsubsection No Gnus +@cindex No Gnus + +New features in No Gnus: +@c FIXME: Gnus 5.12? + +@include gnus-news.texi + @iftex @page -- 2.25.1