Package: mutt / 1.5.23-3

Metadata

Package Version Patches format
mutt 1.5.23-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
misc/am maintainer mode.patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 am-maintainer-mode

Gbp-Pq: Topic misc

features/ifdef.patch | (download)

doc/manual.xml.head | 22 22 + 0 - 0 !
init.c | 59 59 + 0 - 0 !
init.h | 2 2 + 0 - 0 !
3 files changed, 83 insertions(+)

 ifdef

This command allows to test if a feature has been compiled in before
actually attempting to configure / use it.

Syntax:

ifdef <item> <command>

where <item> can be the name of a variable, function, or command.

Examples:

ifdef  imap-fetch-mail  'source ~/.mutt/imap_setup'
ifdef  trash  set trash=~/Mail/trash

* Patch last synced with upstream:
  - Date: 2007-02-15
  - File:
    http://cedricduval.free.fr/mutt/patches/download/patch-1.5.4.cd.ifdef.1

* Changes made:
  - Updated to 1.5.13
  - Also look for commands
  - Use mutt_strcmp in favor of ascii_strncasecmp to compare strings.

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic features

features/xtitles.patch | (download)

curs_main.c | 20 20 + 0 - 0 !
globals.h | 2 2 + 0 - 0 !
init.c | 20 20 + 0 - 0 !
init.h | 21 21 + 0 - 0 !
mutt.h | 1 1 + 0 - 0 !
mutt_menu.h | 2 2 + 0 - 0 !
pager.c | 7 7 + 0 - 0 !
status.c | 2 2 + 0 - 0 !
8 files changed, 75 insertions(+)

 xtitles

This is the xterm title patch as found on the mutt mailing lists.

* Changes made:
  - 2007-01-27 myon: using %P caused a segfault, updated status.c to catch
    menu==NULL.
  - 2007-02-20 myon: make the note about the xterm_set_titles defaults a
    comment.
  - 2008-08-02 myon: move set_xterm_* prototypes into the proper header file
    (cleaner code, no functional change, evades conflict with sidebar patch)

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic features

features/trash folder.patch | (download)

commands.c | 1 1 + 0 - 0 !
flags.c | 19 18 + 1 - 0 !
globals.h | 1 1 + 0 - 0 !
imap/message.c | 2 2 + 0 - 0 !
init.h | 10 10 + 0 - 0 !
mutt.h | 3 3 + 0 - 0 !
muttlib.c | 4 3 + 1 - 0 !
mx.c | 62 62 + 0 - 0 !
postpone.c | 3 3 + 0 - 0 !
9 files changed, 103 insertions(+), 2 deletions(-)

 trash-folder

With this patch, if the trash variable is set to a path (unset by default), the
deleted mails will be moved to a trash folder instead of being irremediably
purged when syncing the mailbox.

For instance, set trash="~/Mail/trash" will cause every deleted mail to go to
this folder.

Note that the append to the trash folder doesn't occur until the resync is
done. This allows you to change your mind and undo deletes, and thus the moves
to the trash folder are unnecessary.

Notes

    * You might also want to have a look at the purge message feature below
      which is related to this patch.
    * IMAP is now supported. To retain the previous behavior, add this to your
      muttrc:
      folder-hook ^imap:// 'unset trash'

FAQ

Every once in a while, someone asks what are the advantages of this patch over
a macro based solution. Here's an attempt to answer this question:

    * The folder history doesn't clutter up with unwanted trash entries.
    * Delayed move to the trash allows to change one's mind.
    * No need to treat the case of "normal folders" and trash folders
      separately with folder-hooks, and to create two sets of macros (one for
      the index, one for the pager).
    * Works not only with delete-message, but also with every deletion
      functions like delete-pattern, delete-thread or delete-subthread.

To sum up, it's more integrated and transparent to the user.

* Patch last synced with upstream:
  - Date: 2007-02-15
  - File: http://cedricduval.free.fr/mutt/patches/download/patch-1.5.5.1.cd.trash_folder.3.4

* Changes made:
  - Updated to 1.5.13:
    - structure of _mutt_save_message changed (commands.c)
    - context of option (OPTCONFIRMAPPEND) changed (muttlib.c)
  - Fixed indentation of "appended" in mutt.h.

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic features

features/purge message.patch | (download)

OPS | 1 1 + 0 - 0 !
curs_main.c | 12 10 + 2 - 0 !
flags.c | 10 10 + 0 - 0 !
functions.h | 2 2 + 0 - 0 !
mutt.h | 2 2 + 0 - 0 !
mx.c | 1 1 + 0 - 0 !
pager.c | 8 7 + 1 - 0 !
pattern.c | 4 3 + 1 - 0 !
8 files changed, 36 insertions(+), 4 deletions(-)

 purge-message

(requires trash folder patch)

This patch adds the purge-message function, which, unlike delete-message,
will bypass the trash folder and really delete the mail.

You can bind this function to <esc>D, for instance, by adding the following
lines to your muttrc:

bind index \eD purge-message
bind pager \eD purge-message

Please be very careful with this function, and try to use it as less as
possible. The risk resides in getting into the habit of always using
purge-message instead of delete-message, which would really defeat the
purpose of having a trash folder feature.

* Patch last synced with upstream:
  - Date: 2007-02-15
  - File: http://cedricduval.free.fr/mutt/patches/download/patch-1.5.5.1.cd.purge_message.3.4

* Changes made:
  - Updated to 1.5.13
  - Fixed indentation of "purged" in mutt.h.

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic features

features/imap_fast_trash.patch | (download)

imap/imap.c | 57 57 + 0 - 0 !
imap/imap.h | 3 3 + 0 - 0 !
mx.c | 5 5 + 0 - 0 !
3 files changed, 65 insertions(+)

 imap_fast_trash

Make "move to trash folder" use IMAP COPY.
By Paul Miller

Gbp-Pq: Topic features

features/sensible_browser_position.patch | (download)

browser.c | 24 21 + 3 - 0 !
menu.c | 11 11 + 0 - 0 !
mutt_menu.h | 1 1 + 0 - 0 !
3 files changed, 33 insertions(+), 3 deletions(-)

 sensible_browser_position

This is the sensible browser position patch by Haakon Riiser.

  * Found in: <20050309162127.GA5656@s>
    http://lists.df7cb.de/mutt/message/20050309.162127.a244a894.en.html

Gbp-Pq: Topic features

features old/patch 1.5.4.vk.pgp_verbose_mime.patch | (download)

globals.h | 2 2 + 0 - 0 !
init.h | 12 12 + 0 - 0 !
pgp.c | 2 2 + 0 - 0 !
3 files changed, 16 insertions(+)

 patch-1.5.4.vk.pgp_verbose_mime

Enable pgp_mime_signature_filename and
pgp_mime_signature_description.

Gbp-Pq: Topic features-old

features/compressed folders.patch | (download)

Makefile.am | 4 2 + 2 - 0 !
compress.c | 499 499 + 0 - 0 !
compress.h | 27 27 + 0 - 0 !
configure.ac | 5 5 + 0 - 0 !
curs_main.c | 5 5 + 0 - 0 !
doc/manual.xml.head | 199 199 + 0 - 0 !
doc/muttrc.man.head | 18 18 + 0 - 0 !
hook.c | 14 14 + 0 - 0 !
init.h | 5 5 + 0 - 0 !
main.c | 6 6 + 0 - 0 !
mbox.c | 10 10 + 0 - 0 !
mutt.h | 10 10 + 0 - 0 !
mx.c | 42 41 + 1 - 0 !
mx.h | 3 3 + 0 - 0 !
po/POTFILES.in | 1 1 + 0 - 0 !
po/de.po | 30 30 + 0 - 0 !
status.c | 8 8 + 0 - 0 !
17 files changed, 883 insertions(+), 3 deletions(-)

 compressed-folders

The home page for this patch is:

  http://www.spinnaker.de/mutt/compressed/

* Patch last synced with upstream:
  - Date: 2008-05-20
  - File: http://www.spinnaker.de/mutt/compressed/patch-1.5.18.rr.compressed.1.gz

* Changes made:
  - 2008-05-20 myon: refreshed to remove hunks in auto* files
  - 2009-09-15 myon: refreshed for mutt-1.5.19
                     status.c:103: add sizeof (tmp) to mutt_pretty_mailbox
  - 2009-09-15 scotton: removed doc/Muttrc for mutt-1.5.19 (only patch doc/Muttrc.head)
  - 2009-09-11 antonio: removed DefaultMagic, see 541360
  - 2010-05-31 myon: remove commented paragraph "Use folders..." in
                     doc/Muttrc.head, see #578096

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic features

features/compressed folders.debian.patch | (download)

config-debian.h | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 compressed-folders.debian

To enable the use of compressed folders.

Gbp-Pq: Topic features

debian specific/Muttrc.patch | (download)

doc/Muttrc.head | 36 34 + 2 - 0 !
1 file changed, 34 insertions(+), 2 deletions(-)

 muttrc

 * 2009-01-15 myon: refreshed for mutt-1.5.19; drop our list of ignored headers
   in favor of upstream's new unignore list

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic debian-specific

debian specific/Md.etc_mailname_gethostbyname.patch | (download)

init.c | 41 41 + 0 - 0 !
1 file changed, 41 insertions(+)

 md.etc_mailname_gethostbyname

If /etc/mailname is present, the hostname inside the file will be
used, rather than calling gethostbyname() on the actual hostname.

Gbp-Pq: Topic debian-specific

debian specific/use_usr_bin_editor.patch | (download)

init.c | 2 1 + 1 - 0 !
init.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use_usr_bin_editor

Even if EDITOR is not set, mutt will always use /usr/bin/editor
(which is set by update-alternatives), rather than falling back
to vi.

Gbp-Pq: Topic debian-specific

debian specific/correct_docdir_in_man_page.patch | (download)

doc/mutt.man | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 correct_docdir_in_man_page

Fix the link so it points to the correct docdir
and gzipped manual.

Gbp-Pq: Topic debian-specific

debian specific/dont_document_not_present_features.patch | (download)

functions.h | 2 1 + 1 - 0 !
init.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 dont_document_not_present_features

As the patch says, this will add an include so only
documented options for Debian will be used.

Gbp-Pq: Topic debian-specific

debian specific/document_debian_defaults.patch | (download)

init.h | 22 22 + 0 - 0 !
1 file changed, 22 insertions(+)

 document_debian_defaults

Some customization of the option which are straying
from the default only on Debian systems.

Gbp-Pq: Topic debian-specific

debian specific/assumed_charset compat.patch | (download)

init.h | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 assumed_charset-compat

On upstream inclusion of the assumed_charset patch (past 1.5.14),
file_charset got renamed to attach_charset. We add it back
for compatibility.

Gbp-Pq: Topic debian-specific

debian specific/467432 write_bcc.patch | (download)

headers.c | 2 1 + 1 - 0 !
init.h | 11 3 + 8 - 0 !
protos.h | 2 1 + 1 - 0 !
send.c | 4 2 + 2 - 0 !
sendlib.c | 6 3 + 3 - 0 !
5 files changed, 10 insertions(+), 15 deletions(-)

 467432-write_bcc
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

The purpose of this patch is to alter the behavior of the write_bcc option
because exim4, the default SMTP in Debian, does not strip the Bcc headers; by
default write_bcc is set so this could cause a privacy leak.

The behavior that this patch introduces is: never write the Bcc header when the
message is sent, otherwise, if the message is sent to Fcc, then this optin
will be evaluated and the Bcc header will be written based on that.

Background discussion on this is in the following bugs:
http://bugs.debian.org/304718
http://bugs.debian.org/467432

This patch is a slightly modified version of the patch provided by
Stefan Völkel <stefan@bc-bd.org> in the second bug.

Gbp-Pq: Topic debian-specific

debian specific/566076 build_doc_adjustments.patch | (download)

doc/Makefile.am | 8 3 + 5 - 0 !
1 file changed, 3 insertions(+), 5 deletions(-)

 566076-build_doc_adjustments

Use w3m to build the txt manual.

Gbp-Pq: Topic debian-specific

misc/define pgp_getkeys_command.patch | (download)

contrib/gpg.rc | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 define-pgp_getkeys_command

Disabling pgp_getkeys_command until upstream fixes it.

Gbp-Pq: Topic misc

misc/gpg.rc paths.patch | (download)

contrib/gpg.rc | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 gpg.rc-paths

Use the correct path of pgpewrap.

Gbp-Pq: Topic misc

misc/smime.rc.patch | (download)

contrib/smime.rc | 19 10 + 9 - 0 !
1 file changed, 10 insertions(+), 9 deletions(-)

 smime.rc

Add CA's provided by ca-certificates to the ones
distributed by the default installation of Mutt.

Gbp-Pq: Topic misc

misc/fix configure test operator.patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix-configure-test-operator

Gbp-Pq: Topic misc

upstream/531430 imapuser.patch | (download)

account.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 531430-imapuser

Fixes a problem where the imap->login has the precedence
so the user is asked with wrong informaton,
see upstream #3240.

Gbp-Pq: Topic upstream

upstream/543467 thread segfault.patch | (download)

flags.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 543467-thread-segfault

Added a patch to prevent segfault when Ctrl+R is hit
on a malformed group of messages.
(see upstream bug http://bugs.mutt.org/3335)

Gbp-Pq: Topic upstream

upstream/542817 smimekeys tmpdir.patch | (download)

smime_keys.pl | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 542817-smimekeys-tmpdir

Skip the configured tmpdir if it contains '=',
that convention is used only by Mutt.
(see upstream http://bugs.mutt.org/3324)

Gbp-Pq: Topic upstream

upstream/548577 gpgme 1.2.patch | (download)

init.c | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 548577-gpgme-1.2

This patch fixes upstream bug http://bugs.mutt.org/3300,
so that Mutt will be able to open pgp crypted/signed
message with gpgme.

Gbp-Pq: Topic upstream

upstream/553321 ansi escape segfault.patch | (download)

pager.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 553321-ansi-escape-segfault

This patch prevents Mutt from crashing when *buf is freed,
the root cause is the fact that an adjacent memory segment
(*fmt) overruns and overwrite prev_size field in the heap.

The bug and the patch were forwarded upstream,
see http://bugs.mutt.org/3371

Gbp-Pq: Topic upstream

upstream/547980 smime_keys chaining.patch | (download)

smime_keys.pl | 57 48 + 9 - 0 !
1 file changed, 48 insertions(+), 9 deletions(-)

 547980-smime_keys-chaining

To suppose certificate chaining in smime_keys,
see upstream http://bugs.mutt.org/3339

Gbp-Pq: Topic upstream

upstream/528233 readonly open.patch | (download)

attach.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 528233-readonly-open

Open attachments as read-only so the editor won't be able to modify it;
otherwise the user can believe that he/she can edit it and risk to lose
his/her work (see upstream bug http://bugs.mutt.org/3261)

Debian bugs: #528233, updated in #572203

Gbp-Pq: Topic upstream

upstream/228671 pipe mime.patch | (download)

imap/message.c | 14 10 + 4 - 0 !
1 file changed, 10 insertions(+), 4 deletions(-)

 228671-pipe-mime

Don't draw imap fetch progress if we aren't in visual mode.
Drawing progress leaves terminal in confusing state when
piping a message from pager to less(1).
See http://bugs.mutt.org/1771

Updated in Debian bug #569279

Gbp-Pq: Topic upstream

upstream/383769 score match.patch | (download)

score.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 383769-score-match

Better matching for ~f, same as mutt-ng did.
(see upstream http://bugs.mutt.org/2179)

Gbp-Pq: Topic upstream

upstream/603288 split fetches.patch | (download)

imap/message.c | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 603288-split-fetches

A workaround for Exchange 2010 IMAP protocol,
tracked in http://bugs.mutt.org/3459,
already merged in the ubuntu version of Mutt.

Gbp-Pq: Topic upstream

upstream/611410 no implicit_autoview for text html.patch | (download)

init.h | 4 3 + 1 - 0 !
muttlib.c | 3 3 + 0 - 0 !
2 files changed, 6 insertions(+), 1 deletion(-)

 611410-no-implicit_autoview-for-text-html
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

This patch blacklist text/html from the list of documents that will be
shown automatically, the patch (the muttlib.c part) has been written by
Loïc Minier <lool@dooz.org>, I've added the documentation bit.

The patch has been forwarded upstream originally by Loïc on:
http://bugs.mutt.org/3496

The original Debian bug for this problem is:
http://bugs.debian.org/611410

Gbp-Pq: Topic upstream

upstream/path_max.patch | (download)

mutt.h | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 path_max

Gbp-Pq: Topic upstream

translations/update_german_translation.patch | (download)

po/de.po | 24 8 + 16 - 0 !
1 file changed, 8 insertions(+), 16 deletions(-)

 update_german_translation

Gbp-Pq: Topic translations

upstream/771125 CVE 2014 9116 jessie.patch | (download)

lib.c | 3 3 + 0 - 0 !
sendlib.c | 7 6 + 1 - 0 !
2 files changed, 9 insertions(+), 1 deletion(-)

---
__separator__mutt.org.patch | (download)

.mutt.org | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 __separator__mutt.org

Dummy patch to serve as marker separating patches for mutt-patched

mutt patched/sidebar.patch | (download)

Makefile.am | 1 1 + 0 - 0 !
OPS | 5 5 + 0 - 0 !
buffy.c | 123 123 + 0 - 0 !
buffy.h | 4 4 + 0 - 0 !
color.c | 2 2 + 0 - 0 !
compose.c | 26 13 + 13 - 0 !
curs_main.c | 30 26 + 4 - 0 !
flags.c | 3 3 + 0 - 0 !
functions.h | 10 10 + 0 - 0 !
globals.h | 4 4 + 0 - 0 !
imap/command.c | 7 7 + 0 - 0 !
imap/imap.c | 2 1 + 1 - 0 !
init.h | 21 21 + 0 - 0 !
mailbox.h | 1 1 + 0 - 0 !
mbox.c | 2 2 + 0 - 0 !
menu.c | 20 11 + 9 - 0 !
mh.c | 22 22 + 0 - 0 !
mutt.h | 4 4 + 0 - 0 !
mutt_curses.h | 3 3 + 0 - 0 !
muttlib.c | 48 48 + 0 - 0 !
mx.c | 15 15 + 0 - 0 !
mx.h | 1 1 + 0 - 0 !
pager.c | 30 23 + 7 - 0 !
sidebar.c | 333 333 + 0 - 0 !
sidebar.h | 36 36 + 0 - 0 !
25 files changed, 719 insertions(+), 34 deletions(-)

 sidebar

When enabled, mutt will show a list of mailboxes with (new) message counts in a
separate column on the left side of the screen.

As this feature is still considered to be unstable, this patch is only applied
in the "mutt-patched" package.

* Configuration variables:

  sidebar_delim (string, default "|")

    This specifies the delimiter between the sidebar (if visible) and
    other screens.

  sidebar_visible (boolean, default no)

    This specifies whether or not to show sidebar (left-side list of folders).

  sidebar_width (integer, default 0)
-
    The width of the sidebar.

* Patch source:
  - http://www.lunar-linux.org/index.php?page=mutt-sidebar
  - http://lunar-linux.org/~tchan/mutt/patch-1.5.19.sidebar.20090522.txt

* Changes made:
  - 2008-08-02 myon: Refreshed patch using quilt push -f to remove hunks we do
    not need (Makefile.in).

  - 2014-03-04 evgeni: refresh sidebar patch with the version from OpenBSD
    Source:
mutt patched/sidebar dotpathsep.patch | (download)

globals.h | 1 1 + 0 - 0 !
init.h | 8 8 + 0 - 0 !
sidebar.c | 31 24 + 7 - 0 !
3 files changed, 33 insertions(+), 7 deletions(-)

 sidebar-dotpathsep

Make path separators for sidebar folders configurable.

When using IMAP, a '.' is often used as path separator, hence make the
path separators configurable through sidebar_delim_chars variable.
It defaults to "/." to work for both mboxes as well as IMAP folders.  It
can be set to only "/" or "." or whichever character desired as needed.

Gbp-Pq: Topic mutt-patched

mutt patched/sidebar utf8.patch | (download)

sidebar.c | 97 67 + 30 - 0 !
1 file changed, 67 insertions(+), 30 deletions(-)

 sidebar-utf8

This patch fixes a problem with utf-8 strings and the sidebar,
it rewrites entirely make_sidebar_entry so it also fixes some
segfaults due to misallocations and overflows.

See:
 http://bugs.debian.org/584581
 http://bugs.debian.org/603287

Gbp-Pq: Topic mutt-patched

mutt patched/multiple fcc.patch | (download)

protos.h | 1 1 + 0 - 0 !
send.c | 2 1 + 1 - 0 !
sendlib.c | 30 30 + 0 - 0 !
3 files changed, 32 insertions(+), 1 deletion(-)

 multiple-fcc

A patch that allows multiple FCC separated by commas,
written by Omen Wild.

Original website: http://www.mandarb.com/mutt/
Bug asking for the inclusion: #586454

Gbp-Pq: Topic mutt-patched

mutt patched/sidebar newonly.patch | (download)

OPS | 2 2 + 0 - 0 !
curs_main.c | 2 2 + 0 - 0 !
functions.h | 4 4 + 0 - 0 !
init.h | 5 5 + 0 - 0 !
mutt.h | 2 2 + 0 - 0 !
pager.c | 2 2 + 0 - 0 !
sidebar.c | 55 53 + 2 - 0 !
7 files changed, 70 insertions(+), 2 deletions(-)

 sidebar-newonly

patches written by Steve Kemp, it adds two new functionalities to the sidebar,
so only the mailbox with new messages will be shown (and/or) selected
See Debian bug http://bugs.debian.org/532510

Gbp-Pq: Topic mutt-patched

mutt patched/sidebar delimnullwide.patch | (download)

sidebar.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 sidebar-delimnullwide

SidebarDelim can be NULL and strlen(NULL) is a bad idea, as it will segfault.
Wrap it with NONULL().

While at it, change strlen to mbstowcs for better utf8 support.

Closes: #696145, #663883

Gbp-Pq: Topic mutt-patched

mutt patched/sidebar compose.patch | (download)

compose.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 sidebar-compose

draw_sidebar sets SidebarWidth to 0 when sidebar_visible is false.
However, if you start mutt in compose mode, draw_sidebar won't be
called until the next redraw and your header lines will be off by
the width of the sidebar, even when you did not want a sidebar at
all.

Can be tested with:
  HOME=/ LC_ALL=C mutt -e 'unset sidebar_visible' -s test recipient

Closes: #502627

Gbp-Pq: Topic mutt-patched

mutt patched/nntp.patch | (download)

ChangeLog.nntp | 399 399 + 0 - 0 !
Makefile.am | 2 2 + 0 - 0 !
OPS | 23 21 + 2 - 0 !
account.c | 27 27 + 0 - 0 !
account.h | 3 2 + 1 - 0 !
attach.h | 2 1 + 1 - 0 !
browser.c | 470 457 + 13 - 0 !
browser.h | 7 7 + 0 - 0 !
buffy.c | 12 12 + 0 - 0 !
complete.c | 64 64 + 0 - 0 !
compose.c | 177 172 + 5 - 0 !
configure.ac | 11 10 + 1 - 0 !
curs_main.c | 312 299 + 13 - 0 !
doc/Muttrc | 300 300 + 0 - 0 !
doc/manual.xml.head | 20 20 + 0 - 0 !
doc/mutt.man | 8 6 + 2 - 0 !
functions.h | 59 55 + 4 - 0 !
globals.h | 16 16 + 0 - 0 !
hash.c | 27 27 + 0 - 0 !
hash.h | 3 2 + 1 - 0 !
hcache.c | 12 12 + 0 - 0 !
hdrline.c | 25 25 + 0 - 0 !
headers.c | 3 3 + 0 - 0 !
init.c | 22 22 + 0 - 0 !
init.h | 217 217 + 0 - 0 !
keymap.c | 1 0 + 1 - 0 !
mailbox.h | 3 3 + 0 - 0 !
main.c | 54 54 + 0 - 0 !
mutt.h | 39 38 + 1 - 0 !
mutt_sasl.c | 5 5 + 0 - 0 !
muttlib.c | 17 16 + 1 - 0 !
mx.c | 75 75 + 0 - 0 !
mx.h | 3 3 + 0 - 0 !
newsrc.c | 1260 1260 + 0 - 0 !
nntp.c | 2404 2404 + 0 - 0 !
nntp.h | 167 167 + 0 - 0 !
pager.c | 81 79 + 2 - 0 !
parse.c | 48 47 + 1 - 0 !
pattern.c | 8 8 + 0 - 0 !
po/POTFILES.in | 2 2 + 0 - 0 !
postpone.c | 11 11 + 0 - 0 !
protos.h | 1 1 + 0 - 0 !
recvattach.c | 34 33 + 1 - 0 !
recvcmd.c | 61 40 + 21 - 0 !
send.c | 163 153 + 10 - 0 !
sendlib.c | 78 76 + 2 - 0 !
sort.c | 16 16 + 0 - 0 !
url.c | 4 3 + 1 - 0 !
url.h | 2 2 + 0 - 0 !
49 files changed, 6674 insertions(+), 84 deletions(-)

 nntp

http://mutt.org.ua/download/mutt-1.5.23/patch-1.5.23.vvv.nntp.gz

Signed-off-by: Matteo F. Vescovi <mfvescovi@gmail.com>

Gbp-Pq: Topic mutt-patched