unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* superfluous(?) quotes in mail alias expansion
@ 2023-03-21 13:58 Gregor Zattler
  2023-03-21 14:24 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler @ 2023-03-21 13:58 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Emacs users and developers,

the fine manual has this to say regarding mail aliases:

   If an address contains a space, quote the whole
   address with a pair of double quotes, like this:

        alias jsmith "John Q. Smith <none@example.com>"

   Note that you need not include double quotes around
   individual parts of the address, such as the
   person’s full name.  Emacs puts them in if they are
   needed.  For instance, it inserts the above address
   as ‘"John Q. Smith" <none@example.com>’.

This describes correctly how this mechanism works,
regarding it's outcome, but not why.

I understand it's necessary to somehow mark in the
alias definition where an address starts and ends,
since there can be several.

But I don't know why it's "needed" to put quotes around
the

John Q. Smith

part of the address.  Actually they seem to be
superfluous and aesthetically not pleasing.  To me it
seems as quotes would be only needed if the string
contained `@' or `,'!?

Are the quotes really necessary (for what) and if not:
Is it possible to get rid of the Quotes?

Thanks, Gregor



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-24 10:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-21 13:58 superfluous(?) quotes in mail alias expansion Gregor Zattler
2023-03-21 14:24 ` Emanuel Berg
2023-03-22 21:13   ` Gregor Zattler
2023-03-24 10:47   ` Byung-Hee HWANG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).