From 74108100d69a386cef78f649dc637cebc8610ba7 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 15 Jan 2025 19:24:32 +0200 Subject: [PATCH] build: include IDEAS.org, mu4e command Include the IDEAS.org with installed data; add a command mu4e-ideas. --- meson.build | 5 +++-- mu4e/meson.build | 3 ++- mu4e/mu4e-main.el | 7 ++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index e1705847..e8cebe9c 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -## Copyright (C) 2022-2024 Dirk-Jan C. Binnema +## Copyright (C) 2022-2025 Dirk-Jan C. Binnema ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -282,7 +282,8 @@ configure_file(input: join_paths(build_aux, 'version.texi.in'), ################################################################################ # install some data files -install_data('NEWS.org', install_dir : join_paths(datadir,'doc', 'mu')) +install_data('NEWS.org', 'IDEAS.org', + install_dir : join_paths(datadir, 'doc', 'mu')) ################################################################################ # subdirs diff --git a/mu4e/meson.build b/mu4e/meson.build index 664946af..da3e2daa 100644 --- a/mu4e/meson.build +++ b/mu4e/meson.build @@ -1,4 +1,4 @@ -## Copyright (C) 2022-2024 Dirk-Jan C. Binnema +## Copyright (C) 2022-2025 Dirk-Jan C. Binnema ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -88,6 +88,7 @@ foreach src : mu4e_srcs # see: https://debbugs.gnu.org/db/47/47987.html configure_file(input: src, output:'@BASENAME@.el', copy:true, install_mode: 'r--r--r--') + # seems meson ignores 'install_mode' for copy (1.5.1, 1.6.1) custom_target(src.underscorify() + '_el', build_by_default: true, diff --git a/mu4e/mu4e-main.el b/mu4e/mu4e-main.el index a4c87946..5a04cc7d 100644 --- a/mu4e/mu4e-main.el +++ b/mu4e/mu4e-main.el @@ -89,10 +89,15 @@ the personal addresses." (mu4e-info (mu4e-join-paths mu4e-doc-dir "mu4e-about.org"))) (defun mu4e-news () - "Show page with news for the current version of mu4e." + "Show news for the current version of mu and mu4e." (interactive) (mu4e-info (mu4e-join-paths mu4e-doc-dir "NEWS.org"))) +(defun mu4e-ideas () + "Show development ideas for mu and mu4e." + (interactive) + (mu4e-info (mu4e-join-paths mu4e-doc-dir "IDEAS.org"))) + (defun mu4e-baseline-time () "Show the baseline time." (interactive)