From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Disambiguate modeline character for UTF-8? Date: Fri, 07 Jul 2023 12:42:58 +0200 Message-ID: References: <83cz16k2kx.fsf@gnu.org> <833522jwvr.fsf@gnu.org> <87wmzdjk6l.fsf@yahoo.com> <219844d2-ca07-30f4-4e2c-1b1df76d0fa5@cs.ucla.edu> <83fs60hnj2.fsf@gnu.org> <83cz14guz3.fsf@gnu.org> <87zg48gsa9.fsf@yahoo.com> <87v8ewgoin.fsf@yahoo.com> <83wmzcf2e0.fsf@gnu.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="20083"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) Cc: luangruo@yahoo.com, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 07 12:44:10 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qHiwc-00056I-4y for ged-emacs-devel@m.gmane-mx.org; Fri, 07 Jul 2023 12:44:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHivd-0005fx-Bp; Fri, 07 Jul 2023 06:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHivb-0005fT-7S for emacs-devel@gnu.org; Fri, 07 Jul 2023 06:43:07 -0400 Original-Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qHivZ-0001Jg-EN; Fri, 07 Jul 2023 06:43:06 -0400 In-Reply-To: <83wmzcf2e0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Jul 2023 13:21:27 +0300") Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307556 Archived-At: >>>>> On Fri, 07 Jul 2023, Eli Zaretskii wrote: >> > Not that I expect this to happen in practice anyway, since UTF-7 is >> > rarely encountered nowadays. >> >> Yes, and when users encounter that rare case, they should get an >> indication that the file they are visiting is in an unusual encoding. > We don't have a notion of "unusual" encoding in Emacs. Basically, > anything besides ASCII and perhaps UTF-8 is "unusual" nowadays, so > such a notion won't be useful, IMO. > How is utf-7 more "unusual" than, say, ebcdic or iso-2022-jp or even > windows-1251? Sorry, poor choice of wording. What I meant was that when users encounter a rare case like UTF-7 (or any of the others you just mentioned), then they should get an indication of the fact.