Why does mathematica randomly rewrite notebooks?
- To: mathgroup at smc.vnet.net
- Subject: [mg54838] Why does mathematica randomly rewrite notebooks?
- From: Josef Karthauser <joe at tao.org.uk>
- Date: Fri, 4 Mar 2005 05:07:36 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I'm trying to manage mathematica notebooks in a revision control system
and it is really bugging me that mathematica writes notebooks with
trivial changes seemingly randomly. Does anyone know why?
Here's an example:
@@ -860,7 +862,7 @@
\(Tuu[i, j] Xd[j] // ToFlavor[natbasis]\), "\n",
\(\(\(% /.
x : Xd[_] \[RuleDelayed] \(TransformIndexFlavor[
- natbasis, {\[Lambda]form}]\)[x]\)\(\n\)\(\[IndentingNewLine]\)
+ natbasis, {\[Lambda]form}]\)[x]\)\(\[IndentingNewLine]\)\(\n\)
\) (*\[IndentingNewLine]\(% // SumExpansion[natbasis /@ {i, j}]\) //
SumExpansion[\[Lambda]form[k]]\[IndentingNewLine]%%\[IndentingNewLine]*) \), "\
The line starting with '-' shows what was there, and the line starting
with '+' shows that change that mathematica made at the last save.
Notice the at the order of the \n and the IndentingNewLine have been
reversed. This appears to happen at random.
WRI, is there anything I can do to prevent this, or is it a bug/feature?
Joe
--
Josef Karthauser (joe at tao.org.uk) http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/
Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/
- Follow-Ups:
- Re: Why does mathematica randomly rewrite notebooks?
- From: jmt <jmt@dxdydz.net>
- Re: Why does mathematica randomly rewrite notebooks?