GNU bug report logs - #41096
message-sendmail-f-is-evil has hard to understand docstring

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Tue, 5 May 2020 15:34:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41096 in the body.
You can then email your comments to 41096 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41096; Package emacs. (Tue, 05 May 2020 15:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 05 May 2020 15:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: message-sendmail-f-is-evil has hard to understand docstring
Date: Tue, 5 May 2020 17:33:25 +0200
I'm having some trouble parsing this documentation:

‘message-sendmail-f-is-evil’
     Non-‘nil’ means don’t add ‘-f username’ to the sendmail command
     line.  Doing so would be even more evil than leaving it out.

So when would I use it?  And what is evil, to have it set to nil or
non-nil or what?  Is there a double negation in there?

Could someone who knows what this is all about please consider
clarifying this documentation for mere mortals like me?  Thanks.  :-)

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41096; Package emacs. (Tue, 05 May 2020 17:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 41096 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 41096 <at> debbugs.gnu.org
Subject: Re: bug#41096: message-sendmail-f-is-evil has hard to understand
 docstring
Date: Tue, 05 May 2020 13:37:55 -0400
The first sentence seems clear to me. If you are using sendmail to send
mail, and don't want Emacs to pass the "-f" option to sendmail, set this
non-nil. If you want to know what the -f option does, see man sendmail.
If you aren't using sendmail to send mail, ignore it.

(The evil part is a 20+ year old joke. Perhaps you want to rename it to
a prosaic message-sendmail-specify-envelope-from.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41096; Package emacs. (Tue, 05 May 2020 18:06:01 GMT) Full text and rfc822 format available.

Message #11 received at 41096 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 41096 <at> debbugs.gnu.org
Subject: Re: bug#41096: message-sendmail-f-is-evil has hard to understand
 docstring
Date: Tue, 5 May 2020 20:05:40 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> (The evil part is a 20+ year old joke. Perhaps you want to rename it to
> a prosaic message-sendmail-specify-envelope-from.)

I think we can keep the joke even if I don't get it.

The thing is that I don't understand the docstring as a whole.  The
first part is fine, but the joke confuses me and makes me wonder what
I missed.

I think it would be enough to add a short explanatory note for why
this option exists at the end, for example that some sendmail
alternatives do not support "-f".   I only hope that wouldn't ruin the
joke...?  :-)

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41096; Package emacs. (Tue, 05 May 2020 18:15:02 GMT) Full text and rfc822 format available.

Message #14 received at 41096 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: Glenn Morris <rgm <at> gnu.org>, 41096 <at> debbugs.gnu.org
Subject: Re: bug#41096: message-sendmail-f-is-evil has hard to understand
 docstring
Date: Tue, 05 May 2020 20:13:59 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> The thing is that I don't understand the docstring as a whole.  The
> first part is fine, but the joke confuses me and makes me wonder what
> I missed.
>
> I think it would be enough to add a short explanatory note for why
> this option exists at the end, for example that some sendmail
> alternatives do not support "-f".   I only hope that wouldn't ruin the
> joke...?  :-)

Yeah, I don't understand the doc string, either.

There's also feedmail-sendmail-f-doesnt-sell-me-out, which is a jokey
name along the same lines...

But what -f username does is set the MAIL FROM value when doing the SMTP
negotiation.  USERNAME will then end up in the Received line in the
message.  Some MTAs don't allow this to be set willy-nilly by everybody,
but some do.  The doc string of the feedmail variable has an exegesis on
the subject...

I think the doc string should just be rewritten to attempt less humour.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41096; Package emacs. (Tue, 05 May 2020 18:29:01 GMT) Full text and rfc822 format available.

Message #17 received at 41096 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: rgm <at> gnu.org, 41096 <at> debbugs.gnu.org
Subject: Re: bug#41096: message-sendmail-f-is-evil has hard to understand
 docstring
Date: Tue, 05 May 2020 21:28:24 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Tue, 5 May 2020 20:05:40 +0200
> Cc: 41096 <at> debbugs.gnu.org
> 
> The thing is that I don't understand the docstring as a whole.  The
> first part is fine, but the joke confuses me and makes me wonder what
> I missed.

Here's one attempt to de-confuse it:

     Non-nil means don't add '-f username' to the sendmail command
     line.  Using that option would be even more evil than leaving
     it out.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41096; Package emacs. (Thu, 20 Aug 2020 13:28:02 GMT) Full text and rfc822 format available.

Message #20 received at 41096 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: Glenn Morris <rgm <at> gnu.org>, 41096 <at> debbugs.gnu.org
Subject: Re: bug#41096: message-sendmail-f-is-evil has hard to understand
 docstring
Date: Thu, 20 Aug 2020 15:27:45 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I think the doc string should just be rewritten to attempt less humour.  :-)

I've now done so in Emacs 28 and added a link to the feedmail variable
which explains it all in depth.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 20 Aug 2020 13:29:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 41096 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 20 Aug 2020 13:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Sep 2020 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.