OP_MAIN_SHOW_LIMIT "show currently active limit pattern"
OP_MAIN_COLLAPSE_THREAD "collapse/uncollapse current thread"
OP_MAIN_COLLAPSE_ALL "collapse/uncollapse all threads"
+OP_DESCEND_DIRECTORY "descend into a directdory"
{
switch (i = mutt_menuLoop (menu))
{
+ case OP_DESCEND_DIRECTORY:
case OP_GENERIC_SELECT_ENTRY:
if (!state.entrylen)
else
mutt_concat_path (buf, LastDir, state.entry[menu->current].name, sizeof (buf));
- if ((mx_get_magic (buf) <= 0)
+ if (i == OP_DESCEND_DIRECTORY || (mx_get_magic (buf) <= 0)
#ifdef USE_IMAP
|| state.entry[menu->current].inferiors
#endif
attach to a message, select multiple files to attach and many more.
</para>
+<para>
+Some mail systems can nest mail folders inside other mail folders.
+The normal open entry commands in mutt will open the mail folder and
+you can't see the sub-folders. If you instead use the
+<literal><descend-directory></literal> function it will go into
+the directory and not open it as a mail directory.
+</para>
+
</sect2>
<sect2 id="intro-sidebar">
/* The file browser */
const struct binding_t OpBrowser[] = { /* map: browser */
{ "change-dir", OP_CHANGE_DIRECTORY, "c" },
+ { "descend-directory", OP_DESCEND_DIRECTORY, NULL },
{ "display-filename", OP_BROWSER_TELL, "@" },
{ "enter-mask", OP_ENTER_MASK, "m" },
{ "sort", OP_SORT, "o" },