mblaze, a Maildir-focused command line mail client
 help / color / mirror / code / Atom feed
* Reply to all default is not ideal
@ 2021-05-24  8:28 John Flood
  2021-05-24 15:46 ` Leah Neukirchen
  0 siblings, 1 reply; 3+ messages in thread
From: John Flood @ 2021-05-24  8:28 UTC (permalink / raw)
  To: mblaze


[-- Attachment #1.1: Type: text/plain, Size: 1900 bytes --]

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 am not a proficient programmer, but when I saw that the mcom script was a 
bash script, I just hacked it and added an echo command to create a warning 
which has ended up appearing at the top of the draft when it opens and 
which I then need to delete before sending, but, at least it's a reminder.  
So, I'm just wondering whether it would be all that difficult to make an 
alternate command like "mgrp" that would replace the current "mrep" and a 
new "mrep" that would not reply to all.

Thanks,

John Flood

-- 
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/e2840d82-89c6-4cc7-8a69-31b158b27e63n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2277 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Reply to all default is not ideal
  2021-05-24  8:28 Reply to all default is not ideal John Flood
@ 2021-05-24 15:46 ` Leah Neukirchen
  2021-05-25  8:53   ` John Flood
  0 siblings, 1 reply; 3+ messages in thread
From: Leah Neukirchen @ 2021-05-24 15:46 UTC (permalink / raw)
  To: John Flood; +Cc: mblaze

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
 hdrs=
 resume=
 noquote=
+nogroup=
 case "$0" in
 *mcom*)
 	hdr=to
@@ -217,6 +218,9 @@ case "$0" in
 		-noquote)
 			noquote=1
 			shift;;
+		-nogroup)
+			nogroup=1
+			shift;;
 		-??*)
 			hdr=${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" -


hth,
-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Reply to all default is not ideal
  2021-05-24 15:46 ` Leah Neukirchen
@ 2021-05-25  8:53   ` John Flood
  0 siblings, 0 replies; 3+ messages in thread
From: John Flood @ 2021-05-25  8:53 UTC (permalink / raw)
  To: mblaze


[-- Attachment #1.1: Type: text/plain, Size: 4009 bytes --]

Thanks very much!

Not being a "professional", I had to google a bit in order to be sure of 
what to do.  I think I'd done something similar once or twice.  So, after 
saving your suggestion as a patch and using "git apply" in the local mblaze 
repository and then recompiling, when I reply with "mrep -nogroup", it 
works and eliminates "Cc:" completely!

So, thanks very much for that option!

However, we can still "agree to disagree", in that, although they may 
exist, I don't know of email programs with "Reply to all" as an automatic 
default and, if I was knowledgeable enough I would make a patch for a 
"-group" flag to force the group reply with "nogroup" as the default!  Or, 
otherwise, cause mrep to require one of the two flags and give an error if 
flagless!  My post to the group was prompted by a recent mistake have a 
somewhat embarrassing email go to someone's relatives when it was meant 
only for the individual.  It was not disastrous, only embarrassing!  
Hopefully, "Once bitten, twice shy"!

Whatever the case, I am grateful for:
1. Your provision of mblaze
2. Your prompt and practical response!

Sincerely,

John

On Monday, May 24, 2021 at 6:46:36 PM UTC+3 Leah Neukirchen wrote:

> John Flood <jflo...@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
> hdrs=
> resume=
> noquote=
> +nogroup=
> case "$0" in
> *mcom*)
> hdr=to
> @@ -217,6 +218,9 @@ case "$0" in
> -noquote)
> noquote=1
> shift;;
> + -nogroup)
> + nogroup=1
> + shift;;
> -??*)
> hdr=${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" -
>
>
> hth,
> -- 
> Leah Neukirchen <le...@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/d4f0d312-d47d-4d01-af54-dfff59cee0cdn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5641 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-25  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24  8:28 Reply to all default is not ideal John Flood
2021-05-24 15:46 ` Leah Neukirchen
2021-05-25  8:53   ` John Flood

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

	https://git.vuxu.org/mblaze/

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