mirror of https://github.com/djcb/mu.git
mu: remove mfind command
Better document what find does instead.
This commit is contained in:
parent
934adae70a
commit
06c9b17a4e
6
NEWS.org
6
NEWS.org
|
@ -29,9 +29,6 @@
|
||||||
- The ~--xbatchsize~ and ~--autoupgrade~ options for indexing are gone now; both
|
- The ~--xbatchsize~ and ~--autoupgrade~ options for indexing are gone now; both
|
||||||
are determined implicitly now.
|
are determined implicitly now.
|
||||||
|
|
||||||
- There is a new sub-command ~mfind~, which works just like ~find~, but uses
|
|
||||||
some mu4e-defaults ~--skip-dups~ and ~--include-related~.
|
|
||||||
|
|
||||||
*** mu4e
|
*** mu4e
|
||||||
|
|
||||||
- In many cases, ~mu4e~ used to receive /all/ contacts after each indexing
|
- In many cases, ~mu4e~ used to receive /all/ contacts after each indexing
|
||||||
|
@ -53,6 +50,9 @@
|
||||||
But it's available now for testing. Note that this requires the gnus-based
|
But it's available now for testing. Note that this requires the gnus-based
|
||||||
viewer, ie ~(setq mu4e-view-use-gnus t)~
|
viewer, ie ~(setq mu4e-view-use-gnus t)~
|
||||||
|
|
||||||
|
- In addition, he added support for custom headers, so the ones for for the
|
||||||
|
non-gnus-view should work just as well.
|
||||||
|
|
||||||
- Pierre Neidhardt contributed an "Account Setup Helper" which wraps the
|
- Pierre Neidhardt contributed an "Account Setup Helper" which wraps the
|
||||||
existing context setup with some niceties for accounts. See the manual for
|
existing context setup with some niceties for accounts. See the manual for
|
||||||
details.
|
details.
|
||||||
|
|
|
@ -34,14 +34,4 @@ dist_man_MANS = \
|
||||||
mu-script.1 \
|
mu-script.1 \
|
||||||
mu-verify.1 \
|
mu-verify.1 \
|
||||||
mu-view.1 \
|
mu-view.1 \
|
||||||
mu.1 \
|
mu.1
|
||||||
$(BUILT_SOURCES)
|
|
||||||
|
|
||||||
BUILT_SOURCES= \
|
|
||||||
mu-mfind.1
|
|
||||||
|
|
||||||
mu-mfind.1: mu-find.1
|
|
||||||
cp -f $< $@
|
|
||||||
|
|
||||||
CLEANFILES= \
|
|
||||||
$(BUILT_SOURCES)
|
|
||||||
|
|
|
@ -222,13 +222,6 @@ set_group_find_defaults (void)
|
||||||
get_output_format (MU_CONFIG.formatstr);
|
get_output_format (MU_CONFIG.formatstr);
|
||||||
|
|
||||||
expand_dir (MU_CONFIG.linksdir);
|
expand_dir (MU_CONFIG.linksdir);
|
||||||
|
|
||||||
if (MU_CONFIG.cmd == MU_CONFIG_CMD_MFIND) {
|
|
||||||
/* 'mfind' --> find with mu4e defaults */
|
|
||||||
MU_CONFIG.include_related = TRUE;
|
|
||||||
MU_CONFIG.skip_dups = TRUE;
|
|
||||||
MU_CONFIG.cmd = MU_CONFIG_CMD_FIND;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GOptionGroup*
|
static GOptionGroup*
|
||||||
|
@ -492,7 +485,6 @@ cmd_from_string (const char *str)
|
||||||
{ "index", MU_CONFIG_CMD_INDEX },
|
{ "index", MU_CONFIG_CMD_INDEX },
|
||||||
{ "info", MU_CONFIG_CMD_INFO },
|
{ "info", MU_CONFIG_CMD_INFO },
|
||||||
{ "init", MU_CONFIG_CMD_INIT },
|
{ "init", MU_CONFIG_CMD_INIT },
|
||||||
{ "mfind", MU_CONFIG_CMD_MFIND },
|
|
||||||
{ "mkdir", MU_CONFIG_CMD_MKDIR },
|
{ "mkdir", MU_CONFIG_CMD_MKDIR },
|
||||||
{ "remove", MU_CONFIG_CMD_REMOVE },
|
{ "remove", MU_CONFIG_CMD_REMOVE },
|
||||||
{ "script", MU_CONFIG_CMD_SCRIPT },
|
{ "script", MU_CONFIG_CMD_SCRIPT },
|
||||||
|
@ -566,7 +558,6 @@ get_option_group (MuConfigCmd cmd)
|
||||||
case MU_CONFIG_CMD_EXTRACT:
|
case MU_CONFIG_CMD_EXTRACT:
|
||||||
return config_options_group_extract();
|
return config_options_group_extract();
|
||||||
case MU_CONFIG_CMD_FIND:
|
case MU_CONFIG_CMD_FIND:
|
||||||
case MU_CONFIG_CMD_MFIND:
|
|
||||||
return config_options_group_find();
|
return config_options_group_find();
|
||||||
case MU_CONFIG_CMD_INDEX:
|
case MU_CONFIG_CMD_INDEX:
|
||||||
return config_options_group_index();
|
return config_options_group_index();
|
||||||
|
|
|
@ -71,7 +71,6 @@ typedef enum {
|
||||||
MU_CONFIG_CMD_INDEX,
|
MU_CONFIG_CMD_INDEX,
|
||||||
MU_CONFIG_CMD_INFO,
|
MU_CONFIG_CMD_INFO,
|
||||||
MU_CONFIG_CMD_INIT,
|
MU_CONFIG_CMD_INIT,
|
||||||
MU_CONFIG_CMD_MFIND,
|
|
||||||
MU_CONFIG_CMD_MKDIR,
|
MU_CONFIG_CMD_MKDIR,
|
||||||
MU_CONFIG_CMD_REMOVE,
|
MU_CONFIG_CMD_REMOVE,
|
||||||
MU_CONFIG_CMD_SCRIPT,
|
MU_CONFIG_CMD_SCRIPT,
|
||||||
|
|
Loading…
Reference in New Issue