]> git.neil.brown.name Git - edlib.git/commitdiff
Split module list into a separate ini file
authorNeilBrown <neil@brown.name>
Tue, 27 Jun 2023 22:20:03 +0000 (08:20 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 07:51:41 +0000 (17:51 +1000)
One day the list of module dependencies will be mechanically generated
from all available modules.  To prepare for that, and to keep edlib.ini
small, split out modules.ini.

Signed-off-by: NeilBrown <neil@brown.name>
edlib.ini
modules.ini [new file with mode: 0644]

index 6fb466e8074cebfa47863a02536e8afaed1755ba..b4e071ce9078646819fce8df4338d9715ee13635 100644 (file)
--- a/edlib.ini
+++ b/edlib.ini
@@ -1,155 +1,5 @@
-
-[module]
-
-lang-python = global-load-modules:python
-
-lib-popup = PopupTile
-lib-linecount =
-       Countlines
-       CountLinesAsync
-lib-search =
-       text-search
-       text-match
-       make-search
-       text-equals
-doc-text =
-       attach-doc-text
-       open-doc-text
-doc-dir =
-       attach-doc-dir
-       open-doc-dir
-doc-email =
-       open-doc-email
-       attach-email-view
-
-display-x11-xcb =
-       interactive-cmd-x11window
-       attach-display-x11
-display-pygtk =
-       interactice-cmd-gtkwindow
-       attach-display-gtk
-
-render-hex =
-       attach-render-hex
-       doc:appeared-hex
-render-present =
-       attach-markdown-present
-       attach-present
-       doc:appeared-present
-render-lines =
-       attach-render-lines
-       attach-render-text
-render-format = attach-render-format
-render-c-mode =
-       doc:appeared-c-mode
-       doc:appeared-py-mode
-       interactive-cmd-indent
-
-lib-viewer =
-       attach-viewer
-       doc:appeared-viewer
-lib-qprint =
-       attach-quoted_printable
-       attach-qprint
-lib-copybuf =
-       copy:save
-       copy:get
-lib-colourmap = colour:map
-lib-textfill =
-       attach-textfill
-       interactive-cmd-fill-mode
-lib-autosave =
-       startup-autosave
-       interactice-cmd-recover
-       doc:appeared-check-autosave
-lib-make =
-       interactive-cmd-make
-       interactive-cmd-grep
-       interactive-cmd-git-grep
-       interactive-cmd-next-match
-lib-server = 
-       startup-server
-       interactive-cmd-server-start
-lib-macro = macro:capture
-lib-aspell =
-       Spell:Check
-       Spell:Suggest
-       Spell:ThisWord
-       Spell:NextWord
-lib-calc =
-       CalcExpr
-       interactive-cmd-calc-replace
-render-calc =
-       interactive-cmd-calc
-       doc:appeared-calc
-lib-mergeview =
-       interactice-cmd-merge-mode
-       doc:appeared-mergeview
-lib-compose-email = attach-compose-email
-lib-autospell =
-       interactive-cmd-autospell
-       attach-autospell
-lib-whitespace =
-       attach-whitespace
-       interactice-cmd-whitespace-mode
-lib-x11selection-xcb = attach-x11selection
-lib-url =
-       url:mark-up
-       attach-render-url-view
-lib-diff =
-       attach-diff
-       interactive-cmd-diff-mode
-lib-wiggle = MakeWiggle
-
-module-notmuch =
-       interactive-cmd-nm
-       interactive-cmd-nmc
-       interactive-cmd-nms
-
-emacs-search =
-       attach-emacs-search
-       attach-emacs-search-highlight
-
-lib-html-to-text = html-to-text
-lib-html-w3m = html-to-text-w3m
-lib-pdf-to-text = pdf-to-text
-lib-doc-to-text = doc-to-text
-lib-ical-to-text = ical-to-text
-lib-utf8 =
-       attach-charset-utf-8
-       attach-utf8
-lib-charset =
-       PREFIX attach-charset-windows-
-       PREFIX attach-charset-iso-8859-
-       attach-charset-us-ascii
-       PREFIX charset-to-utf8-windows-
-       PREFIX charset-to-utf8-iso-8859-
-
-
-doc-docs = attach-doc-docs
-doc-list = attach-doc-list
-doc-multipart = attach-doc-multipart
-render-complete = attach-render-complete
-mode-emacs = attach-mode-emacs
-display-ncurses = attach-display-ncurses
-lib-abbrev = attach-abbrev
-lib-base64 = attach-base64
-lib-crop = attach-crop
-lib-history = attach-history
-lib-input = attach-input
-lib-keymap = attach-keymap
-lib-libevent = attach-libevent
-lib-linefilter = attach-linefilter
-lib-markup = attach-markup
-lib-menu = attach-menu
-lib-messageline = attach-messageline
-lib-renderline = attach-renderline
-lib-rfc822header = attach-rfc822header
-lib-tile = attach-tile
-lib-view = attach-view
-lib-keymap = attach-global-keymap
-lib-glibevents = attach-glibevents
-lib-shellcmd = attach-shellcmd
+[include]
+include = modules.ini
 
 [file:COMMIT_EDITMSG*]
 APPEND view-default = ,textfill,whitespace,autospell
diff --git a/modules.ini b/modules.ini
new file mode 100644 (file)
index 0000000..dffab4b
--- /dev/null
@@ -0,0 +1,153 @@
+# One day this will be automatically generated from all
+# modules found in the module path
+[module]
+
+lang-python = global-load-modules:python
+
+lib-popup = PopupTile
+lib-linecount =
+       Countlines
+       CountLinesAsync
+lib-search =
+       text-search
+       text-match
+       make-search
+       text-equals
+doc-text =
+       attach-doc-text
+       open-doc-text
+doc-dir =
+       attach-doc-dir
+       open-doc-dir
+doc-email =
+       open-doc-email
+       attach-email-view
+
+display-x11-xcb =
+       interactive-cmd-x11window
+       attach-display-x11
+display-pygtk =
+       interactice-cmd-gtkwindow
+       attach-display-gtk
+
+render-hex =
+       attach-render-hex
+       doc:appeared-hex
+render-present =
+       attach-markdown-present
+       attach-present
+       doc:appeared-present
+render-lines =
+       attach-render-lines
+       attach-render-text
+render-format = attach-render-format
+render-c-mode =
+       doc:appeared-c-mode
+       doc:appeared-py-mode
+       interactive-cmd-indent
+
+lib-viewer =
+       attach-viewer
+       doc:appeared-viewer
+lib-qprint =
+       attach-quoted_printable
+       attach-qprint
+lib-copybuf =
+       copy:save
+       copy:get
+lib-colourmap = colour:map
+lib-textfill =
+       attach-textfill
+       interactive-cmd-fill-mode
+lib-autosave =
+       startup-autosave
+       interactice-cmd-recover
+       doc:appeared-check-autosave
+lib-make =
+       interactive-cmd-make
+       interactive-cmd-grep
+       interactive-cmd-git-grep
+       interactive-cmd-next-match
+lib-server = 
+       startup-server
+       interactive-cmd-server-start
+lib-macro = macro:capture
+lib-aspell =
+       Spell:Check
+       Spell:Suggest
+       Spell:ThisWord
+       Spell:NextWord
+lib-calc =
+       CalcExpr
+       interactive-cmd-calc-replace
+render-calc =
+       interactive-cmd-calc
+       doc:appeared-calc
+lib-mergeview =
+       interactice-cmd-merge-mode
+       doc:appeared-mergeview
+lib-compose-email = attach-compose-email
+lib-autospell =
+       interactive-cmd-autospell
+       attach-autospell
+lib-whitespace =
+       attach-whitespace
+       interactice-cmd-whitespace-mode
+lib-x11selection-xcb = attach-x11selection
+lib-url =
+       url:mark-up
+       attach-render-url-view
+lib-diff =
+       attach-diff
+       interactive-cmd-diff-mode
+lib-wiggle = MakeWiggle
+
+module-notmuch =
+       interactive-cmd-nm
+       interactive-cmd-nmc
+       interactive-cmd-nms
+
+emacs-search =
+       attach-emacs-search
+       attach-emacs-search-highlight
+
+lib-html-to-text = html-to-text
+lib-html-w3m = html-to-text-w3m
+lib-pdf-to-text = pdf-to-text
+lib-doc-to-text = doc-to-text
+lib-ical-to-text = ical-to-text
+lib-utf8 =
+       attach-charset-utf-8
+       attach-utf8
+lib-charset =
+       PREFIX attach-charset-windows-
+       PREFIX attach-charset-iso-8859-
+       attach-charset-us-ascii
+       PREFIX charset-to-utf8-windows-
+       PREFIX charset-to-utf8-iso-8859-
+
+
+doc-docs = attach-doc-docs
+doc-list = attach-doc-list
+doc-multipart = attach-doc-multipart
+render-complete = attach-render-complete
+mode-emacs = attach-mode-emacs
+display-ncurses = attach-display-ncurses
+lib-abbrev = attach-abbrev
+lib-base64 = attach-base64
+lib-crop = attach-crop
+lib-history = attach-history
+lib-input = attach-input
+lib-keymap = attach-keymap
+lib-libevent = attach-libevent
+lib-linefilter = attach-linefilter
+lib-markup = attach-markup
+lib-menu = attach-menu
+lib-messageline = attach-messageline
+lib-renderline = attach-renderline
+lib-rfc822header = attach-rfc822header
+lib-tile = attach-tile
+lib-view = attach-view
+lib-keymap = attach-global-keymap
+lib-glibevents = attach-glibevents
+lib-shellcmd = attach-shellcmd