Flyspell mode uses a special setting for message-mode to not
spell-check message headers except Subject. Apply this setting also to
notmuch-message-mode.
---
emacs/notmuch-mua.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index fd98ea4..466edd
add_files_recursive has been renamed add_files long ago.
---
notmuch-new.c| 15 +++
test/T050-new.sh | 40
2 files changed, 27 insertions(+), 28 deletions(-)
diff --git a/notmuch-new.c b/notmuch-new.c
index d45d0af8642a..e5037761c8ee 100644
Also advise the user how to ignore them explicitly.
---
notmuch-new.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/notmuch-new.c b/notmuch-new.c
index d06f9c906fc6..8d942507364a 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -54,6 +54,7 @@ typedef struct {
int total_files;
Make it easy to add new entries to string list configs. For example,
'notmuch config append new.ignore my-non-mail-file'.
---
notmuch-config.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/notmuch-config.c b/notmuch-config.c
index d252bb25d4bb
Keep the existing strcmp on the basename for backwards compatibility,
and additionally use the new.ignore entries as fnmatch(3) patterns on
the absolute filename. Note that it's not enough to add e.g. "foo*bar"
to the list; you will need to do "*/foo*bar" to match the path also.
---
notmuch-new.c
This series adds globbing support to new.ignore using fnmatch(3). Just
an RFC for starters because it's missing tests and man pages
etc. There's some cleanup patches first, and then 'notmuch config
append' command to make it easier to add new ignores to the list.
BR,
Jani.
Jani Nikula (5):
cli
Split file ignores in count_files to fixed and user configured in
order to not have to call _entry_in_ignore_list twice when debugging
is enabled. Minor detail.
---
notmuch-new.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/notmuch-new.c b/notmuch-new.c
i
Recent addition of notmuch-message-mode introduced a few regressions.
I use message-setup-hook to set some buffer local variables and this
stopped working. The reason is that notmuch-message-mode, which cleans
all buffer local variables, is called after calling message-mail,
which calls the message