Discussion:
[mh-e:bugs] #485 mail composition broken with mailutils
Mike Kupfer
2016-09-23 02:38:47 UTC
Permalink
---

** [bugs:#485] mail composition broken with mailutils**

**Status:** unread
**Milestone:** Unassigned
**Created:** Fri Sep 23, 2016 02:38 AM UTC by Mike Kupfer
**Last Updated:** Fri Sep 23, 2016 02:38 AM UTC
**Owner:** Mike Kupfer


See the discussion starting at https://sourceforge.net/p/mh-e/mailman/mh-e-users/thread/5b73abdd-735f-9c23-1bf0-d5104c9af73f%40gmail.com/#msg35291699 .



---

Sent from sourceforge.net because mh-e-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/mh-e/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/mh-e/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mike Kupfer
2016-09-23 02:43:08 UTC
Permalink
- **status**: unread --> open



---

** [bugs:#485] mail composition broken with mailutils**

**Status:** open
**Milestone:** Unassigned
**Created:** Fri Sep 23, 2016 02:38 AM UTC by Mike Kupfer
**Last Updated:** Fri Sep 23, 2016 02:38 AM UTC
**Owner:** Mike Kupfer


See the discussion starting at https://sourceforge.net/p/mh-e/mailman/mh-e-users/thread/5b73abdd-735f-9c23-1bf0-d5104c9af73f%40gmail.com/#msg35291699 .



---

Sent from sourceforge.net because mh-e-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/mh-e/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/mh-e/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mike Kupfer
2016-09-23 03:01:11 UTC
Permalink
The code to use "comp -build" is significantly cleaner than what's currently in mh-bare-components, and I think it will work for any version of mu-mh that users might run into. So I'm inclined to use "comp -build" when it's available, and just use the current code as a backup (that may just be for nmh 1.5). Then hopefully someday we'll be able to remove the more complicated code.

So the next question is how MH-E determines that "comp -build" will work.

Option A would be to invoke "comp -help" and see whether "build" is listed. There are some complications, like the fact that nmh prints "-(build)" and mu-mh prints something different ("-(b)uild", IIRC). And it seems like we should just do it when MH-E determines the variant, not each time the user sends a message.

Option B would be to hardwire into MH-E knowledge about which versions of which variants support "comp -build". I generally dislike hardcoded tables like this, because they tend to get out of date. But once support for "comp -build" has been added to a variant, I doubt it will get removed, so we'd just be hardcoding the minimum version to use "comp -build". And this approach would be more robust in the face of changes to the help text.

So I'm inclined to go with Option B, but I'm open to arguments about why A (or some other option) would be better.


---

** [bugs:#485] mail composition broken with mailutils**

**Status:** open
**Milestone:** Unassigned
**Created:** Fri Sep 23, 2016 02:38 AM UTC by Mike Kupfer
**Last Updated:** Fri Sep 23, 2016 02:43 AM UTC
**Owner:** Mike Kupfer


See the discussion starting at https://sourceforge.net/p/mh-e/mailman/mh-e-users/thread/5b73abdd-735f-9c23-1bf0-d5104c9af73f%40gmail.com/#msg35291699 .



---

Sent from sourceforge.net because mh-e-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/mh-e/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/mh-e/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Bill Wohler
2016-09-23 05:10:02 UTC
Permalink
I'd follow any precedent that we already have in the code. I suspect that it may lead to Option B, but I'd scan the code first to see.


---

** [bugs:#485] mail composition broken with mailutils**

**Status:** open
**Milestone:** Unassigned
**Created:** Fri Sep 23, 2016 02:38 AM UTC by Mike Kupfer
**Last Updated:** Fri Sep 23, 2016 03:01 AM UTC
**Owner:** Mike Kupfer


See the discussion starting at https://sourceforge.net/p/mh-e/mailman/mh-e-users/thread/5b73abdd-735f-9c23-1bf0-d5104c9af73f%40gmail.com/#msg35291699 .



---

Sent from sourceforge.net because mh-e-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/mh-e/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/mh-e/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Loading...