]> granicus.if.org Git - neomutt/log
neomutt
9 years agomerge: fmemopen
Richard Russon [Tue, 12 Apr 2016 13:18:18 +0000 (14:18 +0100)]
merge: fmemopen

 * change wiki references to website

9 years agomerge: ifdef
Richard Russon [Tue, 12 Apr 2016 13:18:17 +0000 (14:18 +0100)]
merge: ifdef

 * change wiki references to website

9 years agomerge: sidebar
Richard Russon [Tue, 12 Apr 2016 13:18:15 +0000 (14:18 +0100)]
merge: sidebar

 * change wiki references to website

9 years agomerge: tls-sni
Richard Russon [Tue, 12 Apr 2016 02:30:16 +0000 (03:30 +0100)]
merge: tls-sni

 * change wiki references to website

9 years agomerge: cond-date
Richard Russon [Tue, 12 Apr 2016 02:30:15 +0000 (03:30 +0100)]
merge: cond-date

 * change wiki references to website

9 years agomerge: nested-if
Richard Russon [Tue, 12 Apr 2016 02:30:14 +0000 (03:30 +0100)]
merge: nested-if

 * change wiki references to website

9 years agomerge: index-color
Richard Russon [Tue, 12 Apr 2016 02:30:13 +0000 (03:30 +0100)]
merge: index-color

 * change wiki references to website

9 years agomerge: status-color
Richard Russon [Tue, 12 Apr 2016 02:30:13 +0000 (03:30 +0100)]
merge: status-color

 * change wiki references to website

9 years agomerge: progress
Richard Russon [Tue, 12 Apr 2016 02:30:12 +0000 (03:30 +0100)]
merge: progress

 * change wiki references to website

9 years agomerge: quasi-delete
Richard Russon [Tue, 12 Apr 2016 02:30:11 +0000 (03:30 +0100)]
merge: quasi-delete

 * change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:01:37 +0000 (19:01 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:01:44 +0000 (19:01 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:02:12 +0000 (19:02 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:02:21 +0000 (19:02 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:01:23 +0000 (19:01 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:01:57 +0000 (19:01 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:01:47 +0000 (19:01 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:02:19 +0000 (19:02 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:02:03 +0000 (19:02 +0100)]
change wiki references to website

9 years agochange wiki references to website
Richard Russon [Mon, 11 Apr 2016 18:02:07 +0000 (19:02 +0100)]
change wiki references to website

9 years agomarkdown version of gpl
Richard Russon [Mon, 11 Apr 2016 00:33:33 +0000 (01:33 +0100)]
markdown version of gpl

9 years agoexpand README
Richard Russon [Mon, 11 Apr 2016 00:26:45 +0000 (01:26 +0100)]
expand README

9 years agochange contact information
Richard Russon [Mon, 11 Apr 2016 00:16:38 +0000 (01:16 +0100)]
change contact information

9 years agoadd missing version identifier
Richard Russon [Sun, 10 Apr 2016 22:13:29 +0000 (23:13 +0100)]
add missing version identifier

USE_SIDEBAR, in version.c, got lost in the merge into neomutt

9 years agomerge: sidebar fix
Richard Russon [Thu, 7 Apr 2016 20:46:40 +0000 (21:46 +0100)]
merge: sidebar fix

 * Only sort the sidebar if we're asked to

9 years agoOnly sort the sidebar if we're asked to
Richard Russon [Thu, 7 Apr 2016 13:06:27 +0000 (14:06 +0100)]
Only sort the sidebar if we're asked to

fixes #11

9 years agodisable broken builds neomutt-20160404
Richard Russon [Mon, 28 Mar 2016 23:52:04 +0000 (00:52 +0100)]
disable broken builds

9 years agotravis build matrix
Richard Russon [Mon, 28 Mar 2016 23:40:13 +0000 (00:40 +0100)]
travis build matrix

9 years agotravis: build notmuch and sidebar
Richard Russon [Mon, 28 Mar 2016 16:45:41 +0000 (17:45 +0100)]
travis: build notmuch and sidebar

9 years agodrop all mercurial references
Richard Russon [Mon, 28 Mar 2016 16:10:58 +0000 (17:10 +0100)]
drop all mercurial references

9 years agoadd some neomutt docs
Richard Russon [Fri, 25 Mar 2016 18:30:01 +0000 (18:30 +0000)]
add some neomutt docs

9 years agoBuild fix for broken merge
Richard Russon [Sun, 20 Mar 2016 01:40:44 +0000 (01:40 +0000)]
Build fix for broken merge

9 years agoTravisCI
Richard Russon [Sun, 20 Mar 2016 01:12:17 +0000 (01:12 +0000)]
TravisCI

9 years agomerge: skip-quoted - configure quote lines context
Richard Russon [Mon, 4 Apr 2016 15:33:59 +0000 (16:33 +0100)]
merge: skip-quoted - configure quote lines context

 * Add skip_quoted_offset variable
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: limit-current-thread - only show the current thread
Richard Russon [Mon, 4 Apr 2016 15:33:49 +0000 (16:33 +0100)]
merge: limit-current-thread - only show the current thread

 * main: add command to limit to only current thread
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: trash - move 'deleted' emails to a trash bin
Richard Russon [Mon, 4 Apr 2016 15:33:38 +0000 (16:33 +0100)]
merge: trash - move 'deleted' emails to a trash bin

 * feature: trash folder
 * add purge function
 * add imap support
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: initials - expando for author's initials
Richard Russon [Mon, 4 Apr 2016 15:32:53 +0000 (16:32 +0100)]
merge: initials - expando for author's initials

 * feature: initials
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: fmemopen - use memory buffers instead of files
Richard Russon [Mon, 4 Apr 2016 15:32:47 +0000 (16:32 +0100)]
merge: fmemopen - use memory buffers instead of files

 * feature: fmemopen
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: ifdef - conditional config options
Richard Russon [Mon, 4 Apr 2016 15:32:38 +0000 (16:32 +0100)]
merge: ifdef - conditional config options

 * feature: ifdef
 * test for commands
 * tidy code
 * add docs
 * add ident to PATCHES
 * split out version info
 * add 'ifndef' command
 * add 'finish' function
 * document new commands
 * build without any network module
 * build fix for slang

9 years agomerge: notmuch - email search engine
Richard Russon [Mon, 4 Apr 2016 15:30:48 +0000 (16:30 +0100)]
merge: notmuch - email search engine

 * add basic files and build-sys stuff
 * add some vfolder functions
 * add 'virtual-mailboxes' parser
 * add notmuch::// uri
 * consolidate msg sync code
 * add context magic
 * add basic .muttrc variables
 * add basic functions
 * don't modify virtual folders' paths
 * add notmuch calls to mx_* API
 * add support to browser
 * change-vfolder, print folder info, etc.
 * add modify-label
 * update README.notmuch
 * fix CONTEXT->data->db usage
 * update README
 * header: add HEADER->free_cb() to free driver specific data
 * add <modify-labels-then-hide>
 * print vfolder description on status bar
 * properly update context numbers
 * add virtual spoolfile
 * small refactoring
 * implement nm_check_database()
 * support default db uri
 * add debug messages
 * update README
 * improve virtual_mailboxes command, update docs
 * improve nm_unread_tag setting
 * fix compilation error at get_nm_message()
 * add ML to README
 * add support for virtual folders, add sidebar-toggle command
 * docs: add note about sidebar to notmuch docs
 * fix segfault when exiting with 'x' key
 * build-sys: fix compilation without --enable-notmuch
 * Grammar and typo fixes.
 * add note about notmuch version requirement
 * fix a bug with processing mailboxes when they are all virtual.
 * cleanup private notmuch structs initialization
 * explicitly require notmuch context
 * use context data if possible rather than directly context
 * search in new/cur subfolders if DB is not up-to-date
 * remove extra slashes
 * fix sync
 * fix msg remove code
 * don't use uninitialized HEADER in nm_check_database()
 * add nm_open_timeout
 * fix prefixes in README
 * fix new->cur maildir move
 * make filename changes more robust
 * add NOTMUCH in show_version()
 * don't rename in DB before mx commit
 * allow to read whole-threads
 * fix nm_check_database to count new messages correctly
 * use the new notmuch api if available
 * use notmuch_status_t for DB open
 * use the Maildir if NotmuchDefaultUri is unset
 * sync flags for all duplicate messages
 * format: support optional modifier for g (notmuch labels)
 * print read progress of a query
 * mutt_nm_db_limit option defines a default limit
 * add note about nm_db_limit to README
 * add nm_query_type config file option
 * add notmuch_{query,message}_destroy to DB checker
 * docs: add link to notmuch mutttips
 * count messages for mutt progress bar
 * add %g examples
 * Fix auto_tag=yes for modify-labels* and quasi-delete
 * Add 'label' pattern modifier '~Y'
 * Plug a leaked notmuch DB handle in get_count()
 * Add nm_get_all_tags()
 * Add TAB completion of tag: names in <vfolder-from-query>
 * Add TAB completion of tag names in <modify-labels>*
 * Fix trivial documentation typoes
 * reuse connection in complete_all_nm_tags()
 * hide signed and encrypted tags by default
 * add $record support
 * sidebar: extend sidebar sort methods, add sort_sidebar=
 * add support for text transforms of tag names
 * fix corrupt viewing of messages
 * port the old index-color mutt patch to mutt-kz
 * added some documentation
 * clean up tags related code, improve %G
 * add nm_exclude_tags
 * fix buffer overflow, improve tag_list usage
 * always use notmuch message ID
 * add entire-thread command, cleanup progress bar code
 * improve entire-thread
 * add CH_VIRTUAL to allow to specify when use virtual headers
 * update DB on save-command
 * extend <change-vfolder> to accept folder name/uri
 * <change-vfolder> default to the next unread folder
 * don't close opened message after <modify-label>
 * search by vfolder name in browser
 * docs: update README.notmuch
 * docs: add UPDATING.kz
 * make %N optional for notmuch browser format
 * apply NotmuchExcludeTags to count queries
 * fix getting count of new messages for non-trivial query
 * get <entire-thread> work from pager context
 * use exclude tags for entrie-thread too
 * call notmuch_query_count_messages() more carefully
 * fix DB transaction balancing
 * update the header colors after modifying tags
 * fix nm_query_type=messages + query type=threads
 * docs: add to UPDATING.kz
 * enlarge query buffer
 * docs: add to UPDATING.kz
 * bypass data limit when expanding threads
 * mutt, Update 'unread' tag for all files mapped to msg
 * notmuch: update muttrc example
 * sidebar: folder may be virtual

9 years agosidebar: folder may be virtual
Karel Zak [Mon, 21 Mar 2016 17:09:17 +0000 (18:09 +0100)]
sidebar: folder may be virtual

The code assumes that sidebar has clue about all folders, but in
notmuch support may generate virtual folders on the fly from
notmuch queries.

Addresses: https://github.com/neomutt/neomutt/issues/7
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agonotmuch: update muttrc example
Karel Zak [Mon, 21 Mar 2016 10:25:08 +0000 (11:25 +0100)]
notmuch: update muttrc example

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agomutt, Update 'unread' tag for all files mapped to msg
Don Zickus [Fri, 11 Oct 2013 18:34:57 +0000 (11:34 -0700)]
mutt, Update 'unread' tag for all files mapped to msg

I ran into an issue where I would read an email in my inbox that was
sent to me and cc'd a mailing list and it would not remove the 'unread'
tag after syncing the mailbox.

Apparently, when nm_synci'ing the message, the local inbox copy would be
recognized as seen but the duplicate copy in the mailing list folder
would still be in the 'new' directory, so the 'unread' flag would not
be cleared.

The way the 'duplicate' messags where handled in 'rename_filename', it
appears after the add/remove the local copy of 'msg' was not updated
with the new paths.  I fixed this by destorying the message and then
re-reading it from the notmuch database.

However, the tags were still off.  I had to further call
'update_header_flags' to re-read the tags from the database (using
the updated paths) to clear the 'unread' tag.

Both of these changes seem to work as expected now.

Signed-off-by: Don Zickus <dzickus@redhat.com>
--

I am not too familar with this code, so my changes may not be
correct.  I do know they seem to work after a couple of days of
testing.

9 years agobypass data limit when expanding threads
Chris Mason [Wed, 23 Oct 2013 18:34:57 +0000 (11:34 -0700)]
bypass data limit when expanding threads

OP_MAIN_ENTIRE_THREAD will expand a partial thread, but it turns
into a noop when a given query is over the data limit.

This pushes the data limit calculation into the callers of
read_threads_query so the thread expansion code can by pass the
original data limit.

Signed-off-by: Chris Mason <clm@fb.com>
9 years agodocs: add to UPDATING.kz
Richard Russon [Thu, 25 Feb 2016 15:39:52 +0000 (15:39 +0000)]
docs: add to UPDATING.kz

9 years agoenlarge query buffer
Karel Zak [Sun, 27 Oct 2013 18:34:57 +0000 (11:34 -0700)]
enlarge query buffer

References: https://github.com/karelzak/mutt-kz/issues/67
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agodocs: add to UPDATING.kz
Richard Russon [Thu, 25 Feb 2016 15:39:03 +0000 (15:39 +0000)]
docs: add to UPDATING.kz

9 years agofix nm_query_type=messages + query type=threads
Josh Poimboeuf [Tue, 29 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix nm_query_type=messages + query type=threads

If the default query type is 'messages', and the specific query type is
'threads', make sure the query type is actually 'threads'.

9 years agoupdate the header colors after modifying tags
Philippe Le Brouster [Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)]
update the header colors after modifying tags

The header color depends on tags. The message header color must be
updated after modifying message tags.

9 years agofix DB transaction balancing
Karel Zak [Sun, 6 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix DB transaction balancing

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agocall notmuch_query_count_messages() more carefully
Karel Zak [Wed, 2 Oct 2013 18:34:57 +0000 (11:34 -0700)]
call notmuch_query_count_messages() more carefully

 - it seems that notmuch is sensitive when notmuch_query_count_messages()
   is called, let's call it when we really need the number for progress bar

 - initialize mutt progress bar when we really want to use it

References: https://github.com/karelzak/mutt-kz/issues/57
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agouse exclude tags for entrie-thread too
Karel Zak [Wed, 2 Oct 2013 18:34:57 +0000 (11:34 -0700)]
use exclude tags for entrie-thread too

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoget <entire-thread> work from pager context
Kirill A. Shutemov [Sat, 12 Oct 2013 18:34:57 +0000 (11:34 -0700)]
get <entire-thread> work from pager context

I found annoying that we cant unfold whole thread from pager.
Implementation is pretty straight-forward.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
9 years agofix getting count of new messages for non-trivial query
Kirill A. Shutemov [Fri, 11 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix getting count of new messages for non-trivial query

Currtly, we ask for count of new messages by appending tag:unread (or
whatever NotmuchUnreadTag has) to db query. It works if your query is
very simple: no 'OR', 'NOT', etc.

If you will ask new messages for query like
 "to:foo@example.com or to:bar@example.net"
mutt will query db for count of
 "to:foo@example.com or to:bar@example.net tag:unread"
and notmuch will understand it as
 "to:foo@example.com or (to:bar@example.net tag:unread)"
which, obviously, is not what you wanted.

Optimizations like
if (strstr(db_query, NotmuchUnreadTag))
*new = all ? *all : count_query(db, db_query);
doesn't work for the same reason.

Let's fix all this by construct query with proper parenthesis:
 "(to:foo@example.com or to:bar@example.net) tag:unread"

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
9 years agoapply NotmuchExcludeTags to count queries
Kirill A. Shutemov [Fri, 11 Oct 2013 18:34:57 +0000 (11:34 -0700)]
apply NotmuchExcludeTags to count queries

We have support of tag excluding, but it doesn't cover count queries.
Let's fix this.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
9 years agomake %N optional for notmuch browser format
Kirill A. Shutemov [Thu, 10 Oct 2013 18:34:57 +0000 (11:34 -0700)]
make %N optional for notmuch browser format

It will allow to have vfolder_format option like this:

set vfolder_format="%?N?*& ?%20f %6N %10n"

This format will mark all vfolders with new messages with '*':

                inbox      0          0
*            linux/mm      2        183
     linux/mm/commits      0         39
...

Without the patch all vforlders will be marked.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
9 years agodocs: add UPDATING.kz
Richard Russon [Thu, 25 Feb 2016 15:25:32 +0000 (15:25 +0000)]
docs: add UPDATING.kz

9 years agodocs: update README.notmuch
Karel Zak [Sun, 6 Oct 2013 18:34:57 +0000 (11:34 -0700)]
docs: update README.notmuch

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agosearch by vfolder name in browser
Karel Zak [Sat, 5 Oct 2013 18:34:57 +0000 (11:34 -0700)]
search by vfolder name in browser

Reported-by: Vladimir Marek <Vladimir.Marek@oracle.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agodon't close opened message after <modify-label>
Karel Zak [Fri, 4 Oct 2013 18:34:57 +0000 (11:34 -0700)]
don't close opened message after <modify-label>

Addresses: https://github.com/karelzak/mutt-kz/issues/48
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years ago<change-vfolder> default to the next unread folder
Karel Zak [Fri, 4 Oct 2013 18:34:57 +0000 (11:34 -0700)]
<change-vfolder> default to the next unread folder

It means that for example:

 macro index R <change-vfolder><enter>

will for as expected.

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoextend <change-vfolder> to accept folder name/uri
Karel Zak [Fri, 4 Oct 2013 18:34:57 +0000 (11:34 -0700)]
extend <change-vfolder> to accept folder name/uri

Suvayu Ali <fatkasuvayu+linux@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoupdate DB on save-command
Karel Zak [Mon, 14 Oct 2013 18:34:57 +0000 (11:34 -0700)]
update DB on save-command

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd CH_VIRTUAL to allow to specify when use virtual headers
Karel Zak [Mon, 14 Oct 2013 18:34:57 +0000 (11:34 -0700)]
add CH_VIRTUAL to allow to specify when use virtual headers

For example don't add "Tags:" header to the message when copy the
message to another folder. The virtual headers make sense only when
we display the message to user.

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoimprove entire-thread
Karel Zak [Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)]
improve entire-thread

 - don't support mutt tags, always work with the current message only

 - support collapsed threads

 - add "No more messages in the thread" message

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd entire-thread command, cleanup progress bar code
Karel Zak [Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)]
add entire-thread command, cleanup progress bar code

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoalways use notmuch message ID
Karel Zak [Mon, 7 Oct 2013 18:34:57 +0000 (11:34 -0700)]
always use notmuch message ID

It's better to use notmuch message Id than rely on Id from parsed
message, because notmuch ensures that Id exists and it generates
a fake Id for broken messages without the Id.

Reported-by: Michael Zeltner <m@niij.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix buffer overflow, improve tag_list usage
Karel Zak [Mon, 7 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix buffer overflow, improve tag_list usage

9 years agoadd nm_exclude_tags
Karel Zak [Tue, 22 Oct 2013 18:34:57 +0000 (11:34 -0700)]
add nm_exclude_tags

Based on patch from: Raghavendra D Prabhu <rprabhu@wnohang.net>

 This makes use of notmuch_query_add_tag_exclude in notmuch API, to
 exclude messages tagged with tags from nm_exclude_tags from  query
 results by default unless specified explicitly.

Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoclean up tags related code, improve %G
Karel Zak [Sat, 5 Oct 2013 18:34:57 +0000 (11:34 -0700)]
clean up tags related code, improve %G

 - clean up code
 - allows to use %G (and transform-tags) for unhidden tags too

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadded some documentation
Eric Davis [Wed, 23 Oct 2013 18:34:57 +0000 (11:34 -0700)]
added some documentation

9 years agoport the old index-color mutt patch to mutt-kz
Eric Davis [Thu, 17 Oct 2013 20:18:43 +0000 (13:18 -0700)]
port the old index-color mutt patch to mutt-kz

added support for individual tag coloring added "Tags:" header output in
pager showing all tags added documentation for index object highlighting

9 years agofix corrupt viewing of messages
Karel Zak [Mon, 17 Sep 2012 07:31:54 +0000 (09:31 +0200)]
fix corrupt viewing of messages

The mutt records offset of email body when parse email header.

Unfortunately when we check notmuch DB changes when we don't ask for
email path in the same way. So it's possible that for emails that are
stored in multiple folders (you sent the same email with the same ID
to multiple mailing lists) we get a different path, then notmuch mutt
code updates the path, but no the offset... result is corrupted body.

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd support for text transforms of tag names
Eric Davis [Sat, 1 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add support for text transforms of tag names

tag names visible with '%g' in the index and pager formats

9 years agosidebar: extend sidebar sort methods, add sort_sidebar=
Karel Zak [Mon, 17 Sep 2012 07:31:54 +0000 (09:31 +0200)]
sidebar: extend sidebar sort methods, add sort_sidebar=

 sort_sidebar=(desc|path|count|new|unsorted)

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd $record support
Karel Zak [Sun, 23 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add $record support

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agohide signed and encrypted tags by default
David Sterba [Sat, 8 Sep 2012 07:31:54 +0000 (09:31 +0200)]
hide signed and encrypted tags by default

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@suse.cz>
9 years agoreuse connection in complete_all_nm_tags()
Karel Zak [Sun, 23 Sep 2012 07:31:54 +0000 (09:31 +0200)]
reuse connection in complete_all_nm_tags()

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoFix trivial documentation typoes
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Fix trivial documentation typoes

Various trivial typographical errors in notmuch-specific code, are now fixed.

9 years agoAdd TAB completion of tag names in <modify-labels>*
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add TAB completion of tag names in <modify-labels>*

<modify-labels> and <modify-labels-then-hide> can now use TAB completion of tag
names supplied after + and -.

9 years agoAdd TAB completion of tag: names in <vfolder-from-query>
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add TAB completion of tag: names in <vfolder-from-query>

<vfolder-from-query>'s 'Query' prompt can now use TAB completion of tag names
supplied to the 'tag:' parameter.

9 years agoAdd nm_get_all_tags()
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add nm_get_all_tags()

Add nm_get_all_tags(), a mechanism to return a list of all notmuch tags in the
database.

9 years agoPlug a leaked notmuch DB handle in get_count()
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Plug a leaked notmuch DB handle in get_count()

nm_nonctx_get_count() was leaking its notmuch database handle if NOTMUCH_API_3
was in use. Looks like it missed the same treatment that the other call sites
got to do this.

9 years agoAdd 'label' pattern modifier '~Y'
Tim Stoakes [Sat, 15 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add 'label' pattern modifier '~Y'

Add the new '~Y' pattern modifier. Use it in e.g. 'limit' and 'color' commands
to match a regexp against notmuch message labels.

9 years agoFix auto_tag=yes for modify-labels* and quasi-delete
Tim Stoakes [Sun, 16 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Fix auto_tag=yes for modify-labels* and quasi-delete

When 'auto_tag' was 'yes', <modify-labels>* and <quasi-delete> still only
applied to the currently-selected message. Now they apply to all tagged
messages, as they should.

9 years agoadd %g examples
Karel Zak [Sat, 15 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add %g examples

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agocount messages for mutt progress bar
Karel Zak [Thu, 6 Sep 2012 07:31:54 +0000 (09:31 +0200)]
count messages for mutt progress bar

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agodocs: add link to notmuch mutttips
Karel Zak [Sun, 2 Sep 2012 07:31:54 +0000 (09:31 +0200)]
docs: add link to notmuch mutttips

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd notmuch_{query,message}_destroy to DB checker
Karel Zak [Thu, 20 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add notmuch_{query,message}_destroy to DB checker

Reported-by: Chris Mason <chris.mason@fusionio.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd nm_query_type config file option
Karel Zak [Fri, 7 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add nm_query_type config file option

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd note about nm_db_limit to README
Karel Zak [Fri, 21 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add note about nm_db_limit to README

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agomutt_nm_db_limit option defines a default limit
Christoph Rissner [Sun, 16 Sep 2012 07:31:54 +0000 (09:31 +0200)]
mutt_nm_db_limit option defines a default limit

9 years agoprint read progress of a query
David Sterba [Sat, 1 Sep 2012 07:31:54 +0000 (09:31 +0200)]
print read progress of a query

Signed-off-by: David Sterba <dsterba@suse.cz>
9 years agoformat: support optional modifier for g (notmuch labels)
David Sterba [Sat, 1 Sep 2012 07:31:54 +0000 (09:31 +0200)]
format: support optional modifier for g (notmuch labels)

Used in index_format like this %?g?(%g)? will show nothing if there are
no notmuch labels, eg. in mixed mail setups.

Signed-off-by: David Sterba <dsterba@suse.cz>
9 years agosync flags for all duplicate messages
Karel Zak [Mon, 17 Sep 2012 07:31:54 +0000 (09:31 +0200)]
sync flags for all duplicate messages

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agouse the Maildir if NotmuchDefaultUri is unset
patrick brisbin [Wed, 5 Sep 2012 11:27:23 +0000 (13:27 +0200)]
use the Maildir if NotmuchDefaultUri is unset

[kzak@redhat.com: - cleanup code, add note to README.notmuch]

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agouse notmuch_status_t for DB open
Karel Zak [Wed, 27 Jun 2012 11:14:37 +0000 (13:14 +0200)]
use notmuch_status_t for DB open

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agouse the new notmuch api if available
David Riebenbauer [Tue, 26 Jun 2012 18:48:48 +0000 (20:48 +0200)]
use the new notmuch api if available

As of notmuch 0.13 libnotmuch's api has changed. This makes use of it if the
new api was detected.

9 years agofix nm_check_database to count new messages correctly
Karel Zak [Mon, 25 Jun 2012 14:18:51 +0000 (16:18 +0200)]
fix nm_check_database to count new messages correctly

.. otherwise mx_update_context() might ends with SIGSEGV

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoallow to read whole-threads
Karel Zak [Fri, 15 Jun 2012 13:11:45 +0000 (15:11 +0200)]
allow to read whole-threads

This patch allows to specify type of query for notmuch DB, supported
are "threads" and "messages", the default is "messages". For example:

   notmuch://?type=threads&query=tag:inbox"

will read all matching threads.

Based on prototype from Chris Mason <chris.mason@fusionio.com>.

Signed-off-by: Karel Zak <kzak@redhat.com>