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
This commit is contained in:
Glenn Morris 2013-01-31 19:51:08 -08:00
parent 1e77b18e33
commit 86e100a693
7 changed files with 65 additions and 78 deletions

View 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> 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
* tramp.texi (Filename Syntax): Filenames must be unibyte strings. * tramp.texi (Filename Syntax): Filenames must be unibyte strings.

View file

@ -9909,9 +9909,8 @@ listed.
@kindex h n @kindex h n
The @kbd{h n} or @kbd{h C-n} (@code{calc-view-news}) command displays 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 the ``news'' or change history of Emacs, and jumps to the most recent
@file{README}, which Calc looks for in the same directory as the Calc portion concerning Calc (if present).
source files.
@kindex h C-c @kindex h C-c
@kindex h C-d @kindex h C-d

View file

@ -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 The value (YEAR MONTH DAY) means to start using the Gregorian calendar
on the given date. on the given date.
*** Support for ISO 8601 dates.
** ERC ** ERC
*** New option `erc-accidental-paste-threshold-seconds'. *** 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. *** Option `Buffer-menu-buffer+size-width' is now obsolete.
Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. 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 ** Calendar
*** You can customize the header text that appears above each calendar month. *** 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, *** 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. 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 ** Calendar, Diary, and Appt
*** Diary entries can contain non-printing "comments". *** Diary entries can contain non-printing "comments".

View file

@ -329,6 +329,8 @@ that file exists.
user-emacs-directory; but the old location, ~/.calc.el, is used if user-emacs-directory; but the old location, ~/.calc.el, is used if
that file exists. that file exists.
*** New twos-complement display.
*** Graphing commands (`g f' etc.) now work on MS-Windows, if you have *** 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. 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 bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an
older Emacs cannot read one saved by Emacs 23. 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 ** Calendar and diary
*** There is a new date style, `iso', essentially year/month/day. *** There is a new date style, `iso', essentially year/month/day.

View 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> 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-tramp-file-p): Comment check for * net/tramp.el (tramp-tramp-file-p): Comment check for

View file

@ -70,64 +70,7 @@ opinions.
Summary of changes to "Calc" Summary of changes to "Calc"
------- -- ------- -- ---- ------- -- ------- -- ----
Emacs 24.4 For changes in Emacs 23.1 and later, see the main Emacs NEWS file.
* 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.
Version 2.1: Version 2.1:

View file

@ -386,23 +386,9 @@ C-w Describe how there is no warranty for Calc."
(defun calc-view-news () (defun calc-view-news ()
(interactive) (interactive)
(let ((path load-path)) (calc-quit)
(while (and path (view-emacs-news)
(not (file-exists-p (expand-file-name "calc.el" (car path))))) (re-search-forward "^\*+ .*\\<Calc\\>" nil t))
(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)))
(defvar calc-help-long-names '((?b . "binary/business") (defvar calc-help-long-names '((?b . "binary/business")
(?g . "graphics") (?g . "graphics")