unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Han Boetes <hboetes@gmail.com>
Cc: 35180@debbugs.gnu.org
Subject: bug#35180: 27.0.50; emacs daemon and “package” often inserts [I when opening file
Date: Sat, 27 Apr 2019 12:52:47 +0300	[thread overview]
Message-ID: <831s1nwz9s.fsf@gnu.org> (raw)
In-Reply-To: <CAOzo9e7LNXUGU72Nk_T_j76Fdqw9k13LAPYLSJEca22wXZ7Nvw@mail.gmail.com> (message from Han Boetes on Sat, 27 Apr 2019 11:26:17 +0200)

> From: Han Boetes <hboetes@gmail.com>
> Date: Sat, 27 Apr 2019 11:26:17 +0200
> 
> Digging further and stripping out more unnecessary options that are not required to reproduce this issue: I got
> down to this:
> 
> cd
> mv ~/.emacs.d{,.orig}
> mkdir .emacs.d
> touch .emacs.d/init.el
> xrdb -remove
> xrdb -query # Just to prove there are no Xresources active
> 
> pkill emacs; sleep 1; /usr/local/bin/emacs –no-init-file –no-site-file –no-splash –daemon; emacsclient -t
> .emacs.d/init.el
> 
> File Edit Options Buffers Tools Emacs-Lisp Help
> [I
> 
> This happens about 25% of the time. But if I replace “–no-init-file –no-site-file –no-splash”
>  with “-Q” it no longer happens. It seems there is an undocumented difference here.
> 
> I straced it and this is what I got: Check the write() line, see also the attachment for the complete strace file.

I think this is Emacs probing the terminal capabilities, see
terminal-init-xterm in xterm.el.  Try playing with the value of
xterm-query-timeout.





  reply	other threads:[~2019-04-27  9:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-07 13:33 bug#35180: 27.0.50; emacs daemon and “package” often inserts [I when opening file Han Boetes
2019-04-27  9:26 ` Han Boetes
2019-04-27  9:52   ` Eli Zaretskii [this message]
2019-04-27 10:32   ` Andreas Schwab
2019-04-27 12:00     ` Basil L. Contovounesios
2019-04-27 13:50       ` Eli Zaretskii
2019-04-27 13:53         ` Eli Zaretskii
2019-04-27 14:14       ` Eli Zaretskii
2019-04-27 20:35         ` Han Boetes
2019-05-04 23:07           ` Han Boetes
2020-09-20 18:07       ` Lars Ingebrigtsen
     [not found]         ` <CAOzo9e4DC9oetmE=AY6CbZc49syb0t2-Ua4dHd4AMkDiij-tGQ@mail.gmail.com>
2020-09-22 14:07           ` Lars Ingebrigtsen
2019-10-04 19:59   ` Han Boetes
2019-12-18 19:31     ` Han Boetes

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=831s1nwz9s.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35180@debbugs.gnu.org \
    --cc=hboetes@gmail.com \
    /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).