Issues with "hide-para"

I opened a tm file today and found there are lots of things lost. When I checked the source tree, I found that “<hide-para|>” appears almost everywhere and the things lost are actually hidden. I cannot understand why this happens.

I’m not sure, but looking into the code of TeXmacs seems that the hide-para tag is used when searching and asking to display only match (I’ve never used this feature myself, so I’m surprised it even exist). Maybe you made one search and then saved the document? Seems anyway a bug, so if you manage to reproduce it I would be interested in knowing.

I can confirm, applying the “filter” function in search insert the hide-para tags, which are saved to the file. Going back to the search dialog after re-opening and clicking the filter again makes the content reappear.

1 Like

Thanks a lot. I have solved this problem.