unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jorgen Schäfer" <contact@jorgenschaefer.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 20356@debbugs.gnu.org
Subject: bug#20356: 25.0.50; Strange terminal glyphs in emacs -nw in recent master
Date: Fri, 24 Apr 2015 14:26:18 +0200	[thread overview]
Message-ID: <CALqDrSfofm_5=cf2udY+1Vo2pNWxKZY-acw+yDdKi7e_7-VViw@mail.gmail.com> (raw)
In-Reply-To: <jwvsibyx1s4.fsf-monnier+emacsbugs@gnu.org>

On Fri, Apr 17, 2015 at 4:39 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> A reliable way to trigger this for me is M-DEL, though many deletion
>> operations cause spurious data to be displayed. C-l will remove said
>
> This is likely coming from the "OSC 52" SetSelection support
> recently added and which your gnome-terminal apparently doesn't support
> yet term/xterm.el doesn't realize it.
>
> Could you add some debug `message's to check that
> terminal-init-xterm-activate-set-selection is indeed called (it
> apparently shouldn't).

It is indeed being called.

> The problem is likely in xterm--version-handler
> to add also some `message's there to see what `version' number is sent
> by gnome-terminal (and why the code doesn't set it back to 200)?

The value of `str` after the first while loop is "83;40100;0" here. This is what
screen reports, and version is set to 240 in this case. Later, it calls
`terminal-init-xterm-activate-set-selection` if version is greater than 203.
Commenting this out fixes things for me again.

Regards,
Jorgen





  reply	other threads:[~2015-04-24 12:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17  9:33 bug#20356: 25.0.50; Strange terminal glyphs in emacs -nw in recent master Jorgen Schaefer
2015-04-17 12:26 ` Eli Zaretskii
2015-04-17 15:32   ` Jorgen Schäfer
2015-04-17 16:20     ` Eli Zaretskii
2015-04-19  8:24     ` Ivan Shmakov
2015-04-20  2:08       ` Stefan Monnier
2015-04-17 14:39 ` Stefan Monnier
2015-04-24 12:26   ` Jorgen Schäfer [this message]
2015-04-24 14:07     ` Stefan Monnier
2015-04-24 14:16       ` Jorgen Schäfer
2015-04-24 15:42         ` Thierry Volpiatto
2015-04-24 18:11         ` Stefan Monnier
2015-04-30 22:31 ` Stefan Monnier
2015-05-01 13:44   ` Jorgen Schäfer
2015-05-04  1:21     ` Stefan Monnier

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='CALqDrSfofm_5=cf2udY+1Vo2pNWxKZY-acw+yDdKi7e_7-VViw@mail.gmail.com' \
    --to=contact@jorgenschaefer.de \
    --cc=20356@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).