Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> It is a problem for multiple view at least (I get a
Abdelrazak> crash). So, when the state is changed we must synchronize
Abdelrazak> the views by emitting Buffer::changed(). In practice this
Abdelrazak> means that my use case doesn't work and this is bad IMHO.

This is a multiple views bug, it is different :)

The crash is a bug but the concept is not.


 Also, it makes sense to save the status in the file for
documentation, for example.

Abdelrazak> I don't get it. The cursor position is not saved in the
Abdelrazak> file why should the _visual_ status should be saved in the
Abdelrazak> file?

You may want to have to footnotes open, because they make sense to
read on screen, but the yellow sticky note telling the name of the
translator closed. Also, you want to remember whether ERT is closed or
inline.

I don't deny you want to memorize those things. I just say that the document is not the place to do this. This is a BufferView thing, not a Buffer thing. And if you want to save those visual information you should save them in the session file not in the document file.

Abdel.

Reply via email to