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#46002: 27.1; Offer to replace characters with notation Date: Wed, 20 Jan 2021 13:19:19 +0800 Message-ID: <871regi3s8.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="13649"; mail-complaints-to="usenet@ciao.gmane.io" To: 46002@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 20 07:57:34 2021 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 1l27Qs-0003Ow-4R for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jan 2021 07:57:34 +0100 Original-Received: from localhost ([::1]:44350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l27Qq-0006rg-Nc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jan 2021 01:57:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l27QM-0006rV-9d for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2021 01:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l27QM-0002ZZ-1i for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2021 01:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l27QL-0005FL-TU; Wed, 20 Jan 2021 01:57:01 -0500 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: Wed, 20 Jan 2021 06:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46002 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.161112581820155 (code B ref -1); Wed, 20 Jan 2021 06:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jan 2021 06:56:58 +0000 Original-Received: from localhost ([127.0.0.1]:52650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l27QH-0005F1-Je for submit@debbugs.gnu.org; Wed, 20 Jan 2021 01:56:57 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l27QF-0005Er-TE for submit@debbugs.gnu.org; Wed, 20 Jan 2021 01:56:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l27QF-0006rN-G7 for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2021 01:56:55 -0500 Original-Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:58749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l27QA-0002V6-2Z for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2021 01:56:55 -0500 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 DE8AF121BBF for ; Wed, 20 Jan 2021 06:56:46 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a23.g.dreamhost.com (100-98-64-179.trex.outbound.svc.cluster.local [100.98.64.179]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8410C120EAC for ; Wed, 20 Jan 2021 06:56:46 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a23.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/6.0.1); Wed, 20 Jan 2021 06:56:46 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Invention-Whistle: 23b0468f01991c19_1611125806735_1038562003 X-MC-Loop-Signature: 1611125806735:3945229194 X-MC-Ingress-Time: 1611125806735 Original-Received: from pdx1-sub0-mail-a23.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a23.g.dreamhost.com (Postfix) with ESMTP id 45E2C84912 for ; Tue, 19 Jan 2021 22:56:46 -0800 (PST) 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=VLjdE28vV+Alt+TcJXCBeZxEiGI=; b=hyf5aaTElfv8fu++ 9tvxejT8tM6A+YhEJG0zIVjR/ovDTfoKPUJZFdw14KwU5dfwO92mudzTEN/i8pba aNWAyFTBsfmqlBTLAwGDh49mXuhBKuQamPWY4YRyUIM6kUkHE0QlINHKLpj/EPMA RmAxopuPFLZmEWi9d6HrRYod7ZY= Original-Received: from jidanni.org (36-234-71-202.dynamic-ip.hinet.net [36.234.71.202]) (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-a23.g.dreamhost.com (Postfix) with ESMTPSA id 0AB0B8484E for ; Tue, 19 Jan 2021 22:56:45 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a23 Received-SPF: pass client-ip=23.83.209.48; envelope-from=jidanni@jidanni.org; helo=dog.birch.relay.mailchannels.net 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_H2=-0.001, 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:198250 Archived-At: Got an idea. You know that message: 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 Well that's great, but, how about also: h Replace them with hexadecimal notation. e.g., \x92 o Replace them with octal notation. e.g., ... q Replace with Quoted Printable notation. e.g., .... (But maybe q (or n) should be for quit (or "no"). Especially as you ask two questions in the same sentence: "Non-printable characters found. Continue sending? (delete, replace, send, edit, ?): " But then totally forget to give the user ^a choice for this question!!)