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.

1. 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. 2. 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?

Anyone have any thoughts?

[Screenshot of what it looks like](https://db.tt/rWN5na4f)

plist file (not formatted)

```xml
{
        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";
                                        }
                                );
                        },
                );
        };
}
```
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate

Reply via email to