From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#44231: 27.1; Non-printable characters found. Continue sending? Date: Mon, 26 Oct 2020 13:42:35 +0800 Message-ID: <87sga14k6s.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2097"; mail-complaints-to="usenet@ciao.gmane.io" To: 44231@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 26 07:42:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kWwCv-0000PV-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 07:42:17 +0100 Original-Received: from localhost ([::1]:44094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWwCs-0001SF-SQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 02:42:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWwCg-0001S5-PW for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 02:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWwCg-0006DF-Gh for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 02:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWwCg-0006i7-8s; Mon, 26 Oct 2020 02:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 26 Oct 2020 06:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44231 X-GNU-PR-Package: emacs,gnus X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160369450225769 (code B ref -1); Mon, 26 Oct 2020 06:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Oct 2020 06:41:42 +0000 Original-Received: from localhost ([127.0.0.1]:38255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWwCM-0006hY-GX for submit@debbugs.gnu.org; Mon, 26 Oct 2020 02:41:42 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:32840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWwCL-0006hR-DN for submit@debbugs.gnu.org; Mon, 26 Oct 2020 02:41:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWwCL-0001QP-6D for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 02:41:41 -0400 Original-Received: from purple.birch.relay.mailchannels.net ([23.83.209.150]:5805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWwCJ-00065G-70 for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 02:41:40 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DFC4320A18 for ; Mon, 26 Oct 2020 06:41:36 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a52.g.dreamhost.com (100-98-64-6.trex.outbound.svc.cluster.local [100.98.64.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3F4BB20710 for ; Mon, 26 Oct 2020 06:41:36 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a52.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.10); Mon, 26 Oct 2020 06:41:36 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Bottle-Cooing: 1269771c12ff8432_1603694496527_2197684416 X-MC-Loop-Signature: 1603694496527:3654139102 X-MC-Ingress-Time: 1603694496527 Original-Received: from pdx1-sub0-mail-a52.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a52.g.dreamhost.com (Postfix) with ESMTP id 03145839FF for ; Sun, 25 Oct 2020 23:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=8J9qlFRg2A/Y19WgABHczb616lQ=; b=R5LyISEi5cHlPMWc 1LLW88JqOaqQz/KVAJ3M5Ek79OPZ2DQIunp9I8puaMc+2KrqXAIUzr6LwuT5c0OW CiAT7kipvFEAix/uv7tFJ7fgDtUuVcC6nbKvC9UN6rBQuGi5R6ZvKDOZ/rc3Dbex wrde44UQagVjFkBA9XmaE2A2TRQ= Original-Received: from jidanni.org (1-170-80-31.dynamic-ip.hinet.net [1.170.80.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a52.g.dreamhost.com (Postfix) with ESMTPSA id ABA407F54D for ; Sun, 25 Oct 2020 23:41:35 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a52 Received-SPF: pass client-ip=23.83.209.150; envelope-from=jidanni@jidanni.org; helo=purple.birch.relay.mailchannels.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/26 02:41:37 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191550 Archived-At: Today let's discuss this prompt: Non-printable characters found. Continue sending? d: delete r: replace s: send e: edit Remove non-printable Replace non-printable Send as is without Continue editing characters and send characters with "." removing anything and send 1. The user has a right to pick a different character than ".". And not just via .gnus.el, etc. So add a way to prompt for one. 2. In all cases the user has a right to continue editing after the replacement, so please implement that. E.g., the user wants to see how everything looks, and mention: 'Larry, as you see above, I replaced the garbage characters with "X".' 3. Also offer to replace with \x12 \0x12 etc. formats. as: the user might want to say "See Larry, I replaced that junk with ASCII representations. So you can see all the different ones that you sent me were."