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

Previous Next

Package: emacs;

Reported by: "C.J.S. Hayward" <cjsh <at> cjshayward.com>

Date: Thu, 25 Apr 2024 06:47:11 UTC

Severity: normal

To reply to this bug, email your comments to 70562 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#70562; Package emacs. (Thu, 25 Apr 2024 06:47:15 GMT) Full text and rfc822 format available.

Acknowledgement sent to "C.J.S. Hayward" <cjsh <at> cjshayward.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 25 Apr 2024 06:47:15 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "C.J.S. Hayward" <cjsh <at> cjshayward.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Trouble using Vim under Emacs's ansi-term
Date: Wed, 24 Apr 2024 17:42:41 +0000
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 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.


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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70562; Package emacs. (Thu, 25 Apr 2024 07:01:13 GMT) Full text and rfc822 format available.

Message #8 received at 70562 <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: "C.J.S. Hayward" <cjsh <at> cjshayward.com>
Cc: 70562 <at> debbugs.gnu.org
Subject: Re: bug#70562: Trouble using Vim under Emacs's ansi-term
Date: Thu, 25 Apr 2024 06:59:53 +0000
"C.J.S. Hayward" <cjsh <at> cjshayward.com> 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




This bug report was last modified 11 days ago.

Previous Next


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