Re: [MlMt] Searching for text of URL links

2019-03-15 Thread Bill Cole

On 15 Mar 2019, at 17:05, Chris Newman wrote:

The IMAP standard requires implementation of a pure substring search, 
but in practice most search indexing software toolkits only do 
word-based search and don't support efficient substring search (most 
can do reasonably efficient prefix search but not efficient suffix 
search). So particularly for body searches, you need to search for a 
substring that counts as a word to whatever indexing software is used 
on the IMAP server you're using. Also search for a stop word (e.g., 
'and') may not work either (not indexing those words reduces index 
size). The IMAP server I work on can either do IMAP compliant search 
brute-force or do word-based indexed body search quickly and it's up 
to the server admin to choose which to use. Given that many clients do 
body search by default now, most admins of larger sites choose to use 
the indexed word-based search.


All true but not really relevant for MailMate users.

MailMate's search is entirely client-side, using a custom index in 
~/Library/Application Support/MailMate/Database.noindex/ which is also 
what makes the "Smart Folder" feature possible.


While it's possible to implement efficient indexed pure substring 
search, that requires a significantly larger search index than 
word-based search technologies, and it's not clear "free" email 
services would be willing to pay for that extra storage when they can 
just ignore the standard and provide word-based search cheaper (and I 
don't recall being asked to provide such a feature by any customer).


Also search indexing software is likely to drop any markup. So if the 
URL is an HTML link rather than actually in the text of the message, 
it may not be indexed (or searchable) at all.


Testing confirms that MM will find arbitrary substrings of URLs which 
are in plain text mail or in the content text of HTML mail but will NOT 
find any part of URL's that only exist in markup (i.e. href=) values.




--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Searching for text of URL links

2019-03-15 Thread John Cooper

Chris Newman wrote (at 14:05 on 15 Mar 2019):

The IMAP standard requires implementation of a pure substring search, 
but in practice most search indexing software toolkits only do 
word-based search and don't support efficient substring search (most 
can do reasonably efficient prefix search but not efficient suffix 
search). So particularly for body searches, you need to search for a 
substring that counts as a word to whatever indexing software is used 
on the IMAP server you're using.


Doesn't MailMate search the local repository instead of the IMAP server? 
I would think that if you're searching local files, you should be able 
to use any search toolkit you like.

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Searching for text of URL links

2019-03-15 Thread Randall Gellens

On 15 Mar 2019, at 14:05, Chris Newman wrote:

The IMAP standard requires implementation of a pure substring search, 
but in practice most search indexing software toolkits only do 
word-based search and don't support efficient substring search (most 
can do reasonably efficient prefix search but not efficient suffix 
search). So particularly for body searches, you need to search for a 
substring that counts as a word to whatever indexing software is used 
on the IMAP server you're using. Also search for a stop word (e.g., 
'and') may not work either (not indexing those words reduces index 
size). The IMAP server I work on can either do IMAP compliant search 
brute-force or do word-based indexed body search quickly and it's up 
to the server admin to choose which to use. Given that many clients do 
body search by default now, most admins of larger sites choose to use 
the indexed word-based search.


While it's possible to implement efficient indexed pure substring 
search, that requires a significantly larger search index than 
word-based search technologies, and it's not clear "free" email 
services would be willing to pay for that extra storage when they can 
just ignore the standard and provide word-based search cheaper (and I 
don't recall being asked to provide such a feature by any customer).


Also search indexing software is likely to drop any markup. So if the 
URL is an HTML link rather than actually in the text of the message, 
it may not be indexed (or searchable) at all.



All good points.  Note that MailMate indexes the local store (which I 
believe contains everything in all subscribed or accessed mailboxes), so 
in this case it's likely that the search was done by MailMate itself 
rather than the server.  Probably whatever MailMate uses for indexing is 
word-based.


I've often had difficulty finding messages using the search bar, but 
doing an Edit -> Find -> Mailbox Search has worked for me when the 
search bar has failed, which I chalk up to not fully understanding what 
how the search bar works.


--Randall




On 15 Mar 2019, at 10:33, Ted Lesley wrote:

I must be missing something, I’m trying to search for the text of 
links in mail messages and they don’t come up when I search for 
part of the URL (domain, string in link, etc.)


What am I missing? Thanks for any help.
___
mailmate mailing list
mailmate@lists.freron.com

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Searching for text of URL links

2019-03-15 Thread Chris Newman
The IMAP standard requires implementation of a pure substring search, 
but in practice most search indexing software toolkits only do 
word-based search and don't support efficient substring search (most can 
do reasonably efficient prefix search but not efficient suffix search). 
So particularly for body searches, you need to search for a substring 
that counts as a word to whatever indexing software is used on the IMAP 
server you're using. Also search for a stop word (e.g., 'and') may not 
work either (not indexing those words reduces index size). The IMAP 
server I work on can either do IMAP compliant search brute-force or do 
word-based indexed body search quickly and it's up to the server admin 
to choose which to use. Given that many clients do body search by 
default now, most admins of larger sites choose to use the indexed 
word-based search.


While it's possible to implement efficient indexed pure substring 
search, that requires a significantly larger search index than 
word-based search technologies, and it's not clear "free" email services 
would be willing to pay for that extra storage when they can just ignore 
the standard and provide word-based search cheaper (and I don't recall 
being asked to provide such a feature by any customer).


Also search indexing software is likely to drop any markup. So if the 
URL is an HTML link rather than actually in the text of the message, it 
may not be indexed (or searchable) at all.


- Chris

On 15 Mar 2019, at 10:33, Ted Lesley wrote:

I must be missing something, I’m trying to search for the text of 
links in mail messages and they don’t come up when I search for part 
of the URL (domain, string in link, etc.)


What am I missing? Thanks for any help.
___
mailmate mailing list
mailmate@lists.freron.com

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Keystroke for "Load Once"?

2019-03-15 Thread Sherif Soliman



On 15 Mar 2019, at 4:49, Annamarie Pluhar wrote:


Hi all

Last time I asked for a keystroke it turned out that it was obvious so 
I’m going to ask for another. Is there one for “Load Once” to 
get the images that are embedded in an email to load? OR a preference 
I’ve missed OR??


Thanks.

Annamarie Pluhar


I don't know if there is a pre-existing keystroke for it, but I have the 
Load Once action bound to "L" (Shift + l) in my [MailMate 
keybindings](https://manual.mailmate-app.com/custom_key_bindings) file:



"L" = "loadImagesOnce:";

It works as you would expect - loads the images in an email you're 
already viewing, but the next message you open will not have its 
images/external references loaded until you invoke Shift + l again. Hope 
this helps.


Sherif___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Searching for text of URL links

2019-03-15 Thread Ted Lesley
I must be missing something, I’m trying to search for the text of 
links in mail messages and they don’t come up when I search for part 
of the URL (domain, string in link, etc.)


What am I missing? Thanks for any help.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Keystroke for "Load Once"?

2019-03-15 Thread Annamarie Pluhar

Hi all

Last time I asked for a keystroke it turned out that it was obvious so 
I’m going to ask for another. Is there one for “Load Once” to get 
the images that are embedded in an email to load? OR a preference I’ve 
missed OR??


Thanks.

Annamarie Pluhar
802-451-1941
802-579-5975 (iPhone - not good when I'm at my desk.)
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate