Nail @ d50f1886ac392bb53226bcdee649cad221a05e73
nail: fix reordering on deletion When deleting the root of a thread with multiple children, we need to replace it with a dummy so that the ordering stays intact.
clone: git://orib.dev/Nail, gits://orib.dev/Nail
patches to: email@example.com
comp.c mail.h mbox.c mesg.c mkfile nail.man util.c win.c
NAIL(1) NAIL(1) NAME Nail - view mail in acme SYNOPSIS Nail [ -Ts ] [ -f maildir ] DESCRIPTION Nail edits a mailbox in an acme(1) environment. The default mailbox is /mail/fs/mbox. Nail shows 3 views: The list view, the message view, and the composition view. At startup, Nail takes the following options: -T Disable threading -f maildir Open the maildir maildir instead of the default -s Accept sendmail plumb messages. By default, only the Nail instance viewing /mail/fs/mbox will accept plumb messages. Nail presents a typical acme interface. When started, text commands are inserted into the tag bar. In the message view, the commands typically apply to the selected messages. In the message and composition views, they typically apply to the current message. The following text commands are recognized by the message list: Put Flush pending chnages back to upasfs(4). Delmesg, Undelmesg Flags a message for deletion on the next Put invoca- tion. Next Select the next unread message in the mailbox. Mark [±flags] Add or remove message flags. The flags recognized are listed in upasfs(4) Redraw Redraws the contents of the mailbox. The following text commands are recognized by the message view: [Q] Reply [all] Replies to a message. If 'Q' is specified, quote the open message. If all is specified, reply to all addresses on the message. Delmesg, Undelmesg As with the message view, but applied to the open mes- sage. Mark As with the message view, but applied to the open mes- sage. The following text commands are recognized by the composi- tion window: Post Sends the message currently being composed. FILES SEE ALSO mail(1), aliasmail(8), filter(1), marshal(1), mlmgr(1), nedmail(1), upasfs(4), smtp(8), faces(1), rewrite(6) BUGS Probably.