[MlMt] Custom column in mailbox view

Benny Kjær Nielsen mailinglist at freron.com
Tue Jul 2 02:01:40 EDT 2024


On 1 Jul 2024, at 23:51, Randall Gellens wrote:

> On 1 Jul 2024, at 2:30, Benny Kjær Nielsen wrote:
>
>> And maybe send me the file off list and I'll re-verify that it works for me.
>
> I've verified again that the file is present at that location. File is attached.

My guess is that somehow copy/paste to your text editor changed the encoding (there was a bit of UTF-8 because of curly quotes) and this would then cause a silent failure.

I've attached a fixed version.

-- 
Benny
-------------- next part --------------
{
	columns =
	{
		receivedFor =
		{
			title = "Received For";
			sortKey = "received.for";
			formatting =
			{
				formatString = "${received.for}";
				placeholderString = "(Not found)";
				doubleClick =
				{
					titleImage = "NSUser";
					titleSymbol = "person.fill";
					titleFormatting = { prefixString = "From "; formatString = "“${received.for}”"; separator = " or "; };
					queryFormatting = { formatString = "received.for = '${received.for}'"; separator = " or "; escapeSingleQuotes = 1; };
				};
			};
			relatedSearches =
			(
				{
					titleImage = "NSUser";
					titleSymbol = "person.fill";
					titleFormatting = { formatString = "From “${received.for}”"; separator = " or "; };
					queryFormatting = { formatString = "from.address = '${received.for}'"; separator = " or "; escapeSingleQuotes = 1; };
				},
				{
					titleImage = "NSUser";
					titleSymbol = "person.fill";
					titleFormatting = { formatString = "From or To “${received.for}”"; separator = " or "; };
					queryFormatting = { formatString = "#any-address.address = '${received.for}'"; separator = " or "; escapeSingleQuotes = 1; };
				},
			);
		};
	};
}


More information about the mailmate mailing list