$NetBSD: patch-ao,v 1.3 2017/09/03 09:45:36 tron Exp $ Add change_folder_next option. --- curs_main.c.orig 2017-09-02 19:17:12.000000000 +0100 +++ curs_main.c 2017-09-03 10:41:52.002596572 +0100 @@ -1214,6 +1214,11 @@ else { mutt_buffy (buf, sizeof (buf)); + if (option (OPTCHANGEFOLDERNEXT) && Context && Context->path) + { + strfcpy (buf, Context->path, sizeof (buf)); + mutt_pretty_mailbox (buf, sizeof (buf)); + } if (mutt_enter_fname (cp, buf, sizeof (buf), 1) == -1) {