unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: stefan@marxist.se, highcatland@gmail.com, 8743@debbugs.gnu.org
Subject: bug#8743: Strange '1; 2600; 0' symbols appear when running in gnome-terminal
Date: Thu, 27 Jan 2022 20:02:08 +0100	[thread overview]
Message-ID: <87wnilhuj3.fsf@gnus.org> (raw)
In-Reply-To: <83czkddocw.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jan 2022 20:29:03 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> See xterm--version-handler, I think this comes from there.

Yes, or possibly something else doing queries; I'm not quite sure.  But
poking at the stuff, if we disable all the queries, the problem goes
away.  

(defun xterm--query (query handlers &optional no-async)
[...]
      ;; Pending input can be mistakenly returned by the calls to
      ;; read-event below: discard it.
      (discard-input)
      (send-string-to-terminal query)

And it seems like it's trying to do the right thing by getting rid of
any input before doing the queries, but the `discard-input' here seems
to have no effect.

(I haven't debugged further.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-01-27 19:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27 16:37 bug#8743: Strange '1; 2600; 0' symbols appear when starting from console HighCat
2011-05-27 17:10 ` Glenn Morris
2011-05-28 16:03   ` HighCat
2011-08-16 10:15 ` bug#8743: rxvt-unicode HighCat
2019-10-11  1:21 ` bug#8743: Strange '1; 2600; 0' symbols appear when starting from console Stefan Kangas
2022-01-27 18:03   ` bug#8743: Strange '1; 2600; 0' symbols appear when running in gnome-terminal Lars Ingebrigtsen
2022-01-27 18:29     ` Eli Zaretskii
2022-01-27 19:02       ` Lars Ingebrigtsen [this message]

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=87wnilhuj3.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=8743@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=highcatland@gmail.com \
    --cc=stefan@marxist.se \
    /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).