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: Tue, 22 Mar 2005 11:13:59 -0500

Index: emacs/man/calc.texi
diff -c emacs/man/calc.texi:1.48 emacs/man/calc.texi:1.49
*** emacs/man/calc.texi:1.48    Tue Mar  1 04:53:02 2005
--- emacs/man/calc.texi Tue Mar 22 16:13:53 2005
***************
*** 29881,29886 ****
--- 29881,29897 ----
  like most Calc commands, but rather in regular editing buffers that
  are visiting your own files.
  
+ Calc will try to guess an appropriate language based on the major mode
+ of the editing buffer. (@xref{Language Modes}.) If the current buffer is
+ in @code{latex-mode}, for example, Calc will set its language to 
address@hidden
+ Similarly, Calc will use @TeX{} language for @code{tex-mode},
+ @code{plain-tex-mode} and @code{context-mode}, C language for
+ @code{c-mode} and @code{c++-mode}, FORTRAN language for
+ @code{fortran-mode} and @code{f90-mode}, Pascal for @code{pascal-mode},
+ and eqn for @code{nroff-mode}.  These can be overridden with Calc's mode
+ changing commands (@pxref{Mode Settings in Embedded Mode}).  If no
+ suitable language is available, Calc will continue with its current language.
+ 
  Calc normally scans backward and forward in the buffer for the
  nearest opening and closing @dfn{formula delimiters}.  The simplest
  delimiters are blank lines.  Other delimiters that Embedded mode
***************
*** 29922,29929 ****
  
  When you enable Embedded mode for a formula, Calc reads the text
  between the delimiters and tries to interpret it as a Calc formula.
! It's best if the current Calc language mode is correct for the
! formula, but Calc can generally identify @TeX{} formulas and
  Big-style formulas even if the language mode is wrong.  If Calc
  can't make sense of the formula, it beeps and refuses to enter
  Embedded mode.  But if the current language is wrong, Calc can
--- 29933,29939 ----
  
  When you enable Embedded mode for a formula, Calc reads the text
  between the delimiters and tries to interpret it as a Calc formula.
! Calc can generally identify @TeX{} formulas and
  Big-style formulas even if the language mode is wrong.  If Calc
  can't make sense of the formula, it beeps and refuses to enter
  Embedded mode.  But if the current language is wrong, Calc can
***************
*** 30034,30044 ****
  it is parsed according to the current language mode.
  
  Note that Calc does not change the current language mode according
! to what it finds.  Even though it can read a address@hidden formula when
  not in address@hidden mode, it will immediately rewrite this formula using
! whatever language mode is in effect.  You must then type @kbd{d L}
! to switch Calc permanently into address@hidden mode if that is what you
! desire.
  
  @tex
  \bigskip
--- 30044,30052 ----
  it is parsed according to the current language mode.
  
  Note that Calc does not change the current language mode according
! the formula it reads in.  Even though it can read a address@hidden formula 
when
  not in address@hidden mode, it will immediately rewrite this formula using
! whatever language mode is in effect.
  
  @tex
  \bigskip
***************
*** 30441,30446 ****
--- 30449,30459 ----
  @section Mode Settings in Embedded Mode
  
  @noindent
+ The mode settings can be changed while Calc is in embedded mode, but
+ will revert to their original values when embedded mode is ended
+ (except for the modes changed while the mode-setting mode was
+ @code{Save}). 
+ 
  Embedded mode has a rather complicated mechanism for handling mode
  settings in Embedded formulas.  It is possible to put annotations
  in the file that specify mode settings either global to the entire




reply via email to

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