>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

>> Are you sure that C-< should not work without buffer? Why?
Bo> I am actually not sure. Bookmark 0 is not saved with session so it
Bo> does not exist when lyx starts (reason for C-< crash). If bookmark
Bo> 0 becomes valid later, it should be usable without a valid buffer.

That's it. It is the job of isValid to say whether a bookmark is valid.

Bo> I am not sure because I never use bookmark 0 and do not know how
Bo> to set it. To me, it is a consequence of some internal trick (and
Bo> I almost got rid of it).

Typically, it would be nice to set bookmark-0 as soon as we use one of
the LFUN_GOTO_XXX functions. Think of it as the back button of a web
browser.

JMarc

Reply via email to