1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 02:20:21 -08:00
Commit graph

74 commits

Author SHA1 Message Date
Jay Belanger
580b66d801 * lisp/calc-units.el (calcFunc-lupquant): Rename from
`calcFunc-pquant' (fixing previous commit).
  (calcFunc-lufquant): Rename from `calcFunc-fquant'
  (fixing previous commit).

* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
  functions being autoloaded.
2011-03-16 21:25:36 -05:00
Jay Belanger
d71990a1e4 * lisp/calc/README: Mention musical notes.
* lisp/calc-units.el (calc-lu-quant): Rename from 
  `calc-logunits-quantity'. 
  (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
  (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
  (calc-db): Rename from `calc-dblevel'.
  (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
  (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
  (calc-np): Rename from `calc-nplevel'.
  (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
  (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
  (calc-lu-plus): Rename from `calc-logunits-add'.
  (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
  (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
  (calc-lu-minus): Rename from `calc-logunits-sub'.
  (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
  (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
  (calc-lu-times): Rename from `calc-logunits-mul'.
  (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
  (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
  (calc-lu-divide): Rename from `calc-logunits-div'.
  (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
  (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.

* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
  functions being autoloaded.

* lisp/calc/calc.el   (calc-lu-power-reference): Rename from
  `calc-logunits-power-reference'. 
  (calc-lu-field-reference): Rename from
  `calc-logunits-field-reference'. 

* lisp/calc/calc-help (calc-l-prefix-help): Mention musical note functions.

* doc/misc/calc.texi (Logarithmic Units): Update the function names.
2011-03-16 20:30:08 -05:00
Jay Belanger
05a29101b2 * calc/calc-units.el (math-midi-round, math-freqp, math-midip)
(math-spnp, math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
  (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
  (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
  (math-notes): New variable.

* calc/calc.el (calc-note-threshold): New variable.

* calc/calc-ext.el (calc-init-extensions): Add keybindings for
  calc-spn, calc-midi, calc-freq.  Add autoloads for calcFunc-spn,
  calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.

* doc/misc/calc.tex (Musical Notes): New section.
  (Customizing Calc): Mention calc-note-threshold.
2011-03-05 22:28:39 -06:00
Jay Belanger
479a2c9bfe * doc/misc/calc.texi (Logarithmic Units): Rename calc-logunits-dblevel
and calc-logunits-nplevel to calc-dblevel and calc-nplevel,
  respectively.

* calc/calc-ext.el (calc-init-extensions): Rename calc-logunits-dblevel
  and calc-logunits-nplevel to calc-dblevel and calc-nplevel,
  respectively.

* calc/calc-units.el (calc-dblevel): Rename from calc-logunits-dblevel.
  (calc-nplevel): Rename from calc-logunits-nplevel.
2011-03-05 21:51:28 -06:00
Glenn Morris
67ab0163d6 Merge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca 2011-02-19 11:40:59 -08:00
Eli Zaretskii
0c973505c8 Synchronize @dircategory directives in doc/misc with info/dir.
ada-mode.texi: Sync @dircategory with ../../info/dir.
 auth.texi: Sync @dircategory with ../../info/dir.
 autotype.texi: Sync @dircategory with ../../info/dir.
 calc.texi: Sync @dircategory with ../../info/dir.
 cc-mode.texi: Sync @dircategory with ../../info/dir.
 cl.texi: Sync @dircategory with ../../info/dir.
 dbus.texi: Sync @dircategory with ../../info/dir.
 dired-x.texi: Sync @dircategory with ../../info/dir.
 ebrowse.texi: Sync @dircategory with ../../info/dir.
 ede.texi: Sync @dircategory with ../../info/dir.
 ediff.texi: Sync @dircategory with ../../info/dir.
 edt.texi: Sync @dircategory with ../../info/dir.
 eieio.texi: Sync @dircategory with ../../info/dir.
 emacs-mime.texi: Sync @dircategory with ../../info/dir.
 epa.texi: Sync @dircategory with ../../info/dir.
 erc.texi: Sync @dircategory with ../../info/dir.
 eshell.texi: Sync @dircategory with ../../info/dir.
 eudc.texi: Sync @dircategory with ../../info/dir.
 flymake.texi: Sync @dircategory with ../../info/dir.
 forms.texi: Sync @dircategory with ../../info/dir.
 gnus.texi: Sync @dircategory with ../../info/dir.
 idlwave.texi: Sync @dircategory with ../../info/dir.
 mairix-el.texi: Sync @dircategory with ../../info/dir.
 message.texi: Sync @dircategory with ../../info/dir.
 mh-e.texi: Sync @dircategory with ../../info/dir.
 newsticker.texi: Sync @dircategory with ../../info/dir.
 nxml-mode.texi: Sync @dircategory with ../../info/dir.
 org.texi: Sync @dircategory with ../../info/dir.
 pcl-cvs.texi: Sync @dircategory with ../../info/dir.
 pgg.texi: Sync @dircategory with ../../info/dir.
 rcirc.texi: Sync @dircategory with ../../info/dir.
 reftex.texi: Sync @dircategory with ../../info/dir.
 remember.texi: Sync @dircategory with ../../info/dir.
 sasl.texi: Sync @dircategory with ../../info/dir.
 sc.texi: Sync @dircategory with ../../info/dir.
 semantic.texi: Sync @dircategory with ../../info/dir.
 ses.texi: Sync @dircategory with ../../info/dir.
 sieve.texi: Sync @dircategory with ../../info/dir.
 smtpmail.texi: Sync @dircategory with ../../info/dir.
 speedbar.texi: Sync @dircategory with ../../info/dir.
 trampver.texi [emacs]: Set emacsname to "Emacs".
 tramp.texi: Sync @dircategory with ../../info/dir.
 url.texi: Sync @dircategory with ../../info/dir.
 vip.texi: Sync @dircategory with ../../info/dir.
 viper.texi: Sync @dircategory with ../../info/dir.
 widget.texi: Sync @dircategory with ../../info/dir.
 woman.texi: Sync @dircategory with ../../info/dir.
2011-02-18 15:57:53 +02:00
Jay Belanger
ed98055eb1 Eliminate newline 2011-02-06 19:40:47 -06:00
Jay Belanger
2e78df6b3d calc.texi (Logarithmic Units): New section 2011-02-06 19:35:09 -06:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Jay Belanger
1265829ec3 calc.texi (TeX and LaTeX Language Modes, Predefined Units):
calc-units.el (math-build-units-table-buffer):
README: Mention that the TeX specific units won't use the `tex' prefix
in TeX mode.

calc-lang.el (math-variable-table): Don't use the `tex' prefix for
units in TeX mode.
2010-11-18 19:14:36 -06:00
Jay Belanger
630a5546c9 calc.texi: Update Emacs version to 23.3. 2010-11-03 18:19:23 -05:00
Glenn Morris
8289f37b64 doc/Makefile fixes related to inclusion of emacsver.texi.
* doc/lispref/Makefile.in (elisp.dvi, elisp.pdf): Also include $emacsdir.

* doc/misc/Makefile.in (MAKEINFO, ENVADD): Add $emacsdir to include path.
(($(infodir)/calc, calc.dvi, calc.pdf): Depend on emacsver.texi.
($(infodir)/efaq): Remove -I option now in $MAKEINFO.
2010-10-28 00:21:43 -07:00
Jay Belanger
9f534a47e3 calc.texi: Use emacsver.texi to determine Emacs version. 2010-10-24 17:37:44 -05:00
Jay Belanger
443c2c0301 calc.texi (Customizing Calc): Rearrange description of new
variables to match the presentation of other variables.
2010-08-08 21:30:10 -05:00
Jay Belanger
2c695727e0 calc.el (calc-trail-mode,calc-refresh): Use `face' property to italicize headers.
(calc-highlight-selections-with-faces): New variable.
(calc-selected-face, calc-nonselected-face): New faces.

calccomp.el (math-comp-highlight-string): Use
`calc-highlight-selections-with-faces' to determine how to highlight
subformulas.

calc-sel.el (calc-show-selections): Change message to something
appropriate. 

calc.texi (Making Selections, Selecting Subformulas)
(Customizing Calc): Mention how to use faces to emphasize selected
subformulas.
2010-08-07 22:04:57 -05:00
Chong Yidong
2ec1b5ee34 Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
Glenn Morris
62e034c228 Minor doc/misc/*.texi direntry fixes.
* ada-mode.texi, auth.texi, autotype.texi, calc.texi, cc-mode.texi:
* dired-x.texi, ebrowse.texi, ede.texi, edt.texi, eieio.texi:
* emacs-mime.texi, epa.texi, erc.texi, eshell.texi, eudc.texi:
* flymake.texi, gnus.texi, info.texi, mairix-el.texi, message.texi:
* newsticker.texi, org.texi, pgg.texi, rcirc.texi, reftex.texi:
* remember.texi, sasl.texi, semantic.texi, ses.texi, smtpmail.texi:
* speedbar.texi, tramp.texi, url.texi, viper.texi, widget.texi:
* woman.texi:
Start direntry descriptions in column 32, per Texinfo convention.
Make them end with a period.
2010-06-24 00:10:51 -07:00
Jay Belanger
597517ef8d calc-vec.el (calc-histogram):
(calcFunc-histogram):  Allow vectors as inputs.
(math-vector-avg): New function.

calc.texi (Manipulating Vectors): Mention that vectors can be used to
determine bins for `calc-histogram'.
2010-05-15 23:43:09 -05:00
Jay Belanger
14914c4314 calc.texi: Remove "\turnoffactive" commands throughout. 2010-05-13 17:33:11 -05:00
Daniel E. Doherty
db37d2572b (Tutorial): Use ^{\prime} to indicate primes. 2010-05-01 18:47:59 -05:00
Jay Belanger
f8b91752dd calc-bin.el (calc-radix): Have the O option turn on twos-complement mode. 2010-04-17 23:13:09 -05:00
Jay Belanger
dcf7843e7e Change name of default value of calc-settings-file to ~/.emacs.d/calc.el throughout. 2010-03-30 22:47:52 -05:00
Glenn Morris
b9f978f044 (Reporting Bugs): Don't mention format of repository. 2010-01-16 19:24:31 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Stefan Monnier
c57008f6ef Avoid dubious uses of save-excursions.
* doc/lispref/positions.texi (Excursions): Recommend the use of
save-current-buffer if applicable.
* doc/lispref/text.texi (Clickable Text): Fix the example code which used
save-excursion in a naive way which sometimes preserves point and
sometimes not.
* doc/lispref/variables.texi (Creating Buffer-Local):
* doc/lispref/os.texi (Session Management):
* doc/lispref/display.texi (GIF Images):
* doc/lispref/control.texi (Cleanups): Use (save|with)-current-buffer.
* doc/misc/gnus.texi (Posting Styles): Use with-current-buffer.
* doc/misc/calc.texi (Defining Simple Commands): Prefer save-current-buffer.
2010-01-04 13:18:38 -05:00
Chong Yidong
4970fbfe84 * calc.texi (General Mode Commands): Calc file should be in .emacs.d.
* faq.texi (New in Emacs 22): Max buffer size is now 512 MB.
2009-12-25 20:05:14 +00:00
Jay Belanger
4fa409bf5a (Radix Modes): Clean up wording. 2009-12-15 04:44:34 +00:00
Jay Belanger
0e9833273d (Radix Modes): Clarify two's complement notation. 2009-12-15 00:58:26 +00:00
Jay Belanger
5ea5dbc925 (Radix modes): Discuss alternate bases for two's complement notations. 2009-11-22 02:19:23 +00:00
Jay Belanger
17291a1fc4 (Radix modes): Mention twos-complement notation. 2009-11-16 23:41:36 +00:00
Jay Belanger
744256cf1b (Simplifying Formulas): Improve the wording. 2009-08-30 02:42:35 +00:00
Jay Belanger
0ff2d6c28e (Rewrite Rules): Improve the example.
(Simplifying Formulas): Explain use of the I and H flags for simplification.
2009-08-27 13:36:19 +00:00
Chong Yidong
4c39f404d5 * calc.texi (Date Forms): Fix typos. 2009-08-09 23:39:59 +00:00
Eli Zaretskii
66783bb464 (Graphics, Devices): Update with the peculiarities of operation on MS-Windows. 2009-08-07 15:22:29 +00:00
Jay Belanger
74edaf1f3e (Types Tutorial Exercise 2): Fix wording. 2009-08-05 00:43:34 +00:00
Jay Belanger
b5bdfd9f4f (Help Commands): Add index entries for "prefix ?" keybindings. 2009-07-30 04:57:42 +00:00
Jay Belanger
65d0154bdc (Vector/Matrix Functions): Add index entries for both "v" and "V" key
bindings.  Mention that `calc-matrix-brackets' only affects matrices
with more than one row.
2009-07-30 04:40:41 +00:00
Jay Belanger
5a9e3ab796 (Stack Manipulation Commands): Add documentation for
`calc-transpose-lines'
2009-07-29 03:46:13 +00:00
Jay Belanger
ec06459cb6 (Undoing Mistakes): Mention that the undo list will be truncated when
Calc is quit.
(Customizing Calc): Mention `calc-undo-length'.
2009-07-21 19:01:41 +00:00
Chong Yidong
4ce54f6bab * calc.texi (About This Manual): Don't mention chapter numbers in text. 2009-07-20 13:58:01 +00:00
Karl Berry
5dc584b517 consistently use @insertcopying, @direntry, @contents 2009-02-16 17:41:58 +00:00
Jay Belanger
5fafc2475d (Embedded Mode, Algebraic-Style Calculations): Make Calc the subject
of sentences.
(Rearranging Formulas using Selections): Discuss new options for `j *'.
2009-01-27 01:55:20 +00:00
Glenn Morris
6ed161e1d6 Add 2009 to copyright years. 2009-01-08 05:28:46 +00:00
Jay Belanger
3bf8054fea (About This Manual): Clarify behavior of `C-x * t'.
(Using Calc): Clarify use of `C-x * o'.
(Embedded Mode (Overview)): Clarify use of `C-x * e'.
2008-12-01 02:09:58 +00:00
Glenn Morris
6a2c4aece5 Relicense all texi files under FDL 1.3 or later. 2008-11-19 04:29:29 +00:00
Jay Belanger
59ee4113ed (Tutorial): Clarify how to set up the on-line tutorial. 2008-11-17 05:00:23 +00:00
Jay Belanger
17587b1b2f (About This Manual): Comment out a mention of marginal notes. 2008-11-14 05:32:46 +00:00
Jay Belanger
4a65fb7ad2 (Embedded mode overview, Customizing Embedded Mode, Customizing Calc):
Change references to `calc-embedded-open/close-word' to
`calc-embedded-word-regexp'.
2008-10-10 14:54:11 +00:00