diff options
author | Glenn Morris <rgm@gnu.org> | 2013-01-31 19:51:08 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-01-31 19:51:08 -0800 |
commit | 86e100a6936882a982648c3fe2e09d82f5a94e55 (patch) | |
tree | eb775b25f7549fce94fe38348cb9c45446571c07 /lisp/calc | |
parent | 1e77b18e33526319ee8bb9f1ebb28860ad20a4c2 (diff) | |
download | emacs-86e100a6936882a982648c3fe2e09d82f5a94e55.tar.gz |
Merge calc news from lisp/calc/README into etc/NEWS files
* 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
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/README | 59 | ||||
-rw-r--r-- | lisp/calc/calc-help.el | 20 |
2 files changed, 4 insertions, 75 deletions
diff --git a/lisp/calc/README b/lisp/calc/README index c44ffe5aef0..be5f9bdf34f 100644 --- a/lisp/calc/README +++ b/lisp/calc/README @@ -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: diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index 512faefa78f..2b7b56c3f89 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el @@ -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") |