unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nyc4bos@aol.com
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 10829@debbugs.gnu.org
Subject: bug#10829: 24.0.93; Error sending bug report -- default SMTP username
Date: Mon, 27 Feb 2012 20:51:48 -0500	[thread overview]
Message-ID: <84ty2bk9mz.fsf@aol.com> (raw)
In-Reply-To: <871upp9azh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 20 Feb 2012 09:15:30 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> nyc4bos@aol.com writes:
>
>> When trying to send a bug report with a valid email address that is
>> NOT part of (user-login-name), I get a prompt that gives the default
>> SMTP username as the value of (user-login-name).
>
> Your SMTP server requires a user name and password to send email, I take
> it?

Yes.

>
>> If a default is specified, I had expected it to be from the valid
>> "From: " address I provided, not the value of (user-login-name).
>
> I don't think the bit before the "@" sign in the From header is any more
> likely to be the user name you have to give to the SMTP server than
> (user-login-name) is.

In my experience, when required to authenticate to an SMTP server, the
user part (the left of the "@" sign) is almost certainly the username
to give SMTP server.

>
> Emacs just guesses here, and I think (user-login-name) is a perfectly
> valid guess.  So I'm closing this bug report.

When creating a bug report (`report-emacs-bug') using (run)emacs -Q,
Emacs has already "just guessed" when it fills in the "From: "
address:

 From: <user-login-name>@<hostname>.i-did-not-set--mail-host-address--so-tickle-me


So when the user explicitly fills in their valid email address, why
should Emacs override the user with a default of its own?

Why shouldn't Emacs just accept what the user has explicitly typed
by default (and allow in prompt for a different user name)?

IOW, exactly the opposite to what you have changed it to (put in its
own default causing the user to have change it yet again).

This is a regression from (at least) Emacs 23, without any overriding
reason that I can discern.

Could you please reconsider?

I believe there should at least be some discussion about this
regression.








  reply	other threads:[~2012-02-28  1:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-16 23:48 bug#10829: 24.0.93; Error sending bug report -- default SMTP username nyc4bos
2012-02-17  8:03 ` Glenn Morris
2012-02-17 13:10   ` Ted Zlatanov
2012-02-20  8:15 ` Lars Ingebrigtsen
2012-02-28  1:51   ` nyc4bos [this message]
2012-03-09 23:06     ` Lars Magne Ingebrigtsen

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=84ty2bk9mz.fsf@aol.com \
    --to=nyc4bos@aol.com \
    --cc=10829@debbugs.gnu.org \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).