<byrial@image.dk>, updated by Christoph Berg <cb@df7cb.de>.
mutt_error (_("%s is not a mailbox."), buf);
break;
}
+ mutt_str_replace (&CurrentFolder, buf);
if (Context)
{
<item>! -- refers to your <ref id="spoolfile" name="$spoolfile"> (incoming) mailbox
<item>> -- refers to your <ref id="mbox" name="$mbox"> file
<item>< -- refers to your <ref id="record" name="$record"> file
+<item>^ -- refers to the current mailbox
<item>- or !! -- refers to the file you've last visited
<item>˜ -- refers to your home directory
<item>= or + -- refers to your <ref id="folder" name="$folder"> directory
WHERE char *Username;
WHERE char *Visual;
+WHERE char *CurrentFolder;
WHERE char *LastFolder;
WHERE LIST *AutoViewList INITVAL(0);
strfcpy (folder, NONULL(Spoolfile), sizeof (folder));
mutt_expand_path (folder, sizeof (folder));
+ mutt_str_replace (&CurrentFolder, folder);
mutt_str_replace (&LastFolder, folder);
if (flags & M_IGNORE)
}
break;
+ case '^':
+ {
+ strfcpy (p, NONULL(CurrentFolder), sizeof (p));
+ tail = s + 1;
+ }
+ break;
+
default:
{
*p = '\0';