#681: rc of mutt_display_message differs between builtin and external pager
Changes (by brendan): * component: mutt => display * milestone: => 1.6 Old description: > {{{ > Package: mutt > Version: 1.3.19i > Severity: normal > > -- Please type your report below this line > > for example, pressing <spacebar> after completion (last page) of builtin > pager > makes it skip to the next undeleted message. but when I use external > pager, > pressing <spacebar> at `Commands:' prompt brings it to the last of the > index. > > try 'R' key, at the `Commands:' prompt, and you'll know what I mean. > > suggested solution: move the codes after pager.c:1668 should be moved > into > another function (with heck a lot of params...), and it should be called > just before the return of mutt_display_message(), translating(?) the rc > accordingly. > > -- Mutt Version Information > > Mutt 1.3.19i (2001-06-07) > Copyright (C) 1996-2001 Michael R. Elkins and others. > Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. > Mutt is free software, and you are welcome to redistribute it > under certain conditions; type `mutt -vv' for details. > > System: Linux 2.4.0-test11 [using ncurses 5.2] > Compile options: > -DOMAIN > +DEBUG > -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE > +USE_FCNTL -USE_FLOCK > -USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_SASL > +HAVE_REGCOMP -USE_GNU_REGEX > +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET > +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM > +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT > +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET > +HAVE_LANGINFO_YESEXPR > +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID -HAVE_GETADDRINFO > ISPELL="/usr/bin/ispell" > SENDMAIL="/usr/sbin/sendmail" > MAILPATH="/var/mail" > PKGDATADIR="/usr/local/share/mutt" > SYSCONFDIR="/usr/local/etc" > EXECSHELL="/bin/sh" > -MIXMASTER > To contact the developers, please mail to <mutt-dev@mutt.org>. > To report a bug, please use the flea(1) utility. > > --- Begin /home/simon/.muttrc > set allow_8bit > set print=no > set charset="euc-kr" > set send_charset="utf-8" > set strict_threads=yes > set use_8bitmime=yes > set use_domain=yes > set mbox=+received > set record=+"Sent Items" > set pager=more > --- End /home/simon/.muttrc > > > >How-To-Repeat: > >Fix: > }}} New description: for example, pressing <spacebar> after completion (last page) of builtin pager makes it skip to the next undeleted message. but when I use external pager, pressing <spacebar> at `Commands:' prompt brings it to the last of the index. try 'R' key, at the `Commands:' prompt, and you'll know what I mean. suggested solution: move the codes after pager.c:1668 should be moved into another function (with heck a lot of params...), and it should be called just before the return of mutt_display_message(), translating(?) the rc accordingly. -- Ticket URL: <http://dev.mutt.org/trac/ticket/681#comment:1>