GNU bug report logs - #70562
Trouble using Vim under Emacs's ansi-term

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "C.J.S. Hayward" <cjsh@HIDDEN>; dated Thu, 25 Apr 2024 06:47:11 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70562 <at> debbugs.gnu.org:


Received: (at 70562) by debbugs.gnu.org; 9 May 2024 07:19:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 03:19:00 2024
Received: from localhost ([127.0.0.1]:53557 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s4y3P-00073p-Pu
	for submit <at> debbugs.gnu.org; Thu, 09 May 2024 03:19:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s4y3J-00073a-3d
 for 70562 <at> debbugs.gnu.org; Thu, 09 May 2024 03:18:58 -0400
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 <eliz@HIDDEN>)
 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==;
Date: Thu, 09 May 2024 10:18:14 +0300
Message-Id: <865xvn8nd5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <877cgmorkm.fsf@HIDDEN> (message from Philip Kaludercic on
 Thu, 25 Apr 2024 06:59:53 +0000)
Subject: Re: bug#70562: Trouble using Vim under Emacs's ansi-term
References: <WdadJvFzdWIPud99damsJTiRXHgFw1xNZiXJUgCuAcgOGk8G8KjtHSXAfroeHoXjw8CC0Nlz2-MPi7Dhn_UnL8r4B01ECMVOQ0Ipi8lGWJ0=@cjshayward.com>
 <877cgmorkm.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70562
Cc: 70562 <at> debbugs.gnu.org, cjsh@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping!  Christos, could you please answer Philip's questions, and
perhaps try a newer version of Emacs?

> Cc: 70562 <at> debbugs.gnu.org
> From: Philip Kaludercic <philipk@HIDDEN>
> Date: Thu, 25 Apr 2024 06:59:53 +0000
> 
> "C.J.S. Hayward" <cjsh@HIDDEN> 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
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70562; Package emacs. Full text available.

Message received at 70562 <at> debbugs.gnu.org:


Received: (at 70562) by debbugs.gnu.org; 25 Apr 2024 07:00:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 25 03:00:40 2024
Received: from localhost ([127.0.0.1]:60419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rzt5t-0004ce-9E
	for submit <at> debbugs.gnu.org; Thu, 25 Apr 2024 03:00:40 -0400
Received: from mout01.posteo.de ([185.67.36.65]:46021)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1rzt5g-0004Zm-Bv
 for 70562 <at> debbugs.gnu.org; Thu, 25 Apr 2024 03:00:29 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id D7B94240027
 for <70562 <at> debbugs.gnu.org>; Thu, 25 Apr 2024 08:59:55 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1714028395; bh=zMtXoc2TkEoCc/yh+IE0vvb1dedeCmIPrI+B4z9KZ48=;
 h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version:
 Content-Type:Content-Transfer-Encoding:From;
 b=QpZtXULgwRXsOd+FONXIQ8svA93eNInY/SQyldu8ZfRIqpgYsjcJI+USA1xF/NLXM
 bE9Ujocl5gLR0SDOKZbsVH4G4kBs3PhQ/S7gfxtZySdgXcDGXbKoCosx+6tQ+CpO8S
 LnJBSt/esM5oIjQkhrWrH7BlwwXHbK7IPxwOS2NSUbt2RkMDfMHWgsQt8KI+FTeqxR
 CbqFMlPXxJePlJkwHISSTVmX3IHcEhA45s0+d8N3nBm6qqqqznAAsOTUQTA3xik78f
 7nlgWWzQQrgzKndJ30mHFYnD95nYTDI5EO6Yp2GxVtSSZ8Kr2PeK4r4Q86BFNiHi5Y
 23lEeIC12TXSA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VQ6DT6Mdlz6tw4;
 Thu, 25 Apr 2024 08:59:53 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: "C.J.S. Hayward" <cjsh@HIDDEN>
Subject: Re: bug#70562: Trouble using Vim under Emacs's ansi-term
In-Reply-To: <WdadJvFzdWIPud99damsJTiRXHgFw1xNZiXJUgCuAcgOGk8G8KjtHSXAfroeHoXjw8CC0Nlz2-MPi7Dhn_UnL8r4B01ECMVOQ0Ipi8lGWJ0=@cjshayward.com>
 (C. J. S. Hayward's message of "Wed, 24 Apr 2024 17:42:41 +0000")
References: <WdadJvFzdWIPud99damsJTiRXHgFw1xNZiXJUgCuAcgOGk8G8KjtHSXAfroeHoXjw8CC0Nlz2-MPi7Dhn_UnL8r4B01ECMVOQ0Ipi8lGWJ0=@cjshayward.com>
OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66;
 url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66";
 preference=signencrypt
Date: Thu, 25 Apr 2024 06:59:53 +0000
Message-ID: <877cgmorkm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70562
Cc: 70562 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

"C.J.S. Hayward" <cjsh@HIDDEN> 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=C2=A0(really, thou / thee / thy / thine), n=
ovice at St. Demetrios Orthodox Monastery.
>
> Most recent posting:=C2=A0A 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
>
>
>
>

--=20
	Philip Kaludercic on peregrine




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70562; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Apr 2024 06:47:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 25 02:47:03 2024
Received: from localhost ([127.0.0.1]:60398 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rzssh-0002Eo-4Y
	for submit <at> debbugs.gnu.org; Thu, 25 Apr 2024 02:47:02 -0400
Received: from lists.gnu.org ([2001:470:142::17]:38972)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cjsh@HIDDEN>) id 1rzgea-0000cy-Ei
 for submit <at> debbugs.gnu.org; Wed, 24 Apr 2024 13:43:33 -0400
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 <cjsh@HIDDEN>)
 id 1rzge9-0003KU-Up
 for bug-gnu-emacs@HIDDEN; Wed, 24 Apr 2024 13:43:09 -0400
Received: from mail-4022.proton.ch ([185.70.40.22])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <cjsh@HIDDEN>)
 id 1rzge6-0004d7-A9
 for bug-gnu-emacs@HIDDEN; Wed, 24 Apr 2024 13:43:04 -0400
Date: Wed, 24 Apr 2024 17:42:41 +0000
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
From: "C.J.S. Hayward" <cjsh@HIDDEN>
Subject: Trouble using Vim under Emacs's ansi-term
Message-ID: <WdadJvFzdWIPud99damsJTiRXHgFw1xNZiXJUgCuAcgOGk8G8KjtHSXAfroeHoXjw8CC0Nlz2-MPi7Dhn_UnL8r4B01ECMVOQ0Ipi8lGWJ0=@cjshayward.com>
Feedback-ID: 44546460:user:proton
X-Pm-Message-ID: 694aad5278992c13f26d6b29c099dc55c2ce415c
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.40.22; envelope-from=cjsh@HIDDEN;
 helo=mail-4022.proton.ch
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 25 Apr 2024 02:46:53 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

I have Emacs 21 as installed from Linux Mint Victoria.

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 i=
ssues 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 as=
k 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 th=
ose ssh'ed into a Linux server), the odd behaviors I have experienced will =
be reproduced. Based on my own experience, I believe some inappropriate beh=
avior will probably be noticeable in 2-5 minutes, but I mention half an hou=
r as adding slop.


Thanks,


Unworthy Br. Christos Hayward=C2=A0(really, thou / thee / thy / thine), nov=
ice at St. Demetrios Orthodox Monastery.

Most recent posting:=C2=A0A 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




Acknowledgement sent to "C.J.S. Hayward" <cjsh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70562; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 9 May 2024 07:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.