]> code.delx.au - gnu-emacs/commitdiff
Merge calc news from lisp/calc/README into etc/NEWS files
authorGlenn Morris <rgm@gnu.org>
Fri, 1 Feb 2013 03:51:08 +0000 (19:51 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 1 Feb 2013 03:51:08 +0000 (19:51 -0800)
* doc/misc/calc.texi (Help Commands): Update calc-view-news description.

* lisp/calc/calc-help.el (calc-view-news): Use view-emacs-news.

* lisp/calc/README: Move news entries from here...
* etc/NEWS, etc/NEWS.23: ... to here

doc/misc/ChangeLog
doc/misc/calc.texi
etc/NEWS
etc/NEWS.23
lisp/ChangeLog
lisp/calc/README
lisp/calc/calc-help.el

index f139b4255e0cc540ab0e8a012a0629417d3952be..942f0fbab311264e0dee7bc045c16efd91e4afbc 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-01  Glenn Morris  <rgm@gnu.org>
+
+       * calc.texi (Help Commands): Update calc-view-news description.
+
 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
 
        * tramp.texi (Filename Syntax): Filenames must be unibyte strings.
index 5dabf5cd31413eb8643b555f82737ee2b7da220a..ff3ec06fc40f8498bf39d2f6bd8a9e022a7958a1 100644 (file)
@@ -9909,9 +9909,8 @@ listed.
 
 @kindex h n
 The @kbd{h n} or @kbd{h C-n} (@code{calc-view-news}) command displays
-the ``news'' or change history of Calc.  This is kept in the file
-@file{README}, which Calc looks for in the same directory as the Calc
-source files.
+the ``news'' or change history of Emacs, and jumps to the most recent
+portion concerning Calc (if present).
 
 @kindex h C-c
 @kindex h C-d
index 2128be01b65a830ccf5f3e7a815645a5cb3c5f38..4696d9aace6472eaa645fa8bebd5cb8998c41f8a 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -107,6 +107,8 @@ Nil, the default value, means to always use the Gregorian calendar.
 The value (YEAR MONTH DAY) means to start using the Gregorian calendar
 on the given date.
 
+*** Support for ISO 8601 dates.
+
 ** ERC
 
 *** New option `erc-accidental-paste-threshold-seconds'.
@@ -719,6 +721,12 @@ see the `apropos' Custom group for details.
 *** Option `Buffer-menu-buffer+size-width' is now obsolete.
 Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead.
 
+** Calc
+
+*** Algebraic simplification mode is now the default.
+To restrict to the limited simplifications given by the former
+default simplification mode, use `m I'.
+
 ** Calendar
 
 *** You can customize the header text that appears above each calendar month.
@@ -1648,6 +1656,23 @@ Use the variable `bibtex-dialect' to select different BibTeX dialects.
 *** The default browser used by the package is now the "xdg-open" program,
 on platforms that support it.  This calls your desktop's preferred browser.
 
+** Calc
+
+*** Support for musical notes.
+
+*** Support for logarithmic units.
+
+*** No longer uses the tex prefix for TeX specific unit names when
+using TeX or LaTeX mode.
+
+*** New option to highlight selections using faces.
+
+*** `calc-histogram' has the option of using a vector to determine the bins.
+
+*** New "O" option prefix.
+
+*** Use the "O" prefix to "d r" (`calc-radix') to turn on twos-complement mode.
+
 ** Calendar, Diary, and Appt
 
 *** Diary entries can contain non-printing "comments".
index eaef3220d41e85c6d78d9b3b757184dcff706484..88371c30cef0825a58b4b6e248ce793602020c9b 100644 (file)
@@ -329,6 +329,8 @@ that file exists.
 user-emacs-directory; but the old location, ~/.calc.el, is used if
 that file exists.
 
+*** New twos-complement display.
+
 *** Graphing commands (`g f' etc.) now work on MS-Windows, if you have
 the native Windows port of Gnuplot version 3.8 or later installed.
 
@@ -1372,6 +1374,30 @@ identify cited keys in BibTeX entries, used by `bibtex-find-crossref'.
 bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an
 older Emacs cannot read one saved by Emacs 23.
 
+** Calc
+
+*** `j *' (cal-sel-mult-both-sides) has an option to expand the denominator.
+
+*** `calc-embedded-word-regexp' is used for finding words in
+`calc-embedded-word' in place of delimiters.
+
+*** The separate Calc version number has been removed; use the Emacs
+version for reference.
+
+*** Support for using registers.
+
+*** Support for Yacas, Maxima and Giac languages.
+
+*** Addition of a menu.
+
+*** Logistic non-linear curves have been added to curve-fitting.
+
+*** New option to plot data points and curve when curve-fitting.
+
+*** Unit conversions are now exact when possible.
+
+*** The precedence of negation has been lowered.
+
 ** Calendar and diary
 
 *** There is a new date style, `iso', essentially year/month/day.
index c2be5f5fae46d0260d055981b0739fe199e3c849..ef5cb151aac63fba6c27683082931f6add76362c 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-01  Glenn Morris  <rgm@gnu.org>
+
+       * calc/calc-help.el (calc-view-news): Use view-emacs-news.
+
 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-tramp-file-p): Comment check for
index c44ffe5aef0ad89b945dd0bb6d9c7eecb0e79032..be5f9bdf34f0c46fcb9a64e94bf693f569141b69 100644 (file)
@@ -70,64 +70,7 @@ opinions.
 Summary of changes to "Calc"
 ------- -- ------- --  ----
 
-Emacs 24.4
-
-* The date forms use the Gregorian calendar for all dates.
-  (Previously they were a combination of Julian and Gregorian
-  dates.)  This can be configured with the customizable variable
-  `calc-gregorian-switch'.
-
-* Support for ISO 8601 dates added.
-Emacs 24.3
-
-* Algebraic simplification mode is now the default.
-  To restrict to the limited simplifications given by the former
-  default simplification mode, use `m I'.
-
-Emacs 24.1
-
-* Support for musical notes added.
-
-* Support for logarithmic units added.
-
-* Calc no longer uses the tex prefix for TeX specific unit 
-names when using TeX or LaTeX mode.
-
-* Added option to highlight selections using faces.
-
-* Gave `calc-histogram' the option of using a vector to determine the bins.
-
-* Added "O" option prefix.
-
-* Used "O" prefix to "d r" (`calc-radix') to turn on twos-complement mode.
-
-Emacs 23.2
-
-* Added twos-complement display.
-
-Emacs 23.1:
-
-* Gave `j *' (cal-sel-mult-both-sides) an option to expand the
-  denominator.
-
-* Use `calc-embedded-word-regexp' for finding words in
-  `calc-embedded-word' in place of delimiters.
-
-* Remove version numbering; use Emacs version for reference.
-
-* Added support for using registers.
-
-* Added support for Yacas, Maxima and Giac languages.
-
-* Added a menu.
-
-* Added logistic non-linear curves to curve-fitting.
-
-* Added option of plotting data points and curve when curve-fitting.
-
-* Made unit conversions exact when possible.
-
-* Lowered the precedence of negation.
+For changes in Emacs 23.1 and later, see the main Emacs NEWS file.
 
 Version 2.1:
 
index 512faefa78f5a2657164989d7936826b2455c8cb..2b7b56c3f89757aa9347fbe1af1ee70d71f75bb9 100644 (file)
@@ -386,23 +386,9 @@ C-w  Describe how there is no warranty for Calc."
 
 (defun calc-view-news ()
   (interactive)
-  (let ((path load-path))
-    (while (and path
-               (not (file-exists-p (expand-file-name "calc.el" (car path)))))
-      (setq path (cdr path)))
-    (or (and path
-            (file-exists-p (expand-file-name "README" (car path))))
-       (error "Can't locate Calc sources"))
-    (calc-quit)
-    (switch-to-buffer "*Help*")
-    (let ((inhibit-read-only t))
-      (erase-buffer)
-      (insert-file-contents (expand-file-name "README" (car path)))
-      (search-forward "Summary of changes")
-      (forward-line -1)
-      (delete-region (point-min) (point))
-      (goto-char (point-min)))
-    (help-mode)))
+  (calc-quit)
+  (view-emacs-news)
+  (re-search-forward "^\*+ .*\\<Calc\\>" nil t))
 
 (defvar calc-help-long-names '((?b . "binary/business")
                               (?g . "graphics")