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: What's happened to M- `completion-at-point'? Date: Wed, 04 May 2022 22:39:38 +0300 Message-ID: <83o80d2ikl.fsf@gnu.org> References: <83bkwd4xle.fsf@gnu.org> <83sfpp2qvy.fsf@gnu.org> <83r1592km7.fsf@gnu.org> <875yml3xso.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10788"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 21:41:37 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 1nmKsS-0002f9-Cd for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 21:41:36 +0200 Original-Received: from localhost ([::1]:41120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmKsR-0003QG-4W for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 15:41:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmKqm-0001wE-Az for emacs-devel@gnu.org; Wed, 04 May 2022 15:39:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmKqe-00006d-4S; Wed, 04 May 2022 15:39:51 -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=a6hNqJvFdxx/a1tA250DofmWjmDBX53QucvncZMB8uI=; b=ULxbKzkceCLQ C+6snu22bh0OlThkVZhpeUa+Oe1lMfVIVaj643b0PG6HHha8JSO1Wbn+Vo0u5a5VzN1629G3T6jUk O2+AcOXCNVDBPq5ZYDPRoo3tcAjadBRyf4tZhUFttWUzX4qmLqNGfoUtSjlb5LEIwqcftlb5eSvJ1 Pm63Z1Lrv1SC/MaTwzqNehIjBH7egIvW52g5+UIodxmEQU7NoARlNgGZMUNUZrzZrImiU4SUp9Rjs RYztd+UJ7rQ4Ko8viSaczzZgvzvxAETmcCXpzQizsYvuc8W9E/j0G8pGdFQ2hhtr4hCb42T0xIfAa bjEdJaVgn6nVKZkwjOOaPA==; Original-Received: from [87.69.77.57] (port=2016 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 1nmKqc-0003eQ-Ue; Wed, 04 May 2022 15:39:43 -0400 In-Reply-To: <875yml3xso.fsf@gnu.org> (message from Tassilo Horn on Wed, 04 May 2022 21:16:42 +0200) 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:289205 Archived-At: > From: Tassilo Horn > Cc: Alan Mackenzie , emacs-devel@gnu.org > Date: Wed, 04 May 2022 21:16:42 +0200 > > Eli Zaretskii writes: > > >> I think I've found the problem. A new version of ncurses was > >> installed on my machine on 2022-05-01. It contains a version of > >> terminfo, specifically /etc/terminfo/l/linux. > >> > >> The new version is ncurses-6.3_p20211106. The old version was > >> ncurses-6.2_p20210619. > >> > >> So, possibly we need to amend Emacs (? src/term.c) to work properly > >> on this version of the Linux console. > > > > Amend how? I still don't understand where did come from. > > If you do understand, can you describe that? > > I never use the Linux console (unless something is severely broken) but > can confirm Alan's observation. With emacs -Q -nw , all of M-TAB, ESC > TAB, and C-M-i say is undefined. That happens with emacs 27, > 28, and the current master. I also have ncurses 6.3 which ships with > tons of files below /usr/share/terminfo/ including the l/linux Alan > mentioned. My point is that if comes from outside of Emacs, there's nothing we can do about it. But Alan's report says that "C-h l" tells a different story: that Emacs got "ESC TAB". In which case I find it hard to understand how ncurses or the terminfo database could be involved. I'm probably missing something.