all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: "Kelly Dean" <kelly@prtime.org>
Cc: emacs-devel@gnu.org
Subject: Rant - Emacs mail is not user friendly
Date: Mon, 17 Nov 2014 08:22:48 +0900	[thread overview]
Message-ID: <87mw7qvign.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <nWtpGiyFKR9k7nE3zeYlerT8rNARjNQg7DewPsssrEs@local>

Kelly Dean writes:

 > > In particular, mail
 > > queuing is about as complex as things get.  MUAs normally delegate
 > > queuing to the MTA (that's how I handle disconnected operation on my
 > > laptop, for example, and that's the *only* reason I run Postfix on my
 > > laptop), and in that sense feedmail.el is a hack.

 > It doesn't seem very complex, at least on the user side of
 > things.

Of course the user doesn't perceive the complexity!  It's hidden in
the abstractions of "MUA" and "MTA".  You're breaking the abstraction
by taking on the queuing function of the MTA outside of an MTA.

 > You might want to consider msmtp instead of Postfix on your laptop.

Anything is possible.  But why in the world would I want to do that?
On the one hand, Postfix was near zero effort to install and
configure, and on the other, no problems since.  Furthermore, I use it
on several other machines, besides needing to be able to support it
when Mailman site admins ask questions about Mailman/Postfix
configurations.  My laptop certainly can spare the cycles.

 > > I'm sure you have good reason for doing that,

 > Yes. Emacs on my machine doesn't have Internet access.

I don't care about your reason, that's what I said.  I only care about
what you did, which I have reason to believe was asking for exactly
the kind of trouble you experienced.

 > > but that is a very unusual use case.

 > I certainly hope not! The usual case is that a person's instance of
 > Emacs has access to his data (otherwise, Emacs wouldn't be very
 > useful); if my use case is unusual, that means the usual case is
 > that his Emacs has access not only to his data, but also to the
 > Internet.

Indeed, it does.  That is the usual case, no matter what you hope.
You don't have to like it, but it nevertheless informs the design of
programs like feedmail.

 > With a program like Emacs serving as a bridge, that means
 > his data isn't his data, but instead belongs to some Russian or
 > Chinese hacker, whoever crosses the bridge first, and the original
 > owner is permitted to retain a copy of the data just due to the
 > hacker's mercifulness, or maybe just as bait so the hacker can get
 > even more data later. The years when normal people weren't targets
 > are long gone.

You have evidence for Emacs being used in that way by crackers?  (I
agree with you that Emacs that has an attack surface that amounts to
the whole world, and practically, that securing it is too hard to
think about succeeding, but that's not a popular view on this list.
And it's just theory.)

 > > Bottom line: I think the task you were trying to accomplish is far
 > > more complex that you are admitting, and has little to do with "user
 > > friendliness" of Emacs MUAs.

 > My previous, manual workflow was:

Indeed.  *Your* *manual* workflow, *mediated by two very complex
programs*, the webmail program and the MTA behind it, which have a
traditional and well-defined, but fundamentally arbitrary division of
labor -- which you are not respecting in your redesigned workflow.
Similarly with message-mode and the send-mail module in Emacs.

 > That was inconvenient, so I decided a better workflow would be:
 > 0. Compose a message in Emacs in standard format, with Subject and To headers separated from the body by a blank line.
 > 1. Add the From, Date, and Message-ID headers.
 > 2. Save the message to a file foo in an outbox directory.
 > 3. Run ⌜msmtp -t < outbox/foo⌝
 > 4. If #3 succeeds, then run ⌜mv outbox/foo sent/foo⌝

An excellent analysis, indeed.  So why did you choose an excessively
complex program apparently designed for a different workflow, aka
feedmail.el, to do step 2?  Just save the message using write-file,
with a little extra Lisp to construct an appropriate queuefile name
and to remove MUA artifacts like the header delimiter line.  Add a
tiny shell function to do 3 and 4.  This amount of Lisp would probably
cost less keystrokes and thinking overall, although a bit more design,
than configuring feedmail.




  parent reply	other threads:[~2014-11-16 23:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <emacs-mail-is-unusable-0>
2014-11-15 11:46 ` Rant - Emacs mail is not user friendly Stephen J. Turnbull
2014-11-16 12:18   ` Kelly Dean
2014-11-16 17:49     ` David Caldwell
2014-11-16 22:52     ` Stephen Berman
2014-11-17  9:48       ` Kelly Dean
2014-11-16 23:22     ` Stephen J. Turnbull [this message]
2014-11-17 10:06       ` Kelly Dean
2014-11-17 13:59         ` Ted Zlatanov
2014-11-17 19:54       ` Richard Stallman
2014-11-18  5:30         ` Stephen J. Turnbull
2014-11-21 14:51           ` Richard Stallman
2014-11-21 16:07             ` Stefan Monnier
2014-11-22  5:41               ` Stephen J. Turnbull
2014-11-22 15:51                 ` Stefan Monnier
2014-11-22 16:13                   ` Stephen J. Turnbull
2014-11-22 11:08               ` Richard Stallman
2014-11-22 15:53                 ` Stefan Monnier
2014-11-22  5:40             ` Stephen J. Turnbull
2014-11-22 11:09               ` Richard Stallman
2014-11-21 16:22           ` Emacs dependencies vs. security Ivan Shmakov
2014-12-19 17:22           ` application/x-patch MIME type used by Gnus? (was: Rant - Emacs mail is not user friendly) Reiner Steib
2014-12-19 20:01             ` Stephen J. Turnbull
     [not found] <emacs-mail-is-unusable-0@[87.69.4.28]>
2014-11-15  8:27 ` Rant - Emacs mail is not user friendly Eli Zaretskii
     [not found] <54670009.027ce00a.0184.ffffdfd3SMTPIN_ADDED_BROKEN@mx.google.com>
2014-11-15  7:54 ` Alexis
2014-11-15  6:54 Kelly Dean

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

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

  git send-email \
    --in-reply-to=87mw7qvign.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=kelly@prtime.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.