Introduce ${anmhi_scan_messages} variable for the `L' action instead - anmhi - nmh(7) interface that (ab)uses less, lesskey, tmux and entr
 (HTM) hg clone https://bitbucket.org/iamleot/anmhi
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) changeset fad295e99d091aeaf63dd8eb3551af032f33586c
 (DIR) parent 26320fe6cb66bb7f7368b654839a9302f2817ff2
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Tue,  3 Jul 2018 13:41:11 
       
       Introduce ${anmhi_scan_messages} variable for the `L' action instead
       of hardcoding the range of the messages.
       
       Diffstat:
        TODO  |  2 --
        anmhi |  4 +++-
        2 files changed, 3 insertions(+), 3 deletions(-)
       ---
       diff -r 26320fe6cb66 -r fad295e99d09 TODO
       --- a/TODO      Tue Jul 03 13:03:57 2018 +0200
       +++ b/TODO      Tue Jul 03 13:41:11 2018 +0200
       @@ -2,7 +2,5 @@
        -----
        - Honors possible all-uppercase environment variables to set the
          lower-case ones locally used by anmhi
       -- Parametrize in variable the :-100 and :100 used in 
       -  and `L' action.
        - Make the `fzy' dependency configurable via a variable (e.g. `dmenu'
          can be used instead.)
       diff -r 26320fe6cb66 -r fad295e99d09 anmhi
       --- a/anmhi     Tue Jul 03 13:03:57 2018 +0200
       +++ b/anmhi     Tue Jul 03 13:41:11 2018 +0200
       @@ -34,6 +34,7 @@
        anmhi_unseen_sequence="$(mhparam unseen-sequence)"
        anmhi_sequences=".mhcurseqs"
        anmhi_scan_format='%<(cur)>%| %>%6(msg) %<(mymbox{from})%<{to}To: %13(unquote(decode(friendly{to})))%>%>%<(zero)%17(unquote(decode(friendly{from})))%> %3(day{date}) %3(month{date}) %02(mday{date}) %02(hour{date}):%02(min{date}) %(decode{subject})'
       +anmhi_scan_messages="100"
        anmhi_lines=$(stty size | cut -d ' ' -f 1)
        
        
       @@ -59,7 +60,8 @@
                       ;;
               L)
                       # Select a message interactively
       -               m="$(scan -format "${anmhi_scan_format}" cur:-100 cur:100 |
       +               m="$(scan -format "${anmhi_scan_format}" \
       +                   cur:-${anmhi_scan_messages} cur:${anmhi_scan_messages} |
                           anmhi_menu | awk '/> / { print $2; next } { print $1 }')"
                       if [ "${m}" ]; then
                               show "${m}" | anmhi_pager