alphapapa / burly.el

Save and restore frames and windows with their buffers in Emacs
GNU General Public License v3.0
301 stars 14 forks source link

Problem with restoring Burly bookmarks in Org-mode, narrowed region, and multi-byte headings #54

Open wymmij opened 1 year ago

wymmij commented 1 year ago

In short, I'm not able to restore burly bookmarks if the saved window configuration contains an org-mode buffer narrowed to a region that has a heading containing multi-byte characters.

Both conditions have to be met otherwise there is no problem:

  1. narrowed buffer
  2. heading (of narrowed region) contains multi-byte characters

The version of Emacs: 29.0.50 The version of Org: 9.5.2 And the dating of the Burly version from melpa: 20220714.2053

As to the error itself, the error message would be, as an example: Heading not found on level 2: Ein sch\303\266nes M\303\244dchen

Trisk3lion commented 1 year ago

I just had the same problem: burly-bookmark-handler: Heading not found on level 2: Konvertering av FTP /CFT fl\303\266den

This was when opening a bookmark which was bookmarked with burly-bookmark-window where one buffer was narrows with org-tree-to-indirect-buffer.

alphapapa commented 1 year ago

@EJamesW Thanks for reporting this.

@Trisk3lion Thanks. Please report the versions of Emacs, Org, and Burly that you're using.

alphapapa commented 11 months ago

See also #59. Will revisit for 0.4.