Feature Request: Command-click to select and open URL in default browser
-
benny
Do you mean in the Composer? In that case fn-return should open it. It was buggy on Mojave though and therefore you currently need the latest test release.
You also need “Edit ▸ Substitutions ▸ Smart Links” enabled.
-
Mike Conley
This is very strange; I should have provided an example in my report, because now I have no idea what my problem was. Maybe it was the Composer settings, as you suggest, because I can't find an example in the Viewer in which I can't click on a URL.
Oh, well. If I figure out what I meant, I'll update this ticket, I guess. Sorry about that.
-
benny
- State changed from new to cantreproduce
-
Mike Conley
Okay, here we go. This is, in fact, the notification from lighthouse about a change in one of the tickets I submitted. I've included the .emi file, a text dump of the raw message source, and a screen shot of what it looks like in my Viewer. Note that the URL in the message is not highlighted.
This is on my home machine; the machine at work seems to be doing the right thing.
I note also that I'm unable to save the Edit > Substitutions > Smart Links preference; no matter how I enable it, after quitting and relaunching MM, it has turned itself off. There is also no way to enable it unless a Composer window is open, so I don't even know if this option applies to messages in the Viewer.
-
Mike Conley
And, actually, I'm noticing that none of the messages show clickable links in the Viewer on my home machine. I've attached my defaults for MM; any idea what I don't have set correctly?
-
benny
The setting for smart links does not apply to the viewer. Based on your screenshot we are dealing with “Prefer Plain Text” and therefore the display of a plain text message. Links should appear except if you have this preference disabled:
defaults read com.freron.MailMate MmAutoLinkPlainTextURLsInHTMLAs far as I can see you don't use that setting. And I can see no issues with the files you provided.
I'm kind of out of ideas... Maybe check the HTML generated using “Message > Show HTML Source”. See if these links really do not include
<a href="...">....</a>. -
Mike Conley
Well, here's your message:-
</div><div dir="auto">-------------------------------------------------------------------------------- </div><div dir="auto"> </div><div dir="auto">Assigned: benny </div><div dir="auto">State: cantreproduce </div><div dir="auto"> </div><div dir="auto">View this ticket online: https://freron.lighthouseapp.com/projects/58672/tickets/2168-feature-request-command-click-to-select-and-open-url-in-default-browser#ticket-2168-7 </div><div dir="auto"> </div><div dir="auto">Update your Profile: https://freron.lighthouseapp.com/profile </div><div dir="auto">Stop being notified of this ticket's changes:What I'm asking for is for MM to detect the https//... string in the text and highlight it so that I can click on it, whether or not it's part of an tag or even part of the HTML section of a message. The ability to click a link should be available even in plain text messages.
But I guess you're saying is that MM should be doing that already, unless I have MmAutoLinkPlainTextURLsInHTML set to False, which I don't (in fact, I explicitly just set it to True and quit and relaunched MM, and it made no difference).
-
benny
That is correct. It should work by default. But MailMate is clearly involved since links are not generated in the output you see above.
There's a primitive debug variable which we can also use to check the HTML generated:
defaults write com.freron.MailMate MmDumpGeneratedHTML -bool YESThen launch from a Terminal window:
/Applications/MailMate.app/Contents/MacOS/MailMateThis is just to make absolutely sure that nothing is generated. (I'll need to add more debug output to MailMate to see if MailMate tries to generate links at all.)
-
Mike Conley
I'm attaching the output from a run using your debugging option.
-
Mike Conley
Whoops. That didn't work. Here it is.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

