]> git.neil.brown.name Git - edlib.git/commit
Allow command name to be used to choose some data files.
authorNeilBrown <neil@brown.name>
Fri, 25 Aug 2023 01:10:37 +0000 (11:10 +1000)
committerNeilBrown <neil@brown.name>
Fri, 25 Aug 2023 05:35:37 +0000 (15:35 +1000)
commit3a5d6e76aa8bd4810b3ae311e589f80d5ce3c9da
tree3663bf6c013e5cf56f134030e037908829c98e40
parent8a8c680db7b6fb0d73da43c1da0beb8aee7da1e6
Allow command name to be used to choose some data files.

The icon file, Welcome text, and initial config file are now chosen
based on the base name of the command being run.
So if "edlib" is copied to "elma", then "elma.ini" is used for config,
and "elma-icon.png" for an icon.
If the expected file isn't found, a file named for "edlib" is tried
instead.

This should make it easy to have have various commands providing
different interfaces.
 elma - EMACS mode
 elvi - VI mode
 elnm - notmuch email reader
 elpnt - presentation mode
 eled - editor with A binding.
maybe.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
Makefile
core-editor.c
core.h
display-x11-xcb.c
edlib.c