unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 23819@debbugs.gnu.org
Subject: bug#23819: 25.0.95; display botched badly in xterm window
Date: Wed, 22 Jun 2016 17:54:44 +0300	[thread overview]
Message-ID: <83h9cl5l57.fsf@gnu.org> (raw)
In-Reply-To: <5769F17E.1020600@cs.ucla.edu> (message from Paul Eggert on Wed,  22 Jun 2016 04:01:34 +0200)

> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Wed, 22 Jun 2016 04:01:34 +0200
> 
> This appears to be a relatively recent regression in the emacs-25 
> branch.

How recent?  Can you estimate when this started to happen to you?  The
relevant file (xterm.el) hasn't been touched in months, except by you,
for the paste feature.

> I just now tried a similar recipe (without the '_'), and this time Emacs 
> contained the following text at the start of the (now-modified) 
> conf_post.h buffer:
> 
> 1;3201;0chas/* conf_post.h --- configure.ac includes this via AH_BOTTOM
> 
> and view-lossage showed the following:
>   C-s C-s C-s [isearch-forward]
>   ESC [ > [nil]
>   1 [self-insert-command]
>   ; [c-electric-semi&comma]
>   3 [self-insert-command]
>   2 [self-insert-command]
>   0 [self-insert-command]
>   1 [self-insert-command]
>   ; [c-electric-semi&comma]
>   0 [self-insert-command]
>   c [self-insert-command]
>   h [self-insert-command]
>   a [self-insert-command]
>   s [self-insert-command]
>   ESC x [execute-extended-command]
>   v [self-insert-command]
>   i [self-insert-command]
>   e [self-insert-command]
>   w [self-insert-command]
>   - [self-insert-command]
>   l [self-insert-command]

The "ESC [ > 1;3201;0c" thingy is the response to query by
xterm--query, see xterm--version-handler.  Is it true that all these
problems happen right in the beginning of a session?  What happens if
you wait at least 2 sec after starting a session, without typing any
commands -- do these problems still happen?

> My guess is that there is something wrong with the initial handshake 
> with the terminal, to find out its characteristics; if memory serves 
> this is something we've fiddled with in emacs-25 reasonably recently.

Your guess is probably right, except that I don't see any fiddling in
the Git log, certainly not recently.  So if this indeed started
happening recently, there must be some other factor at work here.





  reply	other threads:[~2016-06-22 14:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-22  2:01 bug#23819: 25.0.95; display botched badly in xterm window Paul Eggert
2016-06-22 14:54 ` Eli Zaretskii [this message]
2016-06-22 18:55   ` Paul Eggert
2016-06-22 19:00     ` Eli Zaretskii
2016-06-22 21:27       ` Paul Eggert
2016-06-22 19:04     ` Eli Zaretskii
2016-06-23  8:58       ` Paul Eggert
2016-06-23 14:53         ` Eli Zaretskii
2022-01-29 16:55           ` Lars Ingebrigtsen
2022-01-30  2:53             ` Paul Eggert
2022-01-30 16:01               ` Lars Ingebrigtsen

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=83h9cl5l57.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23819@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /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).