Kungsgeten / org-brain

Org-mode wiki + concept-mapping
MIT License
1.72k stars 102 forks source link

do not create IDs for ignored entries #355

Closed ury-marshak closed 3 years ago

ury-marshak commented 3 years ago

When using tags such as nobrain or childless there is no need to create IDs for them. Since this function is recommended for use in the before-save-hook it's better that it wouldn't add unnecessary noise.

Kungsgeten commented 3 years ago

Seems like a good idea. Have you noticed any speed differences now that a regular expression is used?

ury-marshak commented 3 years ago

I didn't notice any difference (should mention that my files are small at the moment), but since the mechanism is the suggested mapping API in org itself I expect it to be rather efficient. Also if we avoid adding a lot of unnecessary drawers (for non-brain entries) that might actually help with overall efficiency.