You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm editing an org-mode document drafted by a colleague, and noticed that the Outline pane showed only the first few headings, or sometimes "No symbols found in document". After some googling, I enabled the development Console and saw "ERR name must not be falsy". After some more trial and error, I think I have identified what breaks the outline view: Asterisks indicating a header, followed only by a space. If it's just the asterisks, the outline does not break. Example:
Source code:
* Top level
** Sub level
** Next subheading is empty without a trailing space
**
** Next has a trailing space
**
** This heading isn't shown in outline
* Nor is this one
Removing the trailing space after the second empty ** header makes outlines work normally.
The "name must not be falsy" error sounds like it might relate exactly to the empty headings, but I don't know the outline source well enough to check.
Now that I know what causes the glitch, it's an easy workaround to make sure headings are not empty. But maybe it's easy to make the outline more robust, too.
The text was updated successfully, but these errors were encountered:
I'm editing an org-mode document drafted by a colleague, and noticed that the Outline pane showed only the first few headings, or sometimes "No symbols found in document". After some googling, I enabled the development Console and saw "ERR name must not be falsy". After some more trial and error, I think I have identified what breaks the outline view: Asterisks indicating a header, followed only by a space. If it's just the asterisks, the outline does not break. Example:
Source code:
Removing the trailing space after the second empty
**
header makes outlines work normally.The "name must not be falsy" error sounds like it might relate exactly to the empty headings, but I don't know the outline source well enough to check.
Now that I know what causes the glitch, it's an easy workaround to make sure headings are not empty. But maybe it's easy to make the outline more robust, too.
The text was updated successfully, but these errors were encountered: