]> granicus.if.org Git - neomutt/log
neomutt
9 years agodon't use uninitialized HEADER in nm_check_database()
Karel Zak [Mon, 16 Apr 2012 07:30:43 +0000 (09:30 +0200)]
don't use uninitialized HEADER in nm_check_database()

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix msg remove code
Karel Zak [Thu, 12 Apr 2012 16:36:45 +0000 (18:36 +0200)]
fix msg remove code

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix sync
Karel Zak [Thu, 12 Apr 2012 16:13:19 +0000 (18:13 +0200)]
fix sync

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoremove extra slashes
Karel Zak [Thu, 12 Apr 2012 15:58:44 +0000 (17:58 +0200)]
remove extra slashes

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agosearch in new/cur subfolders if DB is not up-to-date
Karel Zak [Thu, 12 Apr 2012 12:44:34 +0000 (14:44 +0200)]
search in new/cur subfolders if DB is not up-to-date

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agouse context data if possible rather than directly context
Karel Zak [Thu, 12 Apr 2012 10:54:59 +0000 (12:54 +0200)]
use context data if possible rather than directly context

This allows to use many functions outside the notmuch CONTEXT
with a dummy "struct nm_ctxdata".

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoexplicitly require notmuch context
Karel Zak [Thu, 12 Apr 2012 10:18:06 +0000 (12:18 +0200)]
explicitly require notmuch context

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agocleanup private notmuch structs initialization
Karel Zak [Thu, 12 Apr 2012 09:02:28 +0000 (11:02 +0200)]
cleanup private notmuch structs initialization

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix a bug with processing mailboxes when they are all virtual.
Luke Macken [Tue, 10 Apr 2012 15:25:31 +0000 (11:25 -0400)]
fix a bug with processing mailboxes when they are all virtual.

This bug occurs when there are only virtual mailboxes defined. Prior to this
change, the sidebar descriptions of the virtual mailboxes would be displayed as
the notmuch query itself, as opposed to the user-defined description.

9 years agoadd note about notmuch version requirement
Karel Zak [Tue, 10 Apr 2012 09:07:08 +0000 (11:07 +0200)]
add note about notmuch version requirement

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoGrammar and typo fixes.
Jeremiah C. Foster [Sat, 7 Apr 2012 09:24:54 +0000 (12:24 +0300)]
Grammar and typo fixes.

9 years agobuild-sys: fix compilation without --enable-notmuch
David Sterba [Mon, 2 Apr 2012 21:28:18 +0000 (23:28 +0200)]
build-sys: fix compilation without --enable-notmuch

We can still leave mutt-kz compilable entirely without notmuch, just for the
case there are users out there not interested in notmuch enhancements, but I
seriously doubt that :)

Here's the patch which compiles fine without --enable-notmuch

[kzak@redhat.com: - fix s/Incomming/Incoming/ typo]

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix segfault when exiting with 'x' key
Jan Synacek [Thu, 29 Mar 2012 08:59:23 +0000 (10:59 +0200)]
fix segfault when exiting with 'x' key

9 years agodocs: add note about sidebar to notmuch docs
Karel Zak [Wed, 14 Mar 2012 14:31:30 +0000 (15:31 +0100)]
docs: add note about sidebar to notmuch docs

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd support for virtual folders, add sidebar-toggle command
Karel Zak [Wed, 14 Mar 2012 14:19:43 +0000 (15:19 +0100)]
add support for virtual folders, add sidebar-toggle command

 * add support for virtual folders
 * add sidebar-toggle function to toggle between virtual and normal
   folders in sudebar
 * virtual folders are used by default if 'virtual_spoolfile' is 'yes'

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd ML to README
Karel Zak [Mon, 27 Feb 2012 14:41:29 +0000 (15:41 +0100)]
add ML to README

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix compilation error at get_nm_message()
Víctor Manuel Jáquez Leal [Sun, 26 Feb 2012 14:41:29 +0000 (15:41 +0100)]
fix compilation error at get_nm_message()

The shown error is:

mutt_notmuch.c: In function ‘get_nm_message’:
mutt_notmuch.c:643:2: error: too few arguments to function ‘notmuch_database_find_message’
/usr/include/notmuch.h:371:1: note: declared here
make[2]: *** [mutt_notmuch.o] Error 1

The mutt-ks is made for notmuch version 0.8, but in version 0.9 the API
changed, in particular with this commit:

http://git.notmuchmail.org/git/notmuch/commitdiff/02a30767116ad8abcbd0a3351f2e4d43bbbd655f

This patch updates the function notmuch_database_find_message() usage.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9 years agoimprove nm_unread_tag setting
Karel Zak [Tue, 3 Jan 2012 11:36:44 +0000 (12:36 +0100)]
improve nm_unread_tag setting

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoimprove virtual_mailboxes command, update docs
Karel Zak [Tue, 3 Jan 2012 11:31:42 +0000 (12:31 +0100)]
improve virtual_mailboxes command, update docs

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoupdate README
Karel Zak [Tue, 3 Jan 2012 10:51:15 +0000 (11:51 +0100)]
update README

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd debug messages
Karel Zak [Tue, 3 Jan 2012 10:29:21 +0000 (11:29 +0100)]
add debug messages

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agosupport default db uri
Karel Zak [Mon, 2 Jan 2012 11:34:32 +0000 (12:34 +0100)]
support default db uri

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoimplement nm_check_database()
Karel Zak [Fri, 23 Dec 2011 15:39:11 +0000 (16:39 +0100)]
implement nm_check_database()

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agosmall refactoring
Karel Zak [Sat, 17 Dec 2011 00:10:12 +0000 (01:10 +0100)]
small refactoring

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd virtual spoolfile
Karel Zak [Thu, 15 Dec 2011 22:51:53 +0000 (23:51 +0100)]
add virtual spoolfile

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoproperly update context numbers
Karel Zak [Thu, 15 Dec 2011 22:21:55 +0000 (23:21 +0100)]
properly update context numbers

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoprint vfolder description on status bar
Karel Zak [Thu, 15 Dec 2011 21:58:35 +0000 (22:58 +0100)]
print vfolder description on status bar

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd <modify-labels-then-hide>
Karel Zak [Thu, 15 Dec 2011 20:59:54 +0000 (21:59 +0100)]
add <modify-labels-then-hide>

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoheader: add HEADER->free_cb() to free driver specific data
Karel Zak [Thu, 15 Dec 2011 16:58:18 +0000 (17:58 +0100)]
header: add HEADER->free_cb() to free driver specific data

The mutt_free_header() need to care about driver specific data.

BTW, it seems that there is a leak in imap code -- it does not free
HEADER->data->keywords list.

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoupdate README
Karel Zak [Thu, 15 Dec 2011 16:57:37 +0000 (17:57 +0100)]
update README

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agofix CONTEXT->data->db usage
Karel Zak [Thu, 15 Dec 2011 16:02:06 +0000 (17:02 +0100)]
fix CONTEXT->data->db usage

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoupdate README.notmuch
Karel Zak [Thu, 15 Dec 2011 00:20:26 +0000 (01:20 +0100)]
update README.notmuch

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd modify-label
Karel Zak [Thu, 15 Dec 2011 00:14:03 +0000 (01:14 +0100)]
add modify-label

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agochange-vfolder, print folder info, etc.
Karel Zak [Wed, 14 Dec 2011 15:48:40 +0000 (16:48 +0100)]
change-vfolder, print folder info, etc.

 - allow to open email in virtual folder
 - allow to open virtual folder
 - print vfolder specific stuff in index and pager

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd support to browser
Karel Zak [Wed, 14 Dec 2011 15:43:07 +0000 (16:43 +0100)]
add support to browser

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd notmuch calls to mx_* API
Karel Zak [Wed, 14 Dec 2011 15:37:19 +0000 (16:37 +0100)]
add notmuch calls to mx_* API

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agodon't modify virtual folders' paths
Karel Zak [Wed, 14 Dec 2011 15:34:26 +0000 (16:34 +0100)]
don't modify virtual folders' paths

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd basic functions
Karel Zak [Wed, 14 Dec 2011 15:30:43 +0000 (16:30 +0100)]
add basic functions

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd basic .muttrc variables
Karel Zak [Wed, 14 Dec 2011 13:46:42 +0000 (14:46 +0100)]
add basic .muttrc variables

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd context magic
Karel Zak [Wed, 14 Dec 2011 13:26:45 +0000 (14:26 +0100)]
add context magic

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoconsolidate msg sync code
Karel Zak [Wed, 14 Dec 2011 13:07:58 +0000 (14:07 +0100)]
consolidate msg sync code

 - add mh_sync_mailbox_message() to sync just one message
 - add msg->commited_path to save info about the final message path
   (will be used keep notmuch DB up to date)

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd notmuch::// uri
Karel Zak [Wed, 14 Dec 2011 12:40:26 +0000 (13:40 +0100)]
add notmuch::// uri

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd 'virtual-mailboxes' parser
Karel Zak [Wed, 14 Dec 2011 12:16:44 +0000 (13:16 +0100)]
add 'virtual-mailboxes' parser

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoadd some vfolder functions
Richard Russon [Thu, 25 Feb 2016 14:58:11 +0000 (14:58 +0000)]
add some vfolder functions

9 years agoadd basic files and build-sys stuff
Karel Zak [Wed, 14 Dec 2011 10:58:47 +0000 (11:58 +0100)]
add basic files and build-sys stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agomerge: sidebar - overview of mailboxes
Richard Russon [Mon, 7 Mar 2016 04:46:50 +0000 (04:46 +0000)]
merge: sidebar - overview of mailboxes

 * sidebar 1.5.24-20151111
 * bugfix: missing includes
 * bugfix: compose mode
 * bugfix: delim null wide
 * bugfix: fixed header wrapping
 * feature: new only
 * feature: prev/next wraparound
 * feature: whitelist
 * feature: working utf8
 * feature: dotpathsep
 * feature: refresh
 * indent: our functions
 * indent: sync to surroundings
 * fix: drop unused
 * fix: drop DrawFullLine
 * tidy: sidebar
 * tidy: our functions
 * tidy: other code
 * sort: sidebar functions
 * tidy: rename functions
 * tidy: add comments
 * build: conditional compilation
 * fix brain-damaged function: mh_buffy_update
 * fix refresh -- time overflowed short
 * feature: add function sidebar-toggle-visible
 * drop old sort
 * rename: msgcount to msg_count to match other sidebar variables
 * rename: vars
 * add: BUFFY sorting
 * add: colours for divider and highlights
 * refactor: split out initialise
 * add: BUFFY notifications
 * refactor: visibility check
 * distinguish between what's highlighted and what's actually open
 * revamp sorting
 * split up sb_draw
 * expandos for deleted, limited, tagged
 * feature: separate sidebar indicator colour
 * feature: separate colour for spoolfile
 * rename: lots of config for consistency with mutt
 * handle unmailboxes * safely
 * split out sidebar wipe
 * refresh sidebar after timeout
 * add docs
 * add ident to PATCHES

9 years agomerge: tls-sni - negotiate for a certificate
Richard Russon [Mon, 7 Mar 2016 04:43:58 +0000 (04:43 +0000)]
merge: tls-sni - negotiate for a certificate

 * feature: TLS SNI
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: cond-date - use rules to choose date format
Richard Russon [Mon, 7 Mar 2016 04:43:54 +0000 (04:43 +0000)]
merge: cond-date - use rules to choose date format

 * feature: conditional dates
 * change date comparisons
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: nested-if - allow deeply nested conditions
Richard Russon [Mon, 7 Mar 2016 04:43:51 +0000 (04:43 +0000)]
merge: nested-if - allow deeply nested conditions

 * feature: nested-if
 * use nested angle brackets
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: index-color - theme the email index
Richard Russon [Mon, 7 Mar 2016 04:43:43 +0000 (04:43 +0000)]
merge: index-color - theme the email index

 * feature: index-color
 * add handling index flags
 * fix width calculation
 * fix uncolor
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: status-color - theming the status bar
Richard Russon [Mon, 7 Mar 2016 04:41:42 +0000 (04:41 +0000)]
merge: status-color - theming the status bar

 * feature: status-color
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: progress - show a visual progress bar
Richard Russon [Mon, 7 Mar 2016 04:41:38 +0000 (04:41 +0000)]
merge: progress - show a visual progress bar

 * feature: progress bar
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: quasi-delete - mark emails to be hidden
Richard Russon [Mon, 7 Mar 2016 04:41:25 +0000 (04:41 +0000)]
merge: quasi-delete - mark emails to be hidden

 * feature: quasi-delete
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: bug-fixes - various downstream bug fixes
Richard Russon [Mon, 7 Mar 2016 04:41:20 +0000 (04:41 +0000)]
merge: bug-fixes - various downstream bug fixes

 * add strndup.c strnlen.c
 * fix spelling typo
 * More careful file writing for aliases and attachments
 * Bye srandom() and random()
 * Remove TLS version notification
 * Use unlocked libc IO everywhere.
 * Add browser sort by description, message count and new message count
 * fix %* index_format
 * build fix for po package name
 * mute build warning

9 years agoadd ident to PATCHES
Richard Russon [Thu, 18 Feb 2016 16:52:53 +0000 (16:52 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Tue, 29 Dec 2015 15:16:26 +0000 (15:16 +0000)]
add docs

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:13 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Mon, 1 Feb 2016 16:59:11 +0000 (16:59 +0000)]
add docs

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:17 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 20:06:48 +0000 (20:06 +0000)]
tidy code

9 years agorefresh sidebar after timeout
Stefan Assmann [Wed, 30 Oct 2013 18:34:57 +0000 (11:34 -0700)]
refresh sidebar after timeout

Allow the sidebar to automatically refresh after the amount of time
specified via the "timeout" variable.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 05:19:06 +0000 (05:19 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 20:01:37 +0000 (20:01 +0000)]
tidy code

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:16 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:57:38 +0000 (19:57 +0000)]
tidy code

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:15 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:14 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:46:21 +0000 (19:46 +0000)]
tidy code

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:03:35 +0000 (19:03 +0000)]
tidy code

9 years agofeature: status-color
David Sterba [Sat, 30 Jan 2016 16:53:57 +0000 (16:53 +0000)]
feature: status-color

Custom rules for theming the status bar

9 years agofeature: quasi-delete
Karel Zak [Sat, 30 Jan 2016 16:27:19 +0000 (16:27 +0000)]
feature: quasi-delete

Mark emails that should be hidden, but not deleted

9 years agochange date comparisons
Eric Davis [Mon, 1 Feb 2016 16:55:29 +0000 (16:55 +0000)]
change date comparisons

now d = yesterday, w = last week, m = last month, y = last year, H =
last hour, etc from current time

9 years agosplit out sidebar wipe
Richard Russon [Mon, 8 Feb 2016 16:30:36 +0000 (16:30 +0000)]
split out sidebar wipe

9 years agohandle unmailboxes * safely
Richard Russon [Mon, 8 Feb 2016 02:02:13 +0000 (02:02 +0000)]
handle unmailboxes * safely

9 years agorename: lots of config for consistency with mutt
Richard Russon [Fri, 18 Dec 2015 15:47:37 +0000 (15:47 +0000)]
rename: lots of config for consistency with mutt

9 years agofeature: separate colour for spoolfile
Richard Russon [Thu, 31 Dec 2015 15:42:25 +0000 (15:42 +0000)]
feature: separate colour for spoolfile

don't highlight spoolfile if not coloured

9 years agofeature: separate sidebar indicator colour
Richard Russon [Thu, 31 Dec 2015 15:24:40 +0000 (15:24 +0000)]
feature: separate sidebar indicator colour

default MT_COLOR_SB_INDICATOR to MT_COLOR_INDICATOR

9 years agoexpandos for deleted, limited, tagged
Richard Russon [Thu, 31 Dec 2015 03:04:42 +0000 (03:04 +0000)]
expandos for deleted, limited, tagged

9 years agosplit up sb_draw
Richard Russon [Sat, 19 Dec 2015 18:40:19 +0000 (18:40 +0000)]
split up sb_draw

9 years agorevamp sorting
Richard Russon [Fri, 18 Dec 2015 18:40:19 +0000 (18:40 +0000)]
revamp sorting

9 years agodistinguish between what's highlighted and what's actually open
Richard Russon [Fri, 18 Dec 2015 18:40:19 +0000 (18:40 +0000)]
distinguish between what's highlighted and what's actually open

9 years agorefactor: visibility check
Richard Russon [Fri, 18 Dec 2015 17:40:50 +0000 (17:40 +0000)]
refactor: visibility check

9 years agoadd: BUFFY notifications
Richard Russon [Fri, 18 Dec 2015 17:34:17 +0000 (17:34 +0000)]
add: BUFFY notifications

9 years agorefactor: split out initialise
Richard Russon [Fri, 18 Dec 2015 17:18:09 +0000 (17:18 +0000)]
refactor: split out initialise

9 years agoadd: colours for divider and highlights
Richard Russon [Fri, 18 Dec 2015 16:35:14 +0000 (16:35 +0000)]
add: colours for divider and highlights

9 years agoadd: BUFFY sorting
Richard Russon [Fri, 18 Dec 2015 16:32:12 +0000 (16:32 +0000)]
add: BUFFY sorting

9 years agorename: vars
Richard Russon [Fri, 19 Feb 2016 04:21:10 +0000 (04:21 +0000)]
rename: vars

9 years agorename: msgcount to msg_count to match other sidebar variables
Richard Russon [Fri, 18 Dec 2015 15:33:03 +0000 (15:33 +0000)]
rename: msgcount to msg_count to match other sidebar variables

9 years agodrop old sort
Richard Russon [Fri, 18 Dec 2015 15:14:14 +0000 (15:14 +0000)]
drop old sort

9 years agofeature: add function sidebar-toggle-visible
Richard Russon [Wed, 9 Dec 2015 04:20:01 +0000 (04:20 +0000)]
feature: add function sidebar-toggle-visible

9 years agofix refresh -- time overflowed short
Richard Russon [Thu, 10 Dec 2015 16:58:40 +0000 (16:58 +0000)]
fix refresh -- time overflowed short

rename SidebarLastRefresh to LastRefresh as it's only used in sidebar.c

9 years agofix brain-damaged function: mh_buffy_update
Richard Russon [Wed, 2 Dec 2015 02:11:03 +0000 (02:11 +0000)]
fix brain-damaged function: mh_buffy_update

Since 1.5.19, mh_buffy_update hasn't worked.  It updated the values
of pointers rather than the destinations of the pointers.

9 years agobuild: conditional compilation
Richard Russon [Wed, 2 Dec 2015 03:58:44 +0000 (03:58 +0000)]
build: conditional compilation

Make sidebar compilation conditional on a configure option.

Add --enable-sidebar option to configure
Alter Makefile to honour configure
Move our OPS into OPS.sidebar
Surround all our code with #ifdef USE_SIDEBAR

By using the unifdef program, all the sidebar code can be removed.
The result is code that differs only slightly from the original mutt
code.  Run this on each source file:

    unifdef -Bm -UUSE_SIDEBAR -UHAVE_FMEMOPEN <FILE>

Then run sed using this script:

    s/ *- *SidebarWidth//g
    s/ *+ *SidebarWidth//g
    s/SidebarWidth *+ *//g
    s/SidebarWidth/0/g

Compared to the original mutt code, there are some minor changes,
such as whitespace, and minor refactoring of variables.

Note: One sidebar global variable is left-behind: SidebarWidth.
This is deeply embedded in the mutt code.  This is because mutt
hard-codes a lot of values: 0's for the left-hand side of the
screen and COLS representing the width of the screen.

9 years agotidy: add comments
Richard Russon [Wed, 2 Dec 2015 03:58:15 +0000 (03:58 +0000)]
tidy: add comments

NOTE: this patch does NOT make any code changes.
It simply adds comment blocks.

Fully document all the sidebar config options.
Add comment-blocks describing each function -- what it does, the
parameters it takes, the return values.  These can be used by
doxygen.

9 years agotidy: rename functions
Richard Russon [Fri, 19 Feb 2016 04:32:06 +0000 (04:32 +0000)]
tidy: rename functions