• Patch: Elm ME+ 2.5 PLalpha49 -> Elm ME+ 2.5 PLalpha50 [5/7] (3/4)

    From Kari Hurtta@21:1/5 to All on Mon Jun 10 20:55:12 2019
    [continued from previous message]

    ! lib_transient(CATGETS(elm_msg_cat, ElmSet,
    ! ElmUseXforQuickExit,
    ! "Use 'X' for Quick Exit"));
    ! exit_hint_folder = NULL;
    ! }
    !
    ch = GetPrompt(LOC.prompt_page,elm_timeout);

    menu_CleartoEOS(LOC.prompt_page);
    ***************
    *** 369,375 ****
    "\nCommand: %d\n\n", ch));
    }

    ! set_error(""); /* clear error buffer */

    menu_MoveCursor(LOC.prompt_page,lin,col);
    }
    --- 385,391 ----
    "\nCommand: %d\n\n", ch));
    }

    ! set_error(""); /* clear error buffer */

    menu_MoveCursor(LOC.prompt_page,lin,col);
    }
    ***************
    *** 436,478 ****

    for (idx = 0 ; idx < mbxcount; idx++) {
    long bytes = 0;

    ! struct current_storage * storage =
    ! get_storage(mailbox,idx);
    !
    ! if (!storage->current_folder)
    ! continue;
    !
    !
    ! if (new_mail_on_folder(storage->current_folder,&bytes)) {
    ! lib_error(CATGETS(elm_msg_cat, ElmSet,
    ! ElmNewMailQuitCancelled,
    ! "New Mail! Quit canceled..."));
    ! found++;
    ! }
    ! }
    !
    ! if (!found) {
    ! /* We specify resync so that messages are not moved to
    ! received folder ... visiting folder should not
    ! change message status (actually not true with IMAP)
    ! */
    !
    ! int status = sync_mbox(TRUE, TRUE, TRUE, NULL, mailbox,
    ! page,LOC.prompt_page);
    !
    ! if ( status == -1)
    !