Re: [PATCH] Adds label completion

2016-09-28 Thread Kevin J. McCarthy
On Tue, Aug 30, 2016 at 06:03:37PM -0700, d...@bikeshed.us wrote: > Adds label completion. > > A global label hash is added, to which labels are added as they're parsed > from a mailbox file or edited manually by the user. Reference counts are > kept in the hash table so that unused labels are re

Re: [PATCH] Adds label completion

2016-08-31 Thread Damien Riegel
> > > @@ -162,6 +162,7 @@ > > > WHERE const char *ReleaseDate; > > > > > > WHERE HASH *Groups; > > > +WHERE HASH *Labels; > > > > A bit off topic, what do people think of the `WHERE` macro? To me, it > > only makes tools like cscope confused and doesn't improve readability, I > > would really

Re: [PATCH] Adds label completion

2016-08-31 Thread dgc
* On 31 Aug 2016, Damien Riegel wrote: > > /* Set CurrentMenu to MENU_MAIN before executing any folder > > @@ -1270,6 +1273,8 @@ > > (option (OPTREADONLY) || op == > > OP_MAIN_CHANGE_FOLDER_READONLY) ? > > MUTT_READONLY :

Re: [PATCH] Adds label completion

2016-08-31 Thread Damien Riegel
Hi David, On Tue, Aug 30, 2016 at 06:03:37PM -0700, d...@bikeshed.us wrote: > curs_main.c | 5 > doc/manual.xml.head | 5 +++- > enter.c | 18 + > globals.h | 1 + > headers.c | 46 - >

[PATCH] Adds label completion

2016-08-30 Thread dgc
curs_main.c | 5 doc/manual.xml.head | 5 +++- enter.c | 18 + globals.h | 1 + headers.c | 46 - init.c | 54 + main.c