jkitchin / ov-highlight

A persistent highlighter for Emacs
60 stars 6 forks source link

Keybinding in comments editor #9

Open oatmealm opened 3 years ago

oatmealm commented 3 years ago

Thanks a lot for a wonderful solution for highlights in org-mode!!!

Wanted to as if it's possible to change key-binding in buffer used to edit comments... also, where are they stored?

I though "C-c C-c" and "C-c C-k" would be more "natural"

jkitchin commented 3 years ago

These are not easily modified. These are defined in a macro that makes the overlays. For example, in a comment they are defined in line 232 in a local map, and aren't customizable.

oatmealm commented 3 years ago

Got it.

Was also wondering were is the text (of the comments) stored? Is it hashed with the highlights meta-data?

jkitchin commented 3 years ago

I believe it is base64-encoded at the end of the file, and hidden with a ...