unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ed Avis <ed.avis@qmaw.com>
To: 45042@debbugs.gnu.org
Subject: bug#45042: 27.1; emacs -nw on Windows does not always update cursor position on screen
Date: Fri, 4 Dec 2020 18:53:28 +0000	[thread overview]
Message-ID: <PH0PR11MB4887DBC51723BB8DE454EB719DF10@PH0PR11MB4887.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5854 bytes --]

I installed the GNU Emacs build for Microsoft Windows x86_64 from the
GNU FTP site.  Rather than the graphical interface I am running it in
text mode using 'emacs.exe -nw'.  If run from the ancient Windows
command prompt (cmd.exe) this works well.  But in other terminal
emulators there is a strange problem where the cursor position is not
always updated.

For example, run Emacs inside the Alacritty terminal emulator.  Moving
point up and down with the arrow keys (or C-p and C-n) works, but moving
left and right (with arrows, C-b, C-f) does not update the visible
cursor on screen.  Point did move, as you can see by typing some
characters, and the visible cursor will update when you move up or down,
but horizontal movement doesn't seem to display.

If this were just one terminal emulator I would not suggest it as a bug
in Emacs, but the same thing happens when running an ssh server on the
Windows machine and running emacs -nw over ssh from another Windows
machine.  The cursor movement problem happens whether the ssh client is
OpenSSH (ssh.exe) running in cmd.exe, or ssh.exe running in Alacritty,
or from PuTTY (which combines ssh client and terminal emulator).

Quick experiments with setting TERM to 'vt100' instead of 'xterm' did
not find a fix.  Is there something Emacs can do to make sure the cursor
position on screen is always updated?


In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32)
 of 2020-08-21 built on CIRROCUMULUS
Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.18363
System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1198)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
term/w32console tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win
w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads w32notify w32 lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 43590 9530)
 (symbols 48 6020 1)
 (strings 32 15201 1632)
 (string-bytes 1 502900)
 (vectors 16 6718)
 (vector-slots 8 78458 6176)
 (floats 8 18 317)
 (intervals 56 187 0)
 (buffers 1000 12))


This email and any files transmitted with it are CONFIDENTIAL and are intended solely for the use of the individual(s) or entity to whom they are addressed. Any unauthorized copying, disclosure or distribution of the material within this email is strictly forbidden. Any views or opinions presented within this email are solely those of the author and do not necessarily represent those of QMA Wadhwani LLP (QMAW) unless otherwise specifically stated. An electronic message is not binding on its sender. Any message referring to a binding agreement must be confirmed in writing and duly signed. If you have received this email in error, please notify the sender immediately and delete the original. Telephone, electronic and other communications and conversations with QMAW and/or its associated persons may be recorded and retained. QMAW is authorized and regulated by the Financial Conduct Authority. QMAW (registered in England No. OC303168) has its registered office at 9th Floor Orion House, 5 Upper St Martin's Lane, London, WC2H 9EA.

Please note that your personal information may be stored and processed in any country where we have facilities or in which we engage service providers. If you provide personal information to us by email or otherwise, you consent to the transfer of that information to countries outside of your country of residence and these countries may have different data protection rules than your country.'

To learn about our privacy policies, please use this link<https://www.pgim.com/disclaimer/privacy-center> to read the PGIM Privacy Notice.

[-- Attachment #2: Type: text/html, Size: 7548 bytes --]

             reply	other threads:[~2020-12-04 18:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 18:53 Ed Avis [this message]
2020-12-05  7:40 ` bug#45042: 27.1; emacs -nw on Windows does not always update cursor position on screen Eli Zaretskii
2021-01-23 23:16   ` Lars Ingebrigtsen
2021-01-24  7:22     ` Ed Avis
2021-01-24 14:46       ` Eli Zaretskii
2021-01-25  8:00         ` Ed Avis
2021-01-25 15:32           ` Eli Zaretskii
2021-01-26  7:21             ` Ed Avis
2021-01-26 15:07               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH0PR11MB4887DBC51723BB8DE454EB719DF10@PH0PR11MB4887.namprd11.prod.outlook.com \
    --to=ed.avis@qmaw.com \
    --cc=45042@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).