unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: superfluous(?) quotes in mail alias expansion
Date: Tue, 21 Mar 2023 14:58:08 +0100	[thread overview]
Message-ID: <87a606b40f.fsf@no.lan> (raw)

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



             reply	other threads:[~2023-03-21 13:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 13:58 Gregor Zattler [this message]
2023-03-21 14:24 ` superfluous(?) quotes in mail alias expansion Emanuel Berg
2023-03-22 21:13   ` Gregor Zattler
2023-03-24 10:47   ` Byung-Hee HWANG

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a606b40f.fsf@no.lan \
    --to=telegraph@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).