Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This is a more of a problem report than a question. When merging the two cells Cell1:

foo
(*foobar*)
bar

and Cell2:

foobar

the line immediately before the comment together with the comment line embark on a journey into another universe, leaving nothing behind than a vicious red box and the farewell greeting

"A RowBox with an invalid first argument was encountered. The first argument to RowBox must be a list."

Mathematica 9

share|improve this question
1  
upgrade to 9.0.1 –  Rolf Mertig Mar 8 '13 at 13:46
1  
Can confirm there is no problem with this on OS X with V9.0.1 –  m_goldberg Mar 8 '13 at 14:08
1  
I confirm this behavior on PC WinXP Math 9.0.1.0. The same behavior has been recently reported at the MathGroup site forums.wolfram.com/mathgroup –  Alexei Boulbitch Mar 8 '13 at 14:38
1  
@Mr.Wizard yes. Button["Fix9", (NotebookWrite[#1, NotebookRead[#1] //. HoldPattern[RowBox[a_, b__]] :> RowBox[{a, b}]] & ) /@ Cells[CellStyle -> "Input"]] is the simplest fix. Or Import["http://www.mertig.com/mykeys.m"] as mentioned in this thread –  Rolf Mertig Mar 8 '13 at 23:48
1  
@Szabolcs yes, you are right, I meant that report. And you are right, it does not appear any more. I simply did not use Merge Cells command after having lost information with it once. –  Alexei Boulbitch Mar 11 '13 at 8:11

protected by rm -rf Jul 11 '13 at 14:52

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Browse other questions tagged or ask your own question.