From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bugfix for utf-8 XTerm/MinTTY and (set-input-meta-mode t) Date: Tue, 01 Jun 2021 20:52:40 +0300 Message-ID: <83czt5zd3r.fsf@gnu.org> References: <83k0ndzfxr.fsf@gnu.org> <83h7ihze5y.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30685"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Max Mikhanosha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 01 19:53:39 2021 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 1lo8aB-0007oW-OE for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 19:53:39 +0200 Original-Received: from localhost ([::1]:44412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo8aA-0005DU-Gw for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 13:53:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo8ZU-0004Nz-8l for emacs-devel@gnu.org; Tue, 01 Jun 2021 13:52:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39872) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo8ZT-0001sS-QZ; Tue, 01 Jun 2021 13:52:55 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4204 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo8ZT-0000kd-EQ; Tue, 01 Jun 2021 13:52:55 -0400 In-Reply-To: (message from Max Mikhanosha on Tue, 01 Jun 2021 17:45:22 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:270233 Archived-At: > Date: Tue, 01 Jun 2021 17:45:22 +0000 > From: Max Mikhanosha > Cc: emacs-devel@gnu.org > > On Tuesday, June 1st, 2021 at 1:29 PM, Eli Zaretskii wrote: > > > And btw, why do you use MetaSendEscape:false with these emulators? It > > sounds like if you set MetaSendEscape:true, your problems will be > > solved, no? FWIW, this is how I use terminal emulators here, for many > > years, including with non-ASCII input (and of course Meta-characters), > > and I have yet to see a single problem. > > Its because of vi. Not to start an argument, but evil package for emacs is best of both worlds, > its vim with Elisp scripting, and my brain is already hardwired for vi keys for decades). OK, but then it cannot really be anything but an opt-in behavior. And it cannot be hardcoded to depend on UTF-8 being the keyboard encoding, because if a user sets the keyboard encoding to be UTF-8 (something very popular these days), it doesn't mean the user gives up the ability to type Latin characters in the 128 -- 255 range. Also, you show the results with input-meta-mode nil or t, but the default value is neither nil nor t. What is the effect of the patch when input-meta-mode is at its default value?