home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / help / 5336 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.5 KB  |  46 lines

  1. Path: sparky!uunet!dtix!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!rpi!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!rutgers!igor.rutgers.edu!remus.rutgers.edu!shadagop
  2. From: shadagop@remus.rutgers.edu (Narayanan Shadagopan)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: Format problem in Mathematica mode
  5. Summary: a possible fix
  6. Keywords: format, mathematica mode
  7. Message-ID: <Jan.12.06.24.56.1993.9770@remus.rutgers.edu>
  8. Date: 12 Jan 93 11:24:56 GMT
  9. References: <Jan.12.04.21.02.1993.7751@remus.rutgers.edu>
  10. Organization: Rutgers Univ., New Brunswick, N.J.
  11. Lines: 33
  12.  
  13. In article <Jan.12.04.21.02.1993.7751@remus.rutgers.edu>, shadagop@remus.rutgers.edu (Narayanan Shadagopan) writes:
  14. > I am trying to get Mathematica mode to work properly. When in math mode,
  15. > [...stuff deleted]
  16. > Now, I see that the expression is being given to Mathematica and the
  17. > output is taken properly; however, the formatting of the output is not
  18. > done properly. [...stuff deleted]
  19.  
  20. I have done a small fix in the mathtalk.el and the code _seems_ to work
  21. fine. In the mathtalk.el file, I modified the aOUTPROMPT function. I am
  22. not at all sure this is an appropriate thing to do.
  23.  
  24. (defun aOUTPROMPT ()
  25. [... other stuff]
  26.       (if (string-match "[^=]$" block)
  27.           (concat block "=")
  28.                     ^^^
  29. [... other stuff]
  30.     ))
  31.  
  32.  
  33. (defun aOUTPROMPT ()
  34. [... other stuff]
  35.       (if (string-match "[^=]$" block)
  36.           (concat block "")
  37.                     ^^
  38. [... other stuff]
  39.     ))
  40.  
  41. Any suggestions?
  42.  
  43. -Nary
  44. -- 
  45. E-mail: shadagop@central.rutgers.edu
  46.