conststrings.c
git_ver.h
hcache/hcversion.h
-keymap_defs.h
mutt
mutt_md5
pgpewrap
distdir = neo$(PACKAGE)-$(VERSION)
-BUILT_SOURCES = conststrings.c git_ver.h keymap_defs.h
+BUILT_SOURCES = conststrings.c git_ver.h
bin_PROGRAMS = mutt $(PGPAUX_TARGET)
EXTRA_DIST = account.h attach.h bcache.h browser.h buffy.h \
ChangeLog.md charset.h CODE_OF_CONDUCT.md compress.h copy.h \
- COPYRIGHT filter.h functions.h gen_defs globals.h \
+ COPYRIGHT filter.h functions.h globals.h \
group.h history.h init.h keymap.h LICENSE.md mailbox.h \
mapping.h mbyte.h mime.h mime.types mutt.h mutt_commands.h \
mutt_curses.h mutt_idna.h mutt_lua.h mutt_menu.h mutt_notmuch.h \
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version
-keymap_defs.h: $(OPS) $(srcdir)/gen_defs
- $(srcdir)/gen_defs $(OPS) > $@
-
git_ver.h: $(mutt_SOURCES) $(SUBDIRS)
version=`git describe --dirty --abbrev=6 --match "neomutt-*" 2> /dev/null | sed -e 's/^neomutt-[0-9]\{8\}//' -e 's/g//'`; \
echo 'const char *GitVer = "'$$version'";' > git_ver.h.tmp; \
#include "format_flags.h"
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mapping.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "rfc822.h"
#include "format_flags.h"
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mailbox.h"
#include "mapping.h"
#include "mutt_regex.h"
#include "mutt_socket.h"
#include "mx.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "sort.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mailbox.h"
#include "mutt_socket.h"
#include "mx.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "rfc1524.h"
#include "mutt.h"
#include "enter_state.h"
#include "globals.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mbyte.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "mutt_regex.h"
+#include "opcodes.h"
#include "options.h"
#include "pager.h"
#include "protos.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mailbox.h"
#include "mutt_socket.h"
#include "mx.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "pattern.h"
#include "protos.h"
#include "globals.h"
#include "history.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mbyte.h"
#include "mutt_curses.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#else
#include <stddef.h>
#include "keymap.h"
-#include "keymap_defs.h"
+#include "opcodes.h"
#endif
// clang-format off
+++ /dev/null
-#!/bin/sh
-
-echo '#ifndef _MUTT_KEYMAP_DEFS_H'
-echo '#define _MUTT_KEYMAP_DEFS_H 1'
-echo ''
-echo '/* Automatically generated by gen_defs. Do not edit! */'
-echo ''
-
-for mode in help defs; do
- case $mode in
- help)
- echo "#ifdef HELP_C"
- echo "const char *HelpStrings[] = {"
- expr='s;^[^ ]* *\(.*\); N_(\1),;'
- ;;
- *)
- echo "enum {"
- expr='s;^\([^ ]*\).*; \1,;'
- ;;
- esac
- for i in $*; do
- sed -e '/^\/\*/d' -e "$expr" < $i
- done
- if test $mode = help; then
- echo ' NULL'
- else
- echo ' OP_MAX'
- fi
- echo "};"
- if test $mode = help; then
- echo "#endif /* MAIN_C */"
- echo ''
- fi
-done
-echo '#endif /* _MUTT_KEYMAP_DEFS_H */'
-
-exit 0
#include "filter.h"
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mime.h"
#include "mutt_curses.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "parameter.h"
#include "protos.h"
#include <wchar.h>
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mapping.h"
#include "mbyte.h"
#include "mutt_curses.h"
+#include "opcodes.h"
#include "options.h"
#include "pager.h"
#include "protos.h"
#include "keymap.h"
#include "functions.h"
#include "globals.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mapping.h"
#include "mutt.h"
#include "mutt_curses.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#ifdef USE_IMAP
#include "context.h"
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mbyte.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "mutt_regex.h"
+#include "opcodes.h"
#include "options.h"
#include "pattern.h"
#include "protos.h"
#include "account.h"
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mutt_idna.h"
#include "mutt_menu.h"
#include "mutt_socket.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "account.h"
#include "globals.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mutt_menu.h"
#include "mutt_regex.h"
#include "mutt_socket.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mailbox.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "pattern.h"
#include "protos.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mime.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "pager.h"
#include "parameter.h"
#include "globals.h"
#include "gnupgparse.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mime.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "pager.h"
#include "pgp.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mime.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "parameter.h"
#include "protos.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mailbox.h"
#include "mapping.h"
#include "mutt_regex.h"
#include "mx.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "pattern.h"
#include "protos.h"
#include "globals.h"
#include "group.h"
#include "header.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mailbox.h"
#include "mutt_menu.h"
#include "mutt_regex.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "state.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mailbox.h"
#include "mime.h"
#include "mutt_menu.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "parameter.h"
#include "protos.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mapping.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
#include "mutt_menu.h"
+#include "opcodes.h"
#include "protos.h"
#include "rfc822.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mailbox.h"
#include "mapping.h"
#include "mutt_menu.h"
#include "mx.h"
#include "ncrypt/ncrypt.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "rfc1524.h"
#include "globals.h"
#include "header.h"
#include "keymap.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "list.h"
#include "mapping.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "rfc822.h"
#include "context.h"
#include "format_flags.h"
#include "globals.h"
-#include "keymap_defs.h"
#include "lib/lib.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "mx.h"
+#include "opcodes.h"
#include "options.h"
#include "protos.h"
#include "sort.h"
* @param op Operation code
*
* Change the selected mailbox, e.g. "Next mailbox", "Previous Mailbox
- * with new mail". The operations are listed OPS.SIDEBAR which is built
- * into an enum in keymap_defs.h.
+ * with new mail". The operations are listed in opcodes.h.
*
* If the operation is successful, HilBuffy will be set to the new mailbox.
* This function only *selects* the mailbox, doesn't *open* it.