From 9019408862e61c0cf7f1646c39227759acc01abe Mon Sep 17 00:00:00 2001 From: Watson Wheeler Date: Tue, 14 Jul 2026 21:42:02 +1000 Subject: wip! --- scripts/Doxyfile | 0 scripts/email_issue.c | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 scripts/Doxyfile diff --git a/scripts/Doxyfile b/scripts/Doxyfile new file mode 100644 index 0000000..e69de29 diff --git a/scripts/email_issue.c b/scripts/email_issue.c index 6a47d6b..f4801d6 100644 --- a/scripts/email_issue.c +++ b/scripts/email_issue.c @@ -11,7 +11,7 @@ void make_template(bool verbose) { char tmp_template[] = "/tmp/email_issue_XXXXXX"; int fd = mkstemp(tmp_template); - const char *issue_template = + const char issue_template[] = "# Lines beginning with hashtags (like this one) are generated by the template.\n" "# They are not included in the issue.\n" "# Leave a newline at the bottom\n" @@ -40,6 +40,9 @@ void make_template(bool verbose) { "[TYPE LEVEL] Issue title (doe)\n\n" "Your issue description here...\n\n" "@@END-OF-ISSUE@@\n"; + + char cmd[300]; + snprintf(cmd, sizeof(cmd), "vim -f %s", tmpfile); // TODO: Make this use $EDITOR in the future. or not. vim works fine } int main (int argc, char *argv[]) -- cgit v1.2.3