Andy Koppe <andy.koppe@xxxxxxxxx> writes: > I'm not sure that this is the right way to handle a missing '@' here > actually, because %al already returns the whole email field in that > case, which makes sense as the likes of the 'mail' command would > interpret it as a local username. We could expand "%am" to \C-h (\010) so that "%al@%am" would end up displaying the same as "%al" but that would be way too cute for its own worth ;-) It is unfortunate that "%al@%am" cannot be the same as "%ae" for local-only address, but giving an empty string for "%am" if "%ae" is local-only would be the best we could do for our users, and certainly much better than giving the same as "%ae", as you said above. Thanks.