diff options
| author | Glenn Morris | 2013-01-31 19:51:08 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-01-31 19:51:08 -0800 |
| commit | 86e100a6936882a982648c3fe2e09d82f5a94e55 (patch) | |
| tree | eb775b25f7549fce94fe38348cb9c45446571c07 | |
| parent | 1e77b18e33526319ee8bb9f1ebb28860ad20a4c2 (diff) | |
| download | emacs-86e100a6936882a982648c3fe2e09d82f5a94e55.tar.gz emacs-86e100a6936882a982648c3fe2e09d82f5a94e55.zip | |
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
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 5 | ||||
| -rw-r--r-- | etc/NEWS | 25 | ||||
| -rw-r--r-- | etc/NEWS.23 | 26 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/calc/README | 59 | ||||
| -rw-r--r-- | lisp/calc/calc-help.el | 20 |
7 files changed, 65 insertions, 78 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index f139b4255e0..942f0fbab31 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-01 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * calc.texi (Help Commands): Update calc-view-news description. | ||
| 4 | |||
| 1 | 2013-01-24 Michael Albinus <michael.albinus@gmx.de> | 5 | 2013-01-24 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * tramp.texi (Filename Syntax): Filenames must be unibyte strings. | 7 | * tramp.texi (Filename Syntax): Filenames must be unibyte strings. |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index 5dabf5cd314..ff3ec06fc40 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -9909,9 +9909,8 @@ listed. | |||
| 9909 | 9909 | ||
| 9910 | @kindex h n | 9910 | @kindex h n |
| 9911 | The @kbd{h n} or @kbd{h C-n} (@code{calc-view-news}) command displays | 9911 | The @kbd{h n} or @kbd{h C-n} (@code{calc-view-news}) command displays |
| 9912 | the ``news'' or change history of Calc. This is kept in the file | 9912 | the ``news'' or change history of Emacs, and jumps to the most recent |
| 9913 | @file{README}, which Calc looks for in the same directory as the Calc | 9913 | portion concerning Calc (if present). |
| 9914 | source files. | ||
| 9915 | 9914 | ||
| 9916 | @kindex h C-c | 9915 | @kindex h C-c |
| 9917 | @kindex h C-d | 9916 | @kindex h C-d |
| @@ -107,6 +107,8 @@ Nil, the default value, means to always use the Gregorian calendar. | |||
| 107 | The value (YEAR MONTH DAY) means to start using the Gregorian calendar | 107 | The value (YEAR MONTH DAY) means to start using the Gregorian calendar |
| 108 | on the given date. | 108 | on the given date. |
| 109 | 109 | ||
| 110 | *** Support for ISO 8601 dates. | ||
| 111 | |||
| 110 | ** ERC | 112 | ** ERC |
| 111 | 113 | ||
| 112 | *** New option `erc-accidental-paste-threshold-seconds'. | 114 | *** New option `erc-accidental-paste-threshold-seconds'. |
| @@ -719,6 +721,12 @@ see the `apropos' Custom group for details. | |||
| 719 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. | 721 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. |
| 720 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. | 722 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. |
| 721 | 723 | ||
| 724 | ** Calc | ||
| 725 | |||
| 726 | *** Algebraic simplification mode is now the default. | ||
| 727 | To restrict to the limited simplifications given by the former | ||
| 728 | default simplification mode, use `m I'. | ||
| 729 | |||
| 722 | ** Calendar | 730 | ** Calendar |
| 723 | 731 | ||
| 724 | *** You can customize the header text that appears above each calendar month. | 732 | *** 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. | |||
| 1648 | *** The default browser used by the package is now the "xdg-open" program, | 1656 | *** The default browser used by the package is now the "xdg-open" program, |
| 1649 | on platforms that support it. This calls your desktop's preferred browser. | 1657 | on platforms that support it. This calls your desktop's preferred browser. |
| 1650 | 1658 | ||
| 1659 | ** Calc | ||
| 1660 | |||
| 1661 | *** Support for musical notes. | ||
| 1662 | |||
| 1663 | *** Support for logarithmic units. | ||
| 1664 | |||
| 1665 | *** No longer uses the tex prefix for TeX specific unit names when | ||
| 1666 | using TeX or LaTeX mode. | ||
| 1667 | |||
| 1668 | *** New option to highlight selections using faces. | ||
| 1669 | |||
| 1670 | *** `calc-histogram' has the option of using a vector to determine the bins. | ||
| 1671 | |||
| 1672 | *** New "O" option prefix. | ||
| 1673 | |||
| 1674 | *** Use the "O" prefix to "d r" (`calc-radix') to turn on twos-complement mode. | ||
| 1675 | |||
| 1651 | ** Calendar, Diary, and Appt | 1676 | ** Calendar, Diary, and Appt |
| 1652 | 1677 | ||
| 1653 | *** Diary entries can contain non-printing "comments". | 1678 | *** Diary entries can contain non-printing "comments". |
diff --git a/etc/NEWS.23 b/etc/NEWS.23 index eaef3220d41..88371c30cef 100644 --- a/etc/NEWS.23 +++ b/etc/NEWS.23 | |||
| @@ -329,6 +329,8 @@ that file exists. | |||
| 329 | user-emacs-directory; but the old location, ~/.calc.el, is used if | 329 | user-emacs-directory; but the old location, ~/.calc.el, is used if |
| 330 | that file exists. | 330 | that file exists. |
| 331 | 331 | ||
| 332 | *** New twos-complement display. | ||
| 333 | |||
| 332 | *** Graphing commands (`g f' etc.) now work on MS-Windows, if you have | 334 | *** Graphing commands (`g f' etc.) now work on MS-Windows, if you have |
| 333 | the native Windows port of Gnuplot version 3.8 or later installed. | 335 | the native Windows port of Gnuplot version 3.8 or later installed. |
| 334 | 336 | ||
| @@ -1372,6 +1374,30 @@ identify cited keys in BibTeX entries, used by `bibtex-find-crossref'. | |||
| 1372 | bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an | 1374 | bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an |
| 1373 | older Emacs cannot read one saved by Emacs 23. | 1375 | older Emacs cannot read one saved by Emacs 23. |
| 1374 | 1376 | ||
| 1377 | ** Calc | ||
| 1378 | |||
| 1379 | *** `j *' (cal-sel-mult-both-sides) has an option to expand the denominator. | ||
| 1380 | |||
| 1381 | *** `calc-embedded-word-regexp' is used for finding words in | ||
| 1382 | `calc-embedded-word' in place of delimiters. | ||
| 1383 | |||
| 1384 | *** The separate Calc version number has been removed; use the Emacs | ||
| 1385 | version for reference. | ||
| 1386 | |||
| 1387 | *** Support for using registers. | ||
| 1388 | |||
| 1389 | *** Support for Yacas, Maxima and Giac languages. | ||
| 1390 | |||
| 1391 | *** Addition of a menu. | ||
| 1392 | |||
| 1393 | *** Logistic non-linear curves have been added to curve-fitting. | ||
| 1394 | |||
| 1395 | *** New option to plot data points and curve when curve-fitting. | ||
| 1396 | |||
| 1397 | *** Unit conversions are now exact when possible. | ||
| 1398 | |||
| 1399 | *** The precedence of negation has been lowered. | ||
| 1400 | |||
| 1375 | ** Calendar and diary | 1401 | ** Calendar and diary |
| 1376 | 1402 | ||
| 1377 | *** There is a new date style, `iso', essentially year/month/day. | 1403 | *** There is a new date style, `iso', essentially year/month/day. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c2be5f5fae4..ef5cb151aac 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-01 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * calc/calc-help.el (calc-view-news): Use view-emacs-news. | ||
| 4 | |||
| 1 | 2013-01-31 Michael Albinus <michael.albinus@gmx.de> | 5 | 2013-01-31 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * net/tramp.el (tramp-tramp-file-p): Comment check for | 7 | * net/tramp.el (tramp-tramp-file-p): Comment check for |
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. | |||
| 70 | Summary of changes to "Calc" | 70 | Summary of changes to "Calc" |
| 71 | ------- -- ------- -- ---- | 71 | ------- -- ------- -- ---- |
| 72 | 72 | ||
| 73 | Emacs 24.4 | 73 | For changes in Emacs 23.1 and later, see the main Emacs NEWS file. |
| 74 | |||
| 75 | * The date forms use the Gregorian calendar for all dates. | ||
| 76 | (Previously they were a combination of Julian and Gregorian | ||
| 77 | dates.) This can be configured with the customizable variable | ||
| 78 | `calc-gregorian-switch'. | ||
| 79 | |||
| 80 | * Support for ISO 8601 dates added. | ||
| 81 | Emacs 24.3 | ||
| 82 | |||
| 83 | * Algebraic simplification mode is now the default. | ||
| 84 | To restrict to the limited simplifications given by the former | ||
| 85 | default simplification mode, use `m I'. | ||
| 86 | |||
| 87 | Emacs 24.1 | ||
| 88 | |||
| 89 | * Support for musical notes added. | ||
| 90 | |||
| 91 | * Support for logarithmic units added. | ||
| 92 | |||
| 93 | * Calc no longer uses the tex prefix for TeX specific unit | ||
| 94 | names when using TeX or LaTeX mode. | ||
| 95 | |||
| 96 | * Added option to highlight selections using faces. | ||
| 97 | |||
| 98 | * Gave `calc-histogram' the option of using a vector to determine the bins. | ||
| 99 | |||
| 100 | * Added "O" option prefix. | ||
| 101 | |||
| 102 | * Used "O" prefix to "d r" (`calc-radix') to turn on twos-complement mode. | ||
| 103 | |||
| 104 | Emacs 23.2 | ||
| 105 | |||
| 106 | * Added twos-complement display. | ||
| 107 | |||
| 108 | Emacs 23.1: | ||
| 109 | |||
| 110 | * Gave `j *' (cal-sel-mult-both-sides) an option to expand the | ||
| 111 | denominator. | ||
| 112 | |||
| 113 | * Use `calc-embedded-word-regexp' for finding words in | ||
| 114 | `calc-embedded-word' in place of delimiters. | ||
| 115 | |||
| 116 | * Remove version numbering; use Emacs version for reference. | ||
| 117 | |||
| 118 | * Added support for using registers. | ||
| 119 | |||
| 120 | * Added support for Yacas, Maxima and Giac languages. | ||
| 121 | |||
| 122 | * Added a menu. | ||
| 123 | |||
| 124 | * Added logistic non-linear curves to curve-fitting. | ||
| 125 | |||
| 126 | * Added option of plotting data points and curve when curve-fitting. | ||
| 127 | |||
| 128 | * Made unit conversions exact when possible. | ||
| 129 | |||
| 130 | * Lowered the precedence of negation. | ||
| 131 | 74 | ||
| 132 | Version 2.1: | 75 | Version 2.1: |
| 133 | 76 | ||
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." | |||
| 386 | 386 | ||
| 387 | (defun calc-view-news () | 387 | (defun calc-view-news () |
| 388 | (interactive) | 388 | (interactive) |
| 389 | (let ((path load-path)) | 389 | (calc-quit) |
| 390 | (while (and path | 390 | (view-emacs-news) |
| 391 | (not (file-exists-p (expand-file-name "calc.el" (car path))))) | 391 | (re-search-forward "^\*+ .*\\<Calc\\>" nil t)) |
| 392 | (setq path (cdr path))) | ||
| 393 | (or (and path | ||
| 394 | (file-exists-p (expand-file-name "README" (car path)))) | ||
| 395 | (error "Can't locate Calc sources")) | ||
| 396 | (calc-quit) | ||
| 397 | (switch-to-buffer "*Help*") | ||
| 398 | (let ((inhibit-read-only t)) | ||
| 399 | (erase-buffer) | ||
| 400 | (insert-file-contents (expand-file-name "README" (car path))) | ||
| 401 | (search-forward "Summary of changes") | ||
| 402 | (forward-line -1) | ||
| 403 | (delete-region (point-min) (point)) | ||
| 404 | (goto-char (point-min))) | ||
| 405 | (help-mode))) | ||
| 406 | 392 | ||
| 407 | (defvar calc-help-long-names '((?b . "binary/business") | 393 | (defvar calc-help-long-names '((?b . "binary/business") |
| 408 | (?g . "graphics") | 394 | (?g . "graphics") |