Thanks to Terry Brown, the latest bookmarks.py plugin implements command bookmarks_show which shows all the URL's in the subtree of the currently selected @bookmarks node.
Suggestion 1: For consistency with other commands, shouldn't dash (not underline) separate the command words: bookmarks-show, not bookmarks_show? If the free_layout.py plugin is enabled, then the "bookmark" URL's are shown in their own pane. If the free_layout.py plugin is not enabled, then the "bookmark" URL's are shown in a Log Pane tab. This allows the user to create a separate tab/pane for each @bookmarks subtree. This is useful. It also allows the user to create many tabs/panes for one @bookmarks subtree. This probably is not useful and is probably undesirable. Suggestion 2: Couldn't the gnx for the @bookmarks node be used to uniquely identify each @bookmarks subtree and prevent this duplication? Problem: When the currently selected node is NOT an @bookmarks node, bookmarks-show creates an "Bookmarks" tab that is empty. This is not useful. For example, when a node with headline "@url text-file URL" is selected when bookmarks_show is executed, then a new tab is added to the Log Pane with tab-label "@url text-" and a blank body. Suggestion 3: If the body will be empty, then do NOT create an empty tab/pane. Instead print an error message to the Log tab to the effect "No bookmarks to show." @bookmarks tab/pane label The Log Pane tag-name is the headline of the currently selected node truncated to 10 characters. Since this only works when the currently selected node is an @bookmarks node and for such a node the results is always "@bookmarks," what is the point of using the headline instead of always labeling it "@bookmarks"? Suggestion 4: It would make more sense to use the first 10 characters of the headline only if the headline is exactly 10 characters. Otherwise, drop the first 10 characters, strip off all leading and trailing whitespace and then use the first 10 characters of this trimmed headline. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
