diff options
| author | Glenn Morris | 2019-03-05 22:15:02 -0800 |
|---|---|---|
| committer | Glenn Morris | 2019-03-05 22:15:02 -0800 |
| commit | 4fd20e66ab0337f9bc2ef3d0ab5d4d28da066c11 (patch) | |
| tree | df98d3d5ec647e08dd2cabbcb0c70e6cf4319bcb /doc/misc | |
| parent | a23ff0ca03a6d57c22d56662bf636b8b98671543 (diff) | |
| download | emacs-4fd20e66ab0337f9bc2ef3d0ab5d4d28da066c11.tar.gz emacs-4fd20e66ab0337f9bc2ef3d0ab5d4d28da066c11.zip | |
Remove etc/GNUS-NEWS (bug#34662)
It is not relevant since Gnus stopped being distributed separately.
* etc/GNUS-NEWS: Remove this generated file.
* etc/NEWS.26: Relocate an entry mistakenly added to GNUS-NEWS.
* doc/misc/gnus-coding.texi (Gnus Maintenance Guide):
No longer mention GNUS-NEWS.
* doc/misc/gnus-news.el: Remove.
* doc/misc/gnus-news.texi: Update a comment.
* lisp/Makefile.in (update-gnus-news): Remove this phony target.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/gnus-coding.texi | 8 | ||||
| -rw-r--r-- | doc/misc/gnus-news.el | 115 | ||||
| -rw-r--r-- | doc/misc/gnus-news.texi | 3 |
3 files changed, 1 insertions, 125 deletions
diff --git a/doc/misc/gnus-coding.texi b/doc/misc/gnus-coding.texi index 95544628f79..f3e96a0cb63 100644 --- a/doc/misc/gnus-coding.texi +++ b/doc/misc/gnus-coding.texi | |||
| @@ -362,14 +362,6 @@ such multiple commits, like whitespace differences, and unify those ;-). | |||
| 362 | 362 | ||
| 363 | @section Miscellanea | 363 | @section Miscellanea |
| 364 | 364 | ||
| 365 | @heading @file{GNUS-NEWS} | ||
| 366 | |||
| 367 | The @file{etc/GNUS-NEWS} is created from | ||
| 368 | @file{doc/misc/gnus-news.texi}. Don't edit @file{etc/GNUS-NEWS}. | ||
| 369 | Edit @file{doc/misc/gnus-news.texi}, type @command{make | ||
| 370 | update-gnus-news} in the @file{lisp} directory and commit | ||
| 371 | @file{etc/GNUS-NEWS} and @file{doc/misc/gnus-news.texi}. | ||
| 372 | |||
| 373 | @heading Conventions for version information in defcustoms | 365 | @heading Conventions for version information in defcustoms |
| 374 | 366 | ||
| 375 | For new customizable variables introduced in Oort Gnus (including the | 367 | For new customizable variables introduced in Oort Gnus (including the |
diff --git a/doc/misc/gnus-news.el b/doc/misc/gnus-news.el deleted file mode 100644 index c90269fffef..00000000000 --- a/doc/misc/gnus-news.el +++ /dev/null | |||
| @@ -1,115 +0,0 @@ | |||
| 1 | ;;; gnus-news.el --- a hack to create GNUS-NEWS from texinfo source | ||
| 2 | ;; Copyright (C) 2004-2019 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | ;; Author: Reiner Steib <Reiner.Steib@gmx.de> | ||
| 5 | ;; Keywords: tools | ||
| 6 | |||
| 7 | ;; This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 10 | ;; it under the terms of the GNU General Public License as published by | ||
| 11 | ;; the Free Software Foundation, either version 3 of the License, or | ||
| 12 | ;; (at your option) any later version. | ||
| 13 | |||
| 14 | ;; GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | ;; GNU General Public License for more details. | ||
| 18 | |||
| 19 | ;; You should have received a copy of the GNU General Public License | ||
| 20 | ;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. | ||
| 21 | |||
| 22 | ;;; Commentary: | ||
| 23 | |||
| 24 | ;;; Code: | ||
| 25 | |||
| 26 | (defvar gnus-news-header-disclaimer | ||
| 27 | "GNUS NEWS -- history of user-visible changes. | ||
| 28 | |||
| 29 | Copyright (C) 1999-2019 Free Software Foundation, Inc. | ||
| 30 | See the end of the file for license conditions. | ||
| 31 | |||
| 32 | Please send Gnus bug reports to bugs@gnus.org. | ||
| 33 | For older news, see Gnus info node \"New Features\".\n\n") | ||
| 34 | |||
| 35 | (defvar gnus-news-trailer | ||
| 36 | " | ||
| 37 | * For older news, see Gnus info node \"New Features\". | ||
| 38 | |||
| 39 | ---------------------------------------------------------------------- | ||
| 40 | |||
| 41 | This file is part of GNU Emacs. | ||
| 42 | |||
| 43 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 44 | it under the terms of the GNU General Public License as published by | ||
| 45 | the Free Software Foundation, either version 3 of the License, or | ||
| 46 | \(at your option) any later version. | ||
| 47 | |||
| 48 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 49 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 50 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 51 | GNU General Public License for more details. | ||
| 52 | |||
| 53 | You should have received a copy of the GNU General Public License | ||
| 54 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. | ||
| 55 | |||
| 56 | \nLocal variables:\nmode: outline | ||
| 57 | paragraph-separate: \"[ ]*$\"\nend:\n") | ||
| 58 | |||
| 59 | (defvar gnus-news-makeinfo-command "makeinfo") | ||
| 60 | |||
| 61 | (defvar gnus-news-fill-column 80) | ||
| 62 | |||
| 63 | (defvar gnus-news-makeinfo-switches | ||
| 64 | (concat " --no-headers --paragraph-indent=0" | ||
| 65 | " --no-validate" ;; Allow unresolved references. | ||
| 66 | " --fill-column=" (number-to-string | ||
| 67 | (+ 3 ;; will strip leading spaces later | ||
| 68 | (or gnus-news-fill-column 80))))) | ||
| 69 | |||
| 70 | (defun batch-gnus-news () | ||
| 71 | "Make GNUS-NEWS in batch mode." | ||
| 72 | (let (infile outfile) | ||
| 73 | (setq infile (car command-line-args-left) | ||
| 74 | command-line-args-left (cdr command-line-args-left) | ||
| 75 | outfile (car command-line-args-left) | ||
| 76 | command-line-args-left nil) | ||
| 77 | (if (and infile outfile) | ||
| 78 | (message "Creating `%s' from `%s'..." outfile infile) | ||
| 79 | (error "Not enough files given.")) | ||
| 80 | (gnus-news-translate-file infile outfile))) | ||
| 81 | |||
| 82 | (defun gnus-news-translate-file (infile outfile) | ||
| 83 | "Translate INFILE (texinfo) to OUTFILE (GNUS-NEWS)." | ||
| 84 | (let* ((dir (concat (or (getenv "srcdir") ".") "/")) | ||
| 85 | (infile (concat dir infile)) | ||
| 86 | (buffer (find-file-noselect (concat dir outfile)))) | ||
| 87 | (with-temp-buffer | ||
| 88 | ;; Could be done using 'texinfmt' stuff as in 'infohack.el'. | ||
| 89 | (insert | ||
| 90 | (shell-command-to-string | ||
| 91 | (concat gnus-news-makeinfo-command " " | ||
| 92 | gnus-news-makeinfo-switches " " infile))) | ||
| 93 | (goto-char (point-max)) | ||
| 94 | (delete-char -1) | ||
| 95 | (goto-char (point-min)) | ||
| 96 | (save-excursion | ||
| 97 | (while (re-search-forward "^ \\* " nil t) | ||
| 98 | (replace-match "\f\n* "))) | ||
| 99 | (save-excursion | ||
| 100 | (while (re-search-forward "^ \\* " nil t) | ||
| 101 | (replace-match "** "))) | ||
| 102 | (save-excursion | ||
| 103 | (while (re-search-forward "^ " nil t) | ||
| 104 | (replace-match ""))) | ||
| 105 | ;; Avoid '*' from @ref at beginning of line: | ||
| 106 | (save-excursion | ||
| 107 | (while (re-search-forward "^\\*Note" nil t) | ||
| 108 | (replace-match " \\&"))) | ||
| 109 | (goto-char (point-min)) | ||
| 110 | (insert gnus-news-header-disclaimer) | ||
| 111 | (goto-char (point-max)) | ||
| 112 | (insert gnus-news-trailer) | ||
| 113 | (write-region (point-min) (point-max) outfile)))) | ||
| 114 | |||
| 115 | ;;; gnus-news.el ends here | ||
diff --git a/doc/misc/gnus-news.texi b/doc/misc/gnus-news.texi index 9bf8d190416..707c6dd4104 100644 --- a/doc/misc/gnus-news.texi +++ b/doc/misc/gnus-news.texi | |||
| @@ -13,8 +13,7 @@ | |||
| 13 | @c carry prominent notices stating who last changed them. | 13 | @c carry prominent notices stating who last changed them. |
| 14 | 14 | ||
| 15 | @c This file contains a list of news features Gnus. It is supposed to be | 15 | @c This file contains a list of news features Gnus. It is supposed to be |
| 16 | @c included in 'gnus.texi'. 'GNUS-NEWS' is automatically generated from | 16 | @c included in 'gnus.texi'. |
| 17 | @c this file (see 'gnus-news.el'). | ||
| 18 | 17 | ||
| 19 | @itemize @bullet | 18 | @itemize @bullet |
| 20 | 19 | ||