From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Disambiguate modeline character for UTF-8? Date: Fri, 07 Jul 2023 14:38:57 +0200 Message-ID: <87lefrhp5q.fsf@igel.home> 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> <87r0pkgcbw.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24141"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ulrich Mueller , Eli Zaretskii , eggert@cs.ucla.edu, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 07 14:39:54 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 1qHkkb-000646-LX for ged-emacs-devel@m.gmane-mx.org; Fri, 07 Jul 2023 14:39:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHkjx-0008P5-1r; Fri, 07 Jul 2023 08:39:13 -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 1qHkjr-0008OG-3v for emacs-devel@gnu.org; Fri, 07 Jul 2023 08:39:07 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHkjo-0004At-QF; Fri, 07 Jul 2023 08:39:06 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4QyCcz29rDz1r68b; Fri, 7 Jul 2023 14:38:58 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4QyCcy4pFHz1qqlS; Fri, 7 Jul 2023 14:38:58 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id soaI60ktQutd; Fri, 7 Jul 2023 14:38:57 +0200 (CEST) X-Auth-Info: FloJelRTIcOgWyS9kxqeT2Yj/ar1eSZmdDZGr3sNwqMsQKxzqXq7hZsswB42tM+2 Original-Received: from igel.home (aftr-62-216-205-149.dynamic.mnet-online.de [62.216.205.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 7 Jul 2023 14:38:57 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 701E92C1511; Fri, 7 Jul 2023 14:38:57 +0200 (CEST) In-Reply-To: <87r0pkgcbw.fsf@yahoo.com> (Po Lu's message of "Fri, 07 Jul 2023 20:01:23 +0800") X-Yow: My pants just went to high school in the Carlsbad Caverns!!! Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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:307562 Archived-At: On Jul 07 2023, Po Lu wrote: > Why? Again, the purpose of the indicator is to indicate the characters > that can be represented in the buffer's coding system. No. The purpose is to indicate the buffer's file coding system. You can put non-latin-1 characters in a buffer with a latin-1 file coding system just fine. The file coding system is only relevant when the buffer contents is saved. The buffer contents, if multibyte, is always represented by utf-8-emacs-unix, but that is an internal detail. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."