rename: No such file or directory (errno = 2)
by Vladimir Marek
Hi,
Since I'm usually using several mail clients (from phone, old mutt,
mutt-kz) it happens quite often that mutt complains.
rename: No such file or directory (errno = 2)
and the only thing I can do about it is to kill whole mutt. What I
believe is happening is that if I view unread mail, mutt remembers that
it has to move the mail once it leaves current inbox. But before that,
someone else touches the mail (probably moving the message from 'new'
directory to 'cur'. After that mutt-kz can't find the original file and
complains with the error message.
This seems to be problem in the mutt maildir handling rather than in the
notmuch addon, still I wonder if you saw that or even better have some
plans on tackling that :)
Cheers
--
Vlad
10 years
omit inbox tag on sent folder
by R. Andrew Bailey
I've been using mutt-kz for several months and absolutely love it. I
suspect this is a dumb question, so apologies in advance.
I use 'set record="+sent"', and I find that my sent mail is
automatically indexed (good), but that it gets tagged as +inbox. I
considered adding sent to the new.ignore option in notmuch-config, but
I definitely like having it indexed.
I'm thinking I can ignore sent and then use a post send hook to index
my sentmail folder without adding +inbox, but I'm guessing there may
be some simpler way to do this. Any advice appreciated.
.andy
10 years, 6 months
[PATCH] notmuch: hide signed and encrypted tags by default
by David Sterba
Mutt shows signed/encrypted status in another way and occupies only 1
char in index line. Hide the tags by default and leave more space for
other tags.
Signed-off-by: David Sterba <dsterba(a)suse.cz>
---
init.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init.h b/init.h
index 478ea5b..2edb02a 100644
--- a/init.h
+++ b/init.h
@@ -1607,7 +1607,7 @@ struct option_t MuttVars[] = {
** notmuch://<absolute path>.
*/
- { "nm_hidden_tags", DT_STR, R_NONE, UL &NotmuchHiddenTags, UL "unread,draft,flagged,passed,replied,attachment" },
+ { "nm_hidden_tags", DT_STR, R_NONE, UL &NotmuchHiddenTags, UL "unread,draft,flagged,passed,replied,attachment,signed,encrypted" },
/*
** .pp
** This variable specifies private notmuch tags which should not be printed
--
1.8.0.2
10 years, 6 months
tags browser
by Vladimir Marek
Hi,
I'm playing with notumuch and mutt-kz trying to find out my optimal
setup. For this I often want to see what tags have give message(s)
assigned to them. I found some spare time on weekend I devoted to that,
which resulted in the attached patch. It's alpha version, so it's in no
way complete, bug free etc. But it can display tags assigned to given
message(s). What I want to achieve in the end is
- display the tags in browser (similarly to how you browse available
mailboxes for example) (done)
- display how many messages from the group has given tag assigned
- ability to add/remove the tags directly from browser. Ideally the
browser would just remember which tags you added/removed and later it
would call 'modify-labels' which would do rest of the work.
Comments welcome.
Cheers
--
Vlad
10 years, 7 months
state of the fork
by Douglas Campos
Howdy!
After getting frustrated with mutt's development pace, I've ended here.
Tons of questions:
- What's the state of the fork?
- Is there any plans of doing a release?
- What about cleaning all the hg stuff from the repo since we've moved
to git (volunteering myself)
- What to do with all those open pull requests?
- Any reason for not renaming the target executable to mutt-kz?
Thanks!
--
qmx
10 years, 7 months
[PATCH] Add strndup implementation for systems with lack of it
by Vladimir Marek
From: Vladimir Marek <vlmarek(a)volny.cz>
Solaris 10 FCS (first release) does not have strndup implementation.
Signed-off-by: Vladimir Marek <vlmarek(a)volny.cz>
---
configure.ac | 2 +-
strndup.c | 23 +++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletion(-)
create mode 100644 strndup.c
diff --git a/configure.ac b/configure.ac
index a92e81c..5d20cd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,7 +371,7 @@ AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_FUNCS(fgetpos memmove setegid srand48 strerror)
-AC_REPLACE_FUNCS([setenv strcasecmp strdup strsep strtok_r wcscasecmp])
+AC_REPLACE_FUNCS([setenv strcasecmp strdup strsep strtok_r wcscasecmp strndup])
AC_REPLACE_FUNCS([strcasestr mkdtemp])
AC_CHECK_FUNC(getopt)
diff --git a/strndup.c b/strndup.c
new file mode 100644
index 0000000..81557ba
--- /dev/null
+++ b/strndup.c
@@ -0,0 +1,23 @@
+/* Solaris 10 FCS does not have strndup */
+
+#include <string.h>
+#include <stdlib.h>
+
+char *
+strndup(const char *s, size_t n)
+{
+ size_t len;
+ char *ret;
+
+ if (!s)
+ return (char *)NULL;
+
+ len = strlen(s);
+ if (n < len)
+ len = n;
+
+ ret = malloc(len + 1); /* To store '\0' */
+ memcpy(ret, s, len);
+ ret[len] = '\0';
+ return ret;
+}
--
1.7.9.2
10 years, 7 months