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.bugs Subject: bug#70562: Trouble using Vim under Emacs's ansi-term Date: Thu, 09 May 2024 10:18:14 +0300 Message-ID: <865xvn8nd5.fsf@gnu.org> References: <877cgmorkm.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="762"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70562@debbugs.gnu.org, cjsh@cjshayward.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 09 09:18:57 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1s4y3M-000095-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 May 2024 09:18:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4y33-0006A5-Ic; Thu, 09 May 2024 03:18:37 -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 1s4y32-00069Z-Ak for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:18:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4y32-0005Yk-3G for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:18:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4y3R-000743-Tm for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2024 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70562 X-GNU-PR-Package: emacs Original-Received: via spool by 70562-submit@debbugs.gnu.org id=B70562.171523914027149 (code B ref 70562); Thu, 09 May 2024 07:19:01 +0000 Original-Received: (at 70562) by debbugs.gnu.org; 9 May 2024 07:19:00 +0000 Original-Received: from localhost ([127.0.0.1]:53557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4y3P-00073p-Pu for submit@debbugs.gnu.org; Thu, 09 May 2024 03:19:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4y3J-00073a-3d for 70562@debbugs.gnu.org; Thu, 09 May 2024 03:18:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4y2l-0005Tj-7L; Thu, 09 May 2024 03:18:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4u4/5rpN/0p6AZOshiyRAb/M7TR3/Ua2mA7a239GvEQ=; b=bF/lJcEt1l5P2LL26EaS cLO/m15WJ1QUWRywFJGLiA9D8/jGTo5jG0z7leEEUQ/KsZ3SHpVMvUGcfqeV5agLYr6QOPIMQQXuk +WB4WQRcF7eqh2IJjq/Rthkgn9ApOVmRQP3G3eJr+6K6+9nOI+KQyLrz6MKzw45EbdetKVAK7ixTc 0nQViJie1DDrqmhPjL5EW8tgSip1Q/ItNOpmonFdz5AvAQPbDEcTwVOZ0figyFdChVToZJCsSQaEc GeRnWKK8o6IU/t1q925DFXd7sp8Wcm3An9ZImbzaW7LoBaYG9LQenySEiQh7jRbWcGs0qKSH7rh2i IPoiByH3FBn31w==; In-Reply-To: <877cgmorkm.fsf@posteo.net> (message from Philip Kaludercic on Thu, 25 Apr 2024 06:59:53 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284723 Archived-At: Ping! Christos, could you please answer Philip's questions, and perhaps try a newer version of Emacs? > Cc: 70562@debbugs.gnu.org > From: Philip Kaludercic > Date: Thu, 25 Apr 2024 06:59:53 +0000 > > "C.J.S. Hayward" writes: > > > I have Emacs 21 as installed from Linux Mint Victoria. > > Do I understand correctly, that you are using Emacs 21, released > somewhere between 2001 and 2005? > > > I am a long-time Vim user interested in a proportional font terminal, > > such as is mostly provided by Emacs Evil mode or local or (ssh) remote > > Vim, but I have experienced consistent issues using vim under Emacs's > > ansi-term. > > > > I haven't been able to pin down that if you edit a particular document > > and attempt a particular set of keystrokes, issues arise. However, I > > have had issues with Emacs thinking it is one line higher or lower > > than it really is, so that commenting out a line of JavaScript > > comments out a different line from what the user intended (and what it > > appears), and random freezing. > > > > I believe that if you have a volunteer who is comfortable using Vim, > > and ask said user to use Vim under Emacs's ansi-term for half an hour > > (I have not been able to discern different behavior between local Vim > > processes and those ssh'ed into a Linux server), the odd behaviors I > > have experienced will be reproduced. Based on my own experience, I > > believe some inappropriate behavior will probably be noticeable in 2-5 > > minutes, but I mention half an hour as adding slop. > > I am comfortable enough with vi(m) and I tried out some non-trivial text > manipulation but couldn't notice anything wrong. If you are actually > using Emacs 21, then it might be that in the ~20 years since its release > the bugs causing the issues you have been having have been resolved? I > would also recommend trying out the ELPA package "eat" as an alternative > terminal emulator, but that would also require a newer version of Emacs. > > > > > Thanks, > > > > > > Unworthy Br. Christos Hayward (really, thou / thee / thy / thine), novice at St. Demetrios Orthodox Monastery. > > > > Most recent posting: A Note to Single Evangelical Women > > > > Websites: > > > > C.J.S. Hayward: Official Author Site (Bookshelf)Official Substack > > Orthodox Church Fathers > > The Powered Access Bible > > Scrolls of Wonder > > > > > > > > > > -- > Philip Kaludercic on peregrine > > > >