GNU bug report logs - #35180
[gnome-terminal,tilix,terminator] emacs daemon and "package" often inserts [I when opening file

Previous Next

Package: emacs;

Reported by: Han Boetes <hboetes <at> gmail.com>

Date: Sun, 7 Apr 2019 13:34:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Han Boetes <hboetes <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: 27.0.50; emacs daemon and “package” often inserts [I when opening file
Date: Sat, 27 Apr 2019 11:26:17 +0200
[Message part 1 (text/plain, inline)]
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.

6288  symlink("han <at> janis.6288:1555184048", "/home/han/.emacs.d/.#init.el")
= 0
6288  rt_sigprocmask(SIG_BLOCK, [INT ALRM], [], 8) = 0
6288  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
6288  rt_sigprocmask(SIG_BLOCK, [INT ALRM], [], 8) = 0
6288  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
6288  timerfd_settime(3, TFD_TIMER_ABSTIME, {it_interval={tv_sec=0,
tv_nsec=0}, it_value={tv_sec=1556356192, tv_nsec=658825215}}, NULL) = 0
6288  rt_sigprocmask(SIG_BLOCK, [INT ALRM], [], 8) = 0
6288  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
6288  rt_sigprocmask(SIG_BLOCK, [WINCH IO], NULL, 8) = 0
6288  brk(0xcae000)                     = 0xcae000
6288  brk(0xca3000)                     = 0xca3000
6288  write(8, "\33[44d\33[K\33[2d\33[?25l[I\33[43;7H\33[30m"..., 80) = 80
6288  rt_sigprocmask(SIG_UNBLOCK, [WINCH IO], NULL, 8) = 0
6288  ioctl(8, FIONREAD, [0])           = 0
6288  rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
6288  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[Message part 2 (text/html, inline)]
[file (application/octet-stream, attachment)]

This bug report was last modified 4 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.