# HG changeset patch # User Meredith Howard # Date 1496869454 25200 # Node ID 8de875515620ec02010f7fd2be844912684fb4e7 # Parent d034d9f4a36bcf9319569320583c152a8d98f048 Update for current neomutt diff --git a/.muttrc b/.muttrc --- a/.muttrc +++ b/.muttrc @@ -75,16 +75,18 @@ bind index,pager previous-new- bind index,pager next-new-then-unread bind index,pager R group-reply +bind index g noop bind index gg first-entry bind index G last-entry bind index M recall-message +bind pager g noop +bind pager i noop bind pager previous-line bind pager next-line bind pager gg top bind pager G bottom bind pager ? search-reverse -bind pager i noop macro index,pager \Cb " urlscan" 'urlscan' macro attach,compose \Cb " urlscan" 'urlscan' diff --git a/bin/setup-neomutt b/bin/setup-neomutt --- a/bin/setup-neomutt +++ b/bin/setup-neomutt @@ -11,16 +11,17 @@ mkdir -p sandbox if [ ! -d sandbox/neomutt ]; then git clone --depth 1 https://github.com/neomutt/neomutt.git sandbox/neomutt else + make -C sandbox/neomutt clean >/dev/null 2>&1 || true git -C sandbox/neomutt pull fi cd sandbox/neomutt -PLATFORM="$(uname -o)" +PLATFORM="$(uname -s)" HCACHE="tokyocabinet" case "$PLATFORM" in - darwin*) + Darwin) # Use macports' headers OPENSSL_PREFIX=/opt/local ;; @@ -29,13 +30,15 @@ case "$PLATFORM" in ;; esac -./prepare -q \ +autoreconf -i --force + +./configure -q \ --with-mailpath=/var/spool/mail \ --with-ssl${OPENSSL_PREFIX:+=$OPENSSL_PREFIX} \ --with-sasl \ --with-${HCACHE} \ --enable-gpgme \ - --enable-imap --enable-smtp \ + --disable-doc --disable-po make -s -j3