mu4e-view: re-enable the gnus/old split

re-enable the gnus/old split (the key was re-implementing
mu4e-view-message-text for gnus)

split helpers into mu4e-view-common

as a bonus 'go to url' now also works with gnus
This commit is contained in:
Dirk-Jan C. Binnema
2021-03-10 20:36:47 +02:00
parent 316633e1b2
commit e2655ba34b
7 changed files with 619 additions and 2073 deletions

View File

@ -47,6 +47,7 @@ mu4e_srcs=[
'mu4e-utils.el',
'mu4e-vars.el',
'mu4e-view.el',
'mu4e-view-common.el',
'mu4e-view-gnus.el',
'mu4e-view-old.el',
'obsolete/org-mu4e.el',
@ -57,10 +58,10 @@ foreach src : mu4e_srcs
target_path = join_paths(meson.current_build_dir(), target_name)
target_func = '(setq byte-compile-dest-file-function(lambda(_) "' + target_path + '"))'
custom_target(src.underscorify() + '_el',
build_by_default: true,
input: src,
output: target_name,
command: [emacs,
build_by_default: true,
input: src,
output: target_name,
command: [emacs,
'--no-init-file',
'--batch',
'--eval', target_func,