johanwk / elot

Emacs Literate Ontology Tool
GNU General Public License v3.0
8 stars 2 forks source link

add `label-display.el` to show labels for uninformative identifiers #39

Closed johanwk closed 7 months ago

johanwk commented 7 months ago

The new example bfo-core.org contains many axioms that involve OBO identifiers, like this:

 - Domain :: obo:BFO_0000015 or obo:BFO_0000020

These are not readable, of course.

Add to ELOT the library label-display.el, which adds Emacs text properties to toggle between seeing labels and identifiers:

tmp-label-display

Also ensure marginalia is used for selection of identifiers. When looking for an identifier, the selection list should show

Also ensure

johanwk commented 7 months ago

New file elot-label-display added 9627855. Not yet automatically loaded.

To use:

johanwk commented 7 months ago

With 405971f, label-display is automatically loaded, and the F4 menu has an entry with key r for looking up and inserting identifiers.

johanwk commented 7 months ago

@VladimirAlexiev, maybe you could test this new feature, to verify that it works OK?