[neomutt-users] saving message requires saving it 2x

Dan Ciprus (dciprus) dciprus at cisco.com
Tue Aug 16 19:23:37 CEST 2022


Today's debugging session showed following:

[2022-08-16 10:12:05]<5> helpbar_repaint() repaint done
[2022-08-16 10:12:05]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:06]<1> mutt_buffer_select_file() Got op OP_CHANGE_DIRECTORY (46)
[2022-08-16 10:12:06]<5> helpbar_window_observer() window focus: request WA_RECALC
[2022-08-16 10:12:07]<2> mutt_complete() completing /home/dciprus/Mail/NewMail/cus
[2022-08-16 10:12:15]<5> helpbar_window_observer() window focus: request WA_RECALC
[2022-08-16 10:12:15]<1> menu_set_prefix() tag_prefix = 0
[2022-08-16 10:12:15]<5> menu_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:15]<5> helpbar_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:15]<5> msgwin_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:15]<5> sbar_repaint() repaint done
[2022-08-16 10:12:15]<5> menu_repaint() repaint done
[2022-08-16 10:12:15]<5> helpbar_repaint() repaint done
[2022-08-16 10:12:15]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:17]<1> mutt_buffer_select_file() Got op OP_NEXT_ENTRY (179)
[2022-08-16 10:12:17]<1> menu_function_dispatcher() Handled OP_NEXT_ENTRY (179) -> success
[2022-08-16 10:12:17]<1> menu_set_prefix() tag_prefix = 0
[2022-08-16 10:12:17]<5> msgwin_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:17]<5> menu_repaint() repaint done
[2022-08-16 10:12:17]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:19]<1> mutt_buffer_select_file() Got op OP_GENERIC_SELECT_ENTRY (108)
[2022-08-16 10:12:19]<1> mx_path_probe() unable to stat /mnt/passport/data/Mail/NewMail/custo/att: No such file or directory (errno 2)
[2022-08-16 10:12:19]<1> menu_set_prefix() tag_prefix = 0
[2022-08-16 10:12:19]<5> menu_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:19]<5> msgwin_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:19]<5> sbar_repaint() repaint done
[2022-08-16 10:12:19]<5> menu_repaint() repaint done
[2022-08-16 10:12:19]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:26]<1> mutt_buffer_select_file() Got op OP_CHANGE_DIRECTORY (46)
[2022-08-16 10:12:26]<5> helpbar_window_observer() window focus: request WA_RECALC
[2022-08-16 10:12:28]<2> mutt_complete() completing /mnt/passport/data/Mail/NewMail/cus
[2022-08-16 10:12:30]<5> helpbar_window_observer() window focus: request WA_RECALC
[2022-08-16 10:12:30]<1> menu_set_prefix() tag_prefix = 0
[2022-08-16 10:12:30]<5> menu_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:30]<5> helpbar_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:30]<5> msgwin_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:30]<5> sbar_repaint() repaint done
[2022-08-16 10:12:30]<5> menu_repaint() repaint done
[2022-08-16 10:12:30]<5> helpbar_repaint() repaint done
[2022-08-16 10:12:30]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:31]<1> mutt_buffer_select_file() Got op OP_NEXT_ENTRY (179)
[2022-08-16 10:12:31]<1> menu_function_dispatcher() Handled OP_NEXT_ENTRY (179) -> success
[2022-08-16 10:12:31]<1> menu_set_prefix() tag_prefix = 0
[2022-08-16 10:12:31]<5> msgwin_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:31]<5> menu_repaint() repaint done
[2022-08-16 10:12:31]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:33]<1> mutt_buffer_select_file() Got op OP_GENERIC_SELECT_ENTRY (108)
[2022-08-16 10:12:33]<2> mutt_window_reflow() entering
[2022-08-16 10:12:33]<5> ibar_window_observer() window state done, request WA_REPAINT
[2022-08-16 10:12:33]<5> menu_window_observer() window state done, request MENU_REDRAW_INDEX, WA_REPAINT
[2022-08-16 10:12:33]<5> helpbar_window_observer() window focus: request WA_RECALC
[2022-08-16 10:12:33]<5> simple_window_observer() window delete done
[2022-08-16 10:12:33]<5> sbar_window_observer() window delete done
[2022-08-16 10:12:33]<5> browser_window_observer() window delete done
[2022-08-16 10:12:33]<5> menu_window_observer() window delete done
[2022-08-16 10:12:33]<M> mutt_save_message() Copying to /mnt/passport/data/Mail/NewMail/customers/att...
[2022-08-16 10:12:33]<5> msgwin_recalc() recalc done, request WA_REPAINT
[2022-08-16 10:12:33]<5> msgwin_repaint() repaint done
[2022-08-16 10:12:33]<3> mutt_path_tidy_dotdot() Collapse path: /mnt/passport/data/Mail/NewMail/customers/att
[2022-08-16 10:12:33]<3> mutt_path_tidy_dotdot() Collapsed to:  /mnt/passport/data/Mail/NewMail/customers/att
[2022-08-16 10:12:33]<3> mutt_path_tidy_dotdot() Collapse path: /mnt/passport/data/Mail/NewMail/customers/att
[2022-08-16 10:12:33]<3> mutt_path_tidy_dotdot() Collapsed to:  /mnt/passport/data/Mail/NewMail/customers/att
[2022-08-16 10:12:33]<5> sb_mailbox_observer() mailbox done, request WA_RECALC
[2022-08-16 10:12:33]<5> helpbar_window_observer() window focus: request WA_RECALC
[2022-08-16 10:12:33]<4> progress_update() updating progress: 0
[2022-08-16 10:12:33]<1> is_from() Could not parse From line: <Received: from localhost
>
[2022-08-16 10:12:33]<2> maildir_msg_open_new() Trying /mnt/passport/data/Mail/NewMail/customers/att/tmp/cur.1660659153.R15086911443436504041.carbon:2,S
[2022-08-16 10:12:33]<2> maildir_msg_open_new() Success
[2022-08-16 10:12:33]<2> maildir_commit_message() renaming /mnt/passport/data/Mail/NewMail/customers/att/tmp/cur.1660659153.R15086911443436504041.carbon:2,S to /mnt/passport/data/Mail/NewMail/customers/att/cur/1660659153.R383170104118467294.carbon:2,S
[2022-08-16 10:12:33]<5> pbar_index_observer() index done, request WA_RECALC

so if I'm reading correctly, neomutt does not know how to do tab-completion for the 1st try, 2nd try
is successful after all. Ideas ? Thoughts ?

thanks

On Mon, Jul 25, 2022 at 08:37:51PM +0000, Dan Ciprus (dciprus) wrote:
>Hi,
>
>I have this weird problem which I can't figure out. When I try to save the message into the mailbox, I'm being asked to do it twice for some reason. Any hints how to track the problem ?
>
>Ideas ? Thoughts ?
>
>... relevant snippets from the configuration:
>
>/tmp  % grep ^bind ~/.config/neomutt/neomuttrc
>bind index,pager        R               group-reply
>bind index,pager        B               sidebar-toggle-visible          # Use 'B' to switch the Sidebar on and off
>bind index              <space>         collapse-thread                 
># collapse thread bind index              \Cn             next-new                        
># move to next new message
>bind index,pager        <up>            sidebar-prev                    # sidebar up
>bind index,pager        <down>          sidebar-next                    # sidebar down
>bind index,pager        <right>         sidebar-open                    # sidebar open
>bind index,pager        X               sidebar-toggle-virtual          # switch between virtual/mailbox
>bind index,pager        G               group-reply                     # overwriting default 'g'
>bind index,pager        L               list-reply                      # mailing list reply
>bind index,pager        g               noop
>bind editor             <Tab>           complete-query                  # start ldapsearch
>bind editor             \Ct             complete                        # browse local aliases
>/tmp  %
>
>/tmp  % neomutt -v NeoMutt 20220429
>Copyright (C) 1996-2022 Michael R. Elkins and others.
>NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
>NeoMutt is free software, and you are welcome to redistribute it
>under certain conditions; type 'neomutt -vv' for details.
>
>System: Linux 5.14.0-1045-oem (x86_64)
>ncurses: ncurses 6.2.20200212 (compiled with 6.2.20200212)
>libidn: 1.33 (compiled with 1.33)
>GPGME: 1.13.1-unknown
>OpenSSL: OpenSSL 1.1.1f  31 Mar 2020
>libnotmuch: 5.2.0
>storage: tokyocabinet, kyotocabinet, qdbm, rocksdb, gdbm, bdb, tdb, lmdb
>compression: lz4, zlib, zstd
>
>Configure options: --bdb --gdbm --gpgme --kyotocabinet --lmdb --lua 
>--lz4 --notmuch --pgp --rocksdb --qdbm --sasl --smime --ssl 
>--tokyocabinet --tdb --zlib --zstd
>
>Compilation CFLAGS: -g -O2 -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include -I/usr/include/lua5.3 -DNCURSES_WIDECHAR -I/include -I/usr/include/ -I/usr/include/qdbm/
>
>Default options:
>  +attach_headers_color +compose_to_sender +compress +cond_date +debug   
>+encrypt_to_self +forgotten_attachments +forwref +ifdef +imap 
>+index_color   +initials +limit_current_thread +multiple_fcc 
>+nested_if +new_mail +nntp +pop   +progress +quasi_delete +regcomp 
>+reply_with_xorig +sensible_browser +sidebar   +skip_quoted +smtp 
>+status_color +timeout +tls_sni +trash
>
>Compile options:
>  -autocrypt +fcntl -flock -fmemopen +futimens +getaddrinfo -gnutls 
>+gpgme -gss   +hcache -homespool +idn +inotify -locales_hack +lua 
>-mixmaster +nls +notmuch   +openssl +pgp +regex +sasl +smime -sqlite 
>+sun_attachment
>
>MAILPATH="/var/mail"
>PKGDATADIR="/usr/share/neomutt"
>SENDMAIL="/usr/sbin/sendmail"
>SYSCONFDIR="/etc"
>
>To learn more about NeoMutt, visit: https://neomutt.org
>If you find a bug in NeoMutt, please raise an issue at:
>    https://github.com/neomutt/neomutt/issues
>or send an email to: <neomutt-devel at neomutt.org>
>/tmp  %
>
>-- 
>Dan Ciprus
>
>[ curl -L http://git.io/unix ]



-- 
Daniel Ciprus                              .:|:.:|:.
[ curl -L http://git.io/unix ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20220816/bd449d93/attachment.sig>


More information about the neomutt-users mailing list