<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div><div style='-ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; font-family:sans-serif; text-size-adjust:100%; margin:0; background-color:#fff; color:black; font:13px/1.4 Calxibri, Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; white-space:normal' bgcolor="#ffffff">
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">I'm trying to combine both the Correspondence Shifted and Subject Shifted layout that someone (thank you!) wrote. I'm kind of there, but not quite.</p>
<ol style="box-sizing:border-box; margin-bottom:16px; margin-top:0; padding:0; padding-left:2em">
<li value="1" style="box-sizing:border-box">I'd like to have Source Mailbox in the list, but I don't know what the column name is to add it to the layout.</li>
<li value="2" style="box-sizing:border-box">When I click on a message in the lower "Subjects" panel, it doesn't change the display of the current message. I suspect there's some target attribute, or something where I'm using a duplicate ID for the section?</li>
</ol>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">Anyone have any thoughts?</p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0"><a href="https://db.tt/rWN5na4f" style="box-sizing:border-box; color:#4183c4; text-decoration:none">Screenshot of what it looks like</a></p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">plist file (not formatted)</p>
<pre style='box-sizing:border-box; border:thin solid gray; margin-left:15px; margin-right:15px; overflow:auto; padding:5px; font-family:monospace, monospace; font-size:1em; font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace; margin-bottom:16px; margin-top:0; background-color:#f7f7f7' bgcolor="#f7f7f7"><code style='{box-sizing:border-box; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:100%; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; padding-bottom:0.2em; padding-top:0.2em; background:transparent; border:0; white-space:pre} :after{content:" "; letter-spacing:-0.2em} :before{content:" "; letter-spacing:-0.2em}' bgcolor="#f7f7f7">{
name = "Subject and Correspondence Shifted";
rootViewer =
{
viewerType = "MmSplitView";
orientation = "horizontal";
children =
(
{
viewerType = "MmSplitView";
orientation = "vertical";
collapsibleSubview = 2; // Incomplete support -- no way to get it back (1 = first, 2 = last)
children =
(
{
identifier = "pathOutlineBox";
viewerType = "MmBoxView";
orientation = "vertical";
defaultSize = 250;
autoresize = 0;
children =
(
{
identifier = "pathControl";
viewerType = "MmPathControlView";
sources = ( { sourceIdentifier = "mailboxesOutline"; } );
},
{ viewerType = "MmSeparatorView"; showWithViews = ( "pathControl" ); },
{
viewerType = "MmSplitView";
minHeight = 50;
orientation = "horizontal";
children =
(
{
viewerType = "MmSplitView";
minHeight = 100;
orientation = "vertical";
children = (
{
viewerType = "MmBoxView";
orientation = "vertical";
defaultSize = 200;
autoresize = 0;
children =
(
{
viewerType = "MmLabelView";
label = "Correspondence";
},
{ viewerType = "MmSeparatorView"; },
{
identifier = "correspondenceOutline";
viewerType = "MmMessagesOutlineView";
minWidth = 100;
sources = ( { sourceIdentifier = "mainOutline"; } );
selectionSources = ( { sourceIdentifier = "mainOutline"; } );
// FIXME: The transformation does not work 'per' message, i.e., it tries to combine any 'from' with any 'to' in $mainOutline.
transformation = "$ALL_MESSAGES.filter((from.address = $mainOutline.from.address and #recipient.address = $mainOutline.#recipient.address) or (from.address = $mainOutline.#recipient.address and #recipient.address = $mainOutline.from.address))";
defaultColumns = ( "subject", "relativeDate");
outlineColumn = "subject";
},
);
toggleMenuTitle = "Correspondence View";
toggleKeyEquivalent = "^~@c";
},
{
viewerType = "MmBoxView";
orientation = "vertical";
defaultSize = 200;
autoresize = 0;
children =
(
{
viewerType = "MmLabelView";
label = "Subjects";
},
{ viewerType = "MmSeparatorView"; },
{
identifier = "subjectOutline";
viewerType = "MmMessagesOutlineView";
minWidth = 100;
sources = ( { sourceIdentifier = "mainOutline"; } );
selectionSources = ( { sourceIdentifier = "mainOutline"; } );
// FIXME: The transformation does not work 'per' message, i.e., it tries to combine any 'from' with any 'to' in $mainOutline.
transformation = "$ALL_MESSAGES.filter(subject.body = $mainOutline.subject.body)";
defaultColumns = ( "from", "relativeDate" );
outlineColumn = "from";
},
);
toggleMenuTitle = "Subject View";
toggleKeyEquivalent = "^~@s";
},
);
},
{
identifier = "mainOutline";
viewerType = "MmMessagesOutlineView";
// columnSettings = "outlineColumns";
sources = ( { sourceIdentifier = "pathControl"; } );
defaultSize = 350;
},
);
},
);
},
{
viewerType = "MmSplitView";
orientation = "horizontal";
children =
(
{
viewerType = "MmBoxView";
orientation = "vertical";
defaultSize = 200;
minWidth = 100;
autoresize = 0;
toggleMenuTitle = "Mailboxes";
toggleKeyEquivalent = "^~@d";
dragRect = { width = 16.0; height = 16.0; location = "bottomRight"; };
children =
(
{
viewerType = "MmMailboxesStatusBar";
},
{
identifier = "mailboxesOutline";
viewerType = "MmMailboxesOutlineView";
stickyMessages = 1;
}
);
},
{
viewerType = "MmBoxView";
orientation = "vertical";
children =
(
{
identifier = "headersView";
viewerType = "MmHeadersView";
sources = ( { sourceIdentifier = "correspondenceOutline"; } );
inject = ( "headersFormatting.plist" );
},
{ viewerType = "MmSeparatorView"; showWithViews = ( "headersView" ); },
{
identifier = "tagsEditor";
viewerType = "MmTagsEditor";
sources = ( { sourceIdentifier = "correspondenceOutline"; } );
},
{ viewerType = "MmSeparatorView"; showWithViews = ( "tagsEditor" ); },
{
identifier = "blockingView";
viewerType = "MmImageBlockingView";
sources = ( { sourceIdentifier = "correspondenceOutline"; } );
transformation = "$correspondenceOutline.filter(##blocked-count exists)";
},
{ viewerType = "MmSeparatorView"; showWithViews = ( "blockingView" ); },
{
identifier = "securityView";
viewerType = "MmSecurityView";
sources = ( { sourceIdentifier = "correspondenceOutline"; } );
transformation = "$correspondenceOutline.filter(##security-problem exists)";
},
{ viewerType = "MmSeparatorView"; showWithViews = ( "securityView" ); },
{
identifier = "messageView";
viewerType = "MmWebView";
sources = ( { sourceIdentifier = "correspondenceOutline"; } );
minWidth = 175;
minHeight = 50;
},
);
}
);
toggleMenuTitle = "Message View";
toggleKeyEquivalent = "^~@h";
}
);
},
);
};
}
</code></pre>
</div>
</div>
</body>
</html>