X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=1966bd0c77b69581707dffdb3ef91997cb2fb832;hp=6bb6a058740ad9886056c82cd27dbeee766b954b;hb=ae93bc030d3794817980fc58a9cb20185047dd26;hpb=d429e6df5ef16a8dfd7bcbeb25b0260eb8e5d96f diff --git a/init.h b/init.h index 6bb6a05..1966bd0 100644 --- a/init.h +++ b/init.h @@ -1529,9 +1529,20 @@ struct option_t MuttVars[] = { /* ** .pp ** \fIThis is a read-only system property and, at runtime, - ** specifies the last part of the full path or URI of the - ** folder currently open (if any), i.e. everything after - ** the last ``/''.\fP + ** specifies the actual name of the folder as far as it could + ** be detected.\fP + ** .pp + ** For detection, $$$folder is first taken into account + ** and simply stripped to form the result when a match is found. For + ** example, with $$$folder being \fTimap://host\fP and the folder is + ** \fTimap://host/INBOX/foo\fP, $$$muttng_folder_name will be just + ** \fTINBOX/foo\fP.) + ** .pp + ** Second, if the initial portion of a name is not $$$folder, + ** the result will be everything after the last ``/''. + ** .pp + ** Third and last, the result will be just the name if neither + ** $$$folder nor a ``/'' were found in the name. */ {"muttng_pwd", DT_SYS, R_NONE, 0, "" }, /*