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: Using Emacs in fbterm. Date: Tue, 30 Aug 2022 15:10:55 +0300 Message-ID: <83czciue28.fsf@gnu.org> References: <83czcjvtt2.fsf@gnu.org> <874jxu4zeg.fsf@igel.home> <87v8qa3k0b.fsf@igel.home> <83r10yufto.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, schwab@linux-m68k.org, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 30 14:17:30 2022 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 1oT0BL-0008FL-8L for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Aug 2022 14:17:27 +0200 Original-Received: from localhost ([::1]:39548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT0BK-0008Vh-9f for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Aug 2022 08:17:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT04h-0001HV-RH for emacs-devel@gnu.org; Tue, 30 Aug 2022 08:10:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT04f-0006ng-5u; Tue, 30 Aug 2022 08:10:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lXaguwzl/6K5mFVPgv17z7lwkHlchdwhoQHwl9Fp0BM=; b=jhhZzu4j/Baw HpZZAEAzfDtOuB4X62SysRJ6jKZ9SsOj8MqtH3w/Knfgq0OqsN0cLfr7ELh/T/jwW28Fp+zUfSb5c EyT3buQmObzYztzNMWVDsx5hpwQQx2uhq1ZRFYFkEPzKspgLuc008Vnhibt9JxKL12t/0iIRKzMnh mTPfampXrdfwJmvhzP9Iw72b5yougs1OpE9EIx9r56vEMPoBQuh8aG2U5VBzuBCDzzPGjEkoV0c2Q BybvI8ShsrKqeNLmqclnOc2tjKgkDTy80QuDOCa3lldRoDFDRGui2XM4MybVZBzQE3UnK0V0N4TSX VB5EGIdUpahdq7aKumtzwQ==; Original-Received: from [87.69.77.57] (port=4735 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 1oT04e-0006dd-Kr; Tue, 30 Aug 2022 08:10:32 -0400 In-Reply-To: (message from Gregory Heytings on Tue, 30 Aug 2022 12:04:24 +0000) 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" Xref: news.gmane.io gmane.emacs.devel:294336 Archived-At: > Date: Tue, 30 Aug 2022 12:04:24 +0000 > From: Gregory Heytings > cc: acm@muc.de, schwab@linux-m68k.org, emacs-devel@gnu.org > > > But since fbterm doesn't always announce itself as such, but instead > > calls itself "linux", this is not reliable enough, is it? > > It is. There are two cases: if it calls itself "linux", you get eight > colors, and everything works as expected with those eight colors. If it > calls itself "fbterm", you get wrong colors (without the patch). > > (And of course we can also tell users to set TERM=fbterm in the FAQ > entry.) Maybe it's worth telling this in a comment in fbterm.el? I mean that if the user's fbterm doesn't identify itself as such, they will get only 8 colors, unless they fiddle with the environment. > >> And how can I check whether compositions should be disabled, that is, > >> if they confuse cursor movement? > > > > There are some compositions in HELLO, and you can also try some long > > Emoji sequences. > > > > As far as I can tell, cursor movement works as expected with > auto-composition-mode t. > > So I suggest the following patch, with an additional note in the FAQ > entry. Thanks, this is fine by me.