mblaze, a Maildir-focused command line mail client
 help / color / mirror / code / Atom feed
From: Leah Neukirchen <leah@vuxu.org>
To: John Flood <jfloodcsc@gmail.com>
Cc: mblaze <mblaze@googlegroups.com>
Subject: Re: Reply to all default is not ideal
Date: Mon, 24 May 2021 17:46:32 +0200	[thread overview]
Message-ID: <87wnro878n.fsf@vuxu.org> (raw)
In-Reply-To: <e2840d82-89c6-4cc7-8a69-31b158b27e63n@googlegroups.com> (John Flood's message of "Mon, 24 May 2021 01:28:58 -0700 (PDT)")

John Flood <jfloodcsc@gmail.com> writes:

> I have been using mblaze for a certain number of weeks after using mutt 
> (still installed) for several years.  I am still getting used to it.
> I don't know if there is a better way of raising my issue, but I would just 
> note that from my point of view, the default action of mrep, which is 
> "reply to all" has the result that, unless one is vigilant, as we all know, 
> one may end up sending messages to many people that may contain information 
> intended for only one or a few.  As a result, one may unintentionally end 
> up offending some, causing division in a group or simply spreading 
> information that is better kept confidential.
> So, I am just expressing the wish that there was a way for one to make a 
> more deliberate choice to "reply to all" in order to avoid inadvertent 
> mistakes.  With vim as an editor, it is, of course, very easy to delete all 
> Cc: addresses, but occasionally we all do things in a hurry or when 
> distracted and some people even make the mistake when there is a deliberate 
> choice as in Gmail itself.

I disagree, in 99% of cases, Reply All is what you want, and as you
say, the adresses are shown and furthermore, it's easier to delete
messages than to look them up and add them manually.

So mrep will definitely keep Reply All as default, but
this does not mean we can't add "reply directly" command or flag.
I think this just needs to toggle the Cc: generation.

Try this:

diff --git a/mcom b/mcom
index 057a998..50b48cb 100755
--- a/mcom
+++ b/mcom
@@ -110,6 +110,7 @@ defaultc=e
 case "$0" in
@@ -217,6 +218,9 @@ case "$0" in
+		-nogroup)
+			nogroup=1
+			shift;;
@@ -357,10 +361,12 @@ fi
 			to=$(mhdr -d -h reply-to "$1")
 			[ -z "$to" ] && to=$(mhdr -d -h from "$1")
 			printf 'To: %s\n' "$to"
-			printf 'Cc: %s\n' \
-			       "$(mhdr -d -A -h to:cc: "$1" |
-				       notmine |grep -Fv -e "$to" |
-				       ouniq |commajoin)"
+			if [ -z "$nogroup" ]; then
+				printf 'Cc: %s\n' \
+					"$(mhdr -d -A -h to:cc: "$1" |
+						notmine |grep -Fv -e "$to" |
+						ouniq |commajoin)"
+			fi
 			printf 'Bcc: \n'
 			printf '%s\n' "$hdrs" | awk '{ print }' |
 				msed "/body/d" -

Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/

You received this message because you are subscribed to the Google Groups "mblaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/87wnro878n.fsf%40vuxu.org.

  reply	other threads:[~2021-05-24 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24  8:28 John Flood
2021-05-24 15:46 ` Leah Neukirchen [this message]
2021-05-25  8:53   ` John Flood

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:

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

  git send-email \
    --in-reply-to=87wnro878n.fsf@vuxu.org \
    --to=leah@vuxu.org \
    --cc=jfloodcsc@gmail.com \
    --cc=mblaze@googlegroups.com \
    --subject='Re: Reply to all default is not ideal' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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 NNTP newsgroup(s).