emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/calc.texi


From: Jay Belanger
Subject: [Emacs-diffs] Changes to emacs/man/calc.texi
Date: Mon, 30 May 2005 17:04:50 -0400

Index: emacs/man/calc.texi
diff -c emacs/man/calc.texi:1.66 emacs/man/calc.texi:1.67
*** emacs/man/calc.texi:1.66    Sat May 28 05:48:15 2005
--- emacs/man/calc.texi Mon May 30 21:04:46 2005
***************
*** 33640,33661 ****
  the absolute values of the components.
  @end defun
  
! @findex two-pi
  @findex pi-over-2
  @findex pi-over-4
  @findex pi-over-180
  @findex sqrt-two-pi
  @findex sqrt-e
! @findex e
! @findex ln-2
! @findex ln-10
  @defun pi
  The function @samp{(pi)} computes @samp{pi} to the current precision.
  Other related constant-generating functions are @code{two-pi},
  @code{pi-over-2}, @code{pi-over-4}, @code{pi-over-180}, @code{sqrt-two-pi},
! @code{e}, @code{sqrt-e}, @code{ln-2}, and @code{ln-10}.  Each function
! returns a floating-point value in the current precision, and each uses
! caching so that all calls after the first are essentially free.
  @end defun
  
  @defmac math-defcache @var{func} @var{initial} @var{form}
--- 33640,33664 ----
  the absolute values of the components.
  @end defun
  
! @findex e
! @findex gamma-const
! @findex ln-2
! @findex ln-10
! @findex phi
  @findex pi-over-2
  @findex pi-over-4
  @findex pi-over-180
  @findex sqrt-two-pi
  @findex sqrt-e
! @findex two-pi
  @defun pi
  The function @samp{(pi)} computes @samp{pi} to the current precision.
  Other related constant-generating functions are @code{two-pi},
  @code{pi-over-2}, @code{pi-over-4}, @code{pi-over-180}, @code{sqrt-two-pi},
! @code{e}, @code{sqrt-e}, @code{ln-2}, @code{ln-10}, @code{phi} and
! @code{gamma-const}.  Each function returns a floating-point value in the
! current precision, and each uses caching so that all calls after the
! first are essentially free.
  @end defun
  
  @defmac math-defcache @var{func} @var{initial} @var{form}
***************
*** 34704,34710 ****
  @end defvar
  
  @defvar calc-window-hook
! If this hook exists, it is called to create the Calc window.
  Upon return, this new Calc window should be the current window.
  (The Calc buffer will already be the current buffer when the
  hook is called.)  If the hook is not defined, Calc will
--- 34707,34713 ----
  @end defvar
  
  @defvar calc-window-hook
! If this hook is address@hidden, it is called to create the Calc window.
  Upon return, this new Calc window should be the current window.
  (The Calc buffer will already be the current buffer when the
  hook is called.)  If the hook is not defined, Calc will
***************
*** 34713,34722 ****
  @end defvar
  
  @defvar calc-trail-window-hook
! If this hook exists, it is called to create the Calc Trail window.
! The variable @code{calc-trail-buffer} will contain the buffer
! which the window should use.  Unlike @code{calc-window-hook},
! this hook must @emph{not} switch into the new window.
  @end defvar
  
  @defvar calc-edit-mode-hook
--- 34716,34725 ----
  @end defvar
  
  @defvar calc-trail-window-hook
! If this hook is address@hidden, it is called to create the Calc Trail
! window.  The variable @code{calc-trail-buffer} will contain the buffer
! which the window should use.  Unlike @code{calc-window-hook}, this hook
! must @emph{not} switch into the new window.
  @end defvar
  
  @defvar calc-edit-mode-hook
***************
*** 34820,34830 ****
  See @ref{Regexp Search,, Regular Expression Search, emacs, The GNU Emacs 
Manual}
  to see how regular expressions work.
  
! @table @code
! 
! @item calc-settings-file
! 
! @vindex calc-settings-file
  The variable @code{calc-settings-file} holds the file name in
  which commands like @kbd{m m} and @kbd{Z P} store ``permanent''
  definitions.  
--- 34823,34829 ----
  See @ref{Regexp Search,, Regular Expression Search, emacs, The GNU Emacs 
Manual}
  to see how regular expressions work.
  
! @defvar calc-settings-file
  The variable @code{calc-settings-file} holds the file name in
  which commands like @kbd{m m} and @kbd{Z P} store ``permanent''
  definitions.  
***************
*** 34834,34842 ****
  exists) the first time Calc is invoked.
  
  The default value for this variable is @code{"~/.calc.el"}.
  
! @item calc-gnuplot-name
! 
  See @address@hidden
  The variable @code{calc-gnuplot-name} should be the name of the
  GNUPLOT program (a string).  If you have GNUPLOT installed on your
--- 34833,34841 ----
  exists) the first time Calc is invoked.
  
  The default value for this variable is @code{"~/.calc.el"}.
+ @end defvar
  
! @defvar calc-gnuplot-name
  See @address@hidden
  The variable @code{calc-gnuplot-name} should be the name of the
  GNUPLOT program (a string).  If you have GNUPLOT installed on your
***************
*** 34845,34854 ****
  You may also need to set some Lisp variables to show Calc how to run
  GNUPLOT on your system, see @ref{Devices, ,Graphical Devices} .  The default 
value
  of @code{calc-gnuplot-name} is @code{"gnuplot"}.
  
! @item  calc-gnuplot-plot-command
! @itemx calc-gnuplot-print-command
! 
  See @ref{Devices, ,Graphical address@hidden
  The variables @code{calc-gnuplot-plot-command} and
  @code{calc-gnuplot-print-command} represent system commands to
--- 34844,34853 ----
  You may also need to set some Lisp variables to show Calc how to run
  GNUPLOT on your system, see @ref{Devices, ,Graphical Devices} .  The default 
value
  of @code{calc-gnuplot-name} is @code{"gnuplot"}.
+ @end defvar
  
! @defvar  calc-gnuplot-plot-command
! @defvarx calc-gnuplot-print-command
  See @ref{Devices, ,Graphical address@hidden
  The variables @code{calc-gnuplot-plot-command} and
  @code{calc-gnuplot-print-command} represent system commands to
***************
*** 34861,34869 ****
  The default value of @code{calc-gnuplot-plot-command} is @code{nil},
  and the default value of @code{calc-gnuplot-print-command} is
  @code{"lp %s"}.
  
! @item calc-language-alist
! 
  See @ref{Basic Embedded address@hidden
  The variable @code{calc-language-alist} controls the languages that
  Calc will associate with major modes.  When Calc embedded mode is
--- 34860,34868 ----
  The default value of @code{calc-gnuplot-plot-command} is @code{nil},
  and the default value of @code{calc-gnuplot-print-command} is
  @code{"lp %s"}.
+ @end defvar
  
! @defvar calc-language-alist
  See @ref{Basic Embedded address@hidden
  The variable @code{calc-language-alist} controls the languages that
  Calc will associate with major modes.  When Calc embedded mode is
***************
*** 34889,34897 ****
      (fortran-mode . fortran)
      (f90-mode . fortran))
  @end example
  
! @item calc-embedded-announce-formula
! 
  See @ref{Customizing Embedded address@hidden
  The variable @code{calc-embedded-announce-formula} helps determine
  what formulas @kbd{M-# a} will activate in a buffer.  It is a
--- 34888,34896 ----
      (fortran-mode . fortran)
      (f90-mode . fortran))
  @end example
+ @end defvar
  
! @defvar calc-embedded-announce-formula
  See @ref{Customizing Embedded address@hidden
  The variable @code{calc-embedded-announce-formula} helps determine
  what formulas @kbd{M-# a} will activate in a buffer.  It is a
***************
*** 34903,34912 ****
  The default pattern is @code{"%Embed\n\\(% .*\n\\)*"}, which checks
  for @samp{%Embed} followed by any number of lines beginning with
  @samp{%} and a space.
  
! @item  calc-embedded-open-formula
! @itemx calc-embedded-close-formula
! 
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-formula} and
  @code{calc-embedded-open-formula} control the region that Calc will
--- 34902,34911 ----
  The default pattern is @code{"%Embed\n\\(% .*\n\\)*"}, which checks
  for @samp{%Embed} followed by any number of lines beginning with
  @samp{%} and a space.
+ @end defvar
  
! @defvar  calc-embedded-open-formula
! @defvarx calc-embedded-close-formula
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-formula} and
  @code{calc-embedded-open-formula} control the region that Calc will
***************
*** 34931,34940 ****
  @item
  Lines containing a single @samp{%} or @samp{.\"} symbol and nothing else.
  @end enumerate
  
! @item  calc-embedded-open-word
! @itemx calc-embedded-close-word
! 
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-word} and
  @code{calc-embedded-close-word} control the region that Calc will
--- 34930,34939 ----
  @item
  Lines containing a single @samp{%} or @samp{.\"} symbol and nothing else.
  @end enumerate
+ @end defvar
  
! @defvar  calc-embedded-open-word
! @defvarx calc-embedded-close-word
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-word} and
  @code{calc-embedded-close-word} control the region that Calc will
***************
*** 34944,34953 ****
  The default values of @code{calc-embedded-open-word} and
  @code{calc-embedded-close-word} are @code{"^\\|[^-+0-9.eE]"} and 
  @code{"$\\|[^-+0-9.eE]"} respectively.
  
! @item  calc-embedded-open-plain
! @itemx calc-embedded-close-plain
! 
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-plain} and
  @code{calc-embedded-open-plain} are used to delimit ``plain''
--- 34943,34952 ----
  The default values of @code{calc-embedded-open-word} and
  @code{calc-embedded-close-word} are @code{"^\\|[^-+0-9.eE]"} and 
  @code{"$\\|[^-+0-9.eE]"} respectively.
+ @end defvar
  
! @defvar  calc-embedded-open-plain
! @defvarx calc-embedded-close-plain
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-plain} and
  @code{calc-embedded-open-plain} are used to delimit ``plain''
***************
*** 34960,34969 ****
  @code{calc-embedded-close-plain} is @code{" %%%\n"}, without
  the trailing newline here, the first line of a Big mode formula
  that followed might be shifted over with respect to the other lines.
  
! @item  calc-embedded-open-new-formula
! @itemx calc-embedded-close-new-formula
! 
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-new-formula} and
  @code{calc-embedded-close-new-formula} are strings which are
--- 34959,34968 ----
  @code{calc-embedded-close-plain} is @code{" %%%\n"}, without
  the trailing newline here, the first line of a Big mode formula
  that followed might be shifted over with respect to the other lines.
+ @end defvar
  
! @defvar  calc-embedded-open-new-formula
! @defvarx calc-embedded-close-new-formula
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-new-formula} and
  @code{calc-embedded-close-new-formula} are strings which are
***************
*** 34978,34987 ****
  if typed at the end of a line.  (It follows that if @kbd{M-# f} is
  typed on a blank line, both a leading opening newline and a trailing
  closing newline are omitted.)
  
! @item  calc-embedded-open-mode
! @itemx calc-embedded-close-mode
! 
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-mode} and
  @code{calc-embedded-close-mode} are strings which Calc will place before
--- 34977,34986 ----
  if typed at the end of a line.  (It follows that if @kbd{M-# f} is
  typed on a blank line, both a leading opening newline and a trailing
  closing newline are omitted.)
+ @end defvar
  
! @defvar  calc-embedded-open-mode
! @defvarx calc-embedded-close-mode
  See @ref{Customizing Embedded address@hidden
  The variables @code{calc-embedded-open-mode} and
  @code{calc-embedded-close-mode} are strings which Calc will place before
***************
*** 34995,35002 ****
  If you change the value of @code{calc-embedded-close-mode}, it is a good
  idea still to end with a newline so that mode annotations will appear on
  lines by themselves.
! 
! @end table
  
  @node Reporting Bugs, Summary, Customizable Variables, Top
  @appendix Reporting Bugs
--- 34994,35000 ----
  If you change the value of @code{calc-embedded-close-mode}, it is a good
  idea still to end with a newline so that mode annotations will appear on
  lines by themselves.
! @end defvar
  
  @node Reporting Bugs, Summary, Customizable Variables, Top
  @appendix Reporting Bugs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]