From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Han Boetes Newsgroups: gmane.emacs.bugs Subject: bug#35180: 27.0.50; emacs daemon and =?UTF-8?Q?=E2=80=9Cpackage=E2=80=9D?= often inserts [I when opening file Date: Sun, 7 Apr 2019 15:33:21 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000018e6bd0585f0c49e" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223284"; mail-complaints-to="usenet@blaine.gmane.org" To: 35180@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 07 15:34:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hD7w8-000vtO-AU for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Apr 2019 15:34:16 +0200 Original-Received: from localhost ([127.0.0.1]:39443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD7w7-0004Ma-C8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Apr 2019 09:34:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD7vw-0004MV-FV for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hD7vu-00067t-Oo for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:34:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hD7vu-00067Y-L0 for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hD7vu-0003HJ-DE for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Han Boetes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Apr 2019 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35180 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155464402712579 (code B ref -1); Sun, 07 Apr 2019 13:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Apr 2019 13:33:47 +0000 Original-Received: from localhost ([127.0.0.1]:47852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hD7vf-0003Go-0l for submit@debbugs.gnu.org; Sun, 07 Apr 2019 09:33:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hD7vc-0003Ga-6m for submit@debbugs.gnu.org; Sun, 07 Apr 2019 09:33:46 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hD7vW-0005ng-Pc for submit@debbugs.gnu.org; Sun, 07 Apr 2019 09:33:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD7vU-0004K6-Dl for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:33:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hD7vS-0005jq-ES for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:33:36 -0400 Original-Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]:45022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hD7vS-0005hr-0m for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 09:33:34 -0400 Original-Received: by mail-ua1-x936.google.com with SMTP id p13so3466264uaa.11 for ; Sun, 07 Apr 2019 06:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=t+9XbdljtaD436i372+6znFkFQMfr1vo/+116oMPAa8=; b=t1+vGr6ljiCJDqs8roRfIbXSrKxbOIx49avoZokTij5za9d6wxBslf8fGHTeWAZWgn yR9wjilGakhaUTV0hI4vyO8AnBqzTZY+TYyNehyfaWYQ/6Wf3V+Ep8fvaBaD2/0ZqIKU jDmd2yC6FvcMf2mqxUu1fBnnvCHkQKmtYzj2UZ4dR/aMCFa3yw9pJxdVxuRSSzDnW2Ne Bp3IDurqs6n7gw67F+hOfSmMXRlxlnc6u3B8XtxqLji5fjCgY2WMn9SFtslF6HFbXRFJ K2mvG5H5dvW4Hi6zPh60Blfw3p6bjmBdrO2TiS28R9O+OUgJv7D+rNKZwCxt67Vg+Hvd ILIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=t+9XbdljtaD436i372+6znFkFQMfr1vo/+116oMPAa8=; b=jbaMrgIhJ2hM7Q9hKI5hBB9TLsu8gKj8Q5vtgBmcnucBCTdd1P+Js1YWOky+2+F4qk sul2HiCJql8TBAvbdnovV1BQv29sMwXzoka2ua4Mv1U8wZJssgUNEMfiFkThVlOFW2GU CCVBLAxQ34ZewCbfNCBptyBoZS1G1+AHP+1Sd05+FEO0VqkKzyIJ0z2b79v8bT2I4+C0 /IlBTcmR6iaU8IpEROlWRqWzupWpVoKzb03muj6Mi9ob01CEzt01uTTFW228o+eLdpvP i2SBTNXqGWXbwfyc7mZr8Byz4lW5vvfiJorYk/9RjYXVaGDe6GswtHJEaJ3TVUX7Ihd9 VQQQ== X-Gm-Message-State: APjAAAUWmyVP0Nj7Fj2CN/6hFmI3DMlgCMqsnYyzPoAUHl7pCiRNcmH3 nZ/N2IzdVzwwZIhl7M71tUNQyuEEWEXIqFtcGYO9XWPvduE= X-Google-Smtp-Source: APXvYqwJnSyJk46lE72W4UT71Ax+KPNOuvbbdbCRrkTgS0T8QcjSm221LhM15E879MLEMSuD6PfkabvW9dw/HuHmIr8= X-Received: by 2002:a9f:37a1:: with SMTP id q30mr12640195uaq.114.1554644012162; Sun, 07 Apr 2019 06:33:32 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157308 Archived-At: --00000000000018e6bd0585f0c49e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: Han Boetes To: bug-gnu-emacs@gnu.org Subject: 27.0.50; emacs daemon and =E2=80=9Cpackage=E2=80=9D often inserts = [I when opening file --text follows this line-- When using this .emacs/init.el: (custom-set-variables '(package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/"))) '(package-selected-packages '(pager))) (require 'package) (unless package--initialized (package-initialize t)) (unless package-archive-contents (package-refresh-contents)) (dolist (package package-selected-packages) (unless (package-installed-p package) (package-install package))) And starting emacs like this: cd .emacs && pkill emacs && rm -rf elpa auto-save-list && pgrep emacs || /usr/local/bin/emacs --no-site-file --no-splash --daemon And then opening a file with for example: emacsclient -nw -c init.el At the cursor the string "[I" is inserted. The pager package I selected for this case is because it was the most primitive package I could find. Any other package triggered the same behaviour. As you can see it's not even initialized. In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-04-05 built on janis Repository revision: f2d22273599f96a731e23b2f6d7571af8bb7bb3f Repository branch: master System Description: Debian GNU/Linux buster/sid Recent messages: previous-line: Beginning of buffer [8 times] next-line: End of buffer [3 times] Saving file /home/han/.emacs.d/init.el... Wrote /home/han/.emacs.d/init.el (No changes need to be saved) When done with a buffer, type C-x # Making completion list... funcall-interactively: End of buffer [5 times] user-error: End of history; no default available [3 times] funcall-interactively: End of buffer Configured using: 'configure --with-x --with-x-toolkit=3Dgtk 'CFLAGS=3D-O2 -pipe'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD PDUMPER GMP Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail term/xterm xterm server compile comint ansi-color ring elec-pair autoload radix-tree lisp-mnt mm-archive message dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap epg finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 297371 134546) (symbols 48 12921 2) (strings 32 96918 19735) (string-bytes 1 3782341) (vectors 16 27205) (vector-slots 8 1111668 166944) (floats 8 31 428) (intervals 56 240 12) (buffers 992 18)) --00000000000018e6bd0585f0c49e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From: Han Boetes <= ;hboetes@gmail.com><= div class=3D"gmail_default">Subject: 27= .0.50; emacs daemon and =E2=80=9Cpackage=E2=80=9D often inserts [I when ope= ning file=C2=A0
--text follows this line--

When using this .ema= cs/init.el:

(custom-set-variables
=C2=A0'(package-archives
=C2=A0 =C2=A0'(("gnu" . "https://elpa.gnu.org/packages/")
=C2=A0 =C2=A0 =C2= =A0("melpa" . "https= ://melpa.org/packages/")))
=C2=A0'(package-selected-packages=
=C2=A0 =C2=A0'(pager)))
(require 'package)
(unless package--= initialized (package-initialize t))
(unless package-archive-contents
= =C2=A0 (package-refresh-contents))
(dolist (package package-selected-pack= ages)
=C2=A0 (unless (package-installed-p package)
=C2=A0 =C2=A0 (packa= ge-install package)))

And starting emacs like this:=C2=A0=
=C2= =A0 cd .emacs && pkill emacs && rm -rf elpa auto-save-list = && pgrep emacs ||
=C2=A0 /usr/local/bin/emacs --no-site-file --no= -splash --daemon
=C2=A0=C2=A0
And then opening a file with for example:=
=C2=A0 emacsclient -nw -c init.el
=C2=A0=C2=A0
At the cursor the st= ring "[I" is inserted.
<= font face=3D"monospace, monospace">
The pager package I selected for = this case is because it was the most
primitive package I could find. Any = other package triggered the same
<= font face=3D"monospace, monospace">behaviour. As you can see it's not e= ven initialized.


In GNU Emacs 27.0.50 (build 1, x86_64-pc-l= inux-gnu, GTK+ Version 3.24.5)
=C2=A0of 2019-04-05 built on janis<= /div>
Repos= itory revision: f2d22273599f96a731e23b2f6d7571af8bb7bb3f
Repository branc= h: master
System Description: Debian GNU/Linux buster/sid

Recent= messages:
previous-line: Beginning of buffer [8 times]
next-line: End = of buffer [3 times]
Saving file /home/han/.emacs.d/init.el...
Wrote /ho= me/han/.emacs.d/init.el
(No changes need to be saved)
When done with a = buffer, type C-x #
Making completion list...
funcall-interactively: End= of buffer [5 times]
user-error: End of history; no default available [3 = times]
funcall-interactively: End of buffer

Configured using:
= =C2=A0'configure --with-x --with-x-toolkit=3Dgtk 'CFLAGS=3D-O2 -pip= e''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUN= D DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS FREETYPE XFT ZLIB = TOOLKIT_SCROLL_BARS GTK3 X11 XDBE
= XIM THREADS LIBSYSTEMD PDUMPER GMP
Important settings:
=C2=A0 value of $LC_COLLATE: C
=C2=A0 value of= $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix
<= div class=3D"gmail_default">
=
Majo= r mode: Emacs-Lisp

Minor modes in effect:
=C2=A0 tooltip-mode:= t
=C2=A0 global-eldoc-mode: t
<= font face=3D"monospace, monospace">=C2=A0 eldoc-mode: t
=C2=A0 electric-i= ndent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t=
=C2= =A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font= -lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t<= /font>
<= font face=3D"monospace, monospace">=C2=A0 auto-compression-mode: t
=C2=A0= line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-path sha= dows:
None found.

Features:
(shadow sort mail-extr emacsbug se= ndmail term/xterm xterm server compile
comint ansi-color ring elec-pair a= utoload radix-tree lisp-mnt mm-archive
message dired dired-loaddefs forma= t-spec rfc822 mml mml-sec epa derived
gnus-util rmail rmail-loaddefs text= -property-search time-date mailabbrev
gmm-utils mailheader mm-decode mm-b= odies mm-encode mail-utils gnutls
= network-stream url-http mail-parse rfc2= 231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr url-gw nsm rmc puny url= -cache url-auth url
url-proxy url-privacy url-expand url-methods url-hist= ory url-cookie
url-domsuf url-util mailcap epg finder-inf package easymen= u epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-core c= l-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-op= t gv
bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eld= oc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-wi= n
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fring= e
tabulated-list replace newcomment text-mode elisp-mode lisp-mode=
prog= -mode register page menu-bar rfn-eshadow isearch timer select
<= div class=3D"gmail_default">scroll-bar = mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors fram= e cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai t= ai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak= czech european ethiopic indian cyrillic
chinese composite charscript cha= rprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibu= ffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files t= ext-properties overlay sha1 md5
base64 format env code-pages mule custom = widget hashtable-print-readable
backquote threads dbusbind inotify dynami= c-setting system-font-setting
font-render-setting move-toolbar gtk x-tool= kit x multi-tty
make-network-process emacs)

Memory information:<= /font>
=C2=A0(symbols 48 12921 2)
=C2=A0(strings = 32 96918 19735)
=C2=A0(string-bytes 1 3782341)
=C2=A0(vectors 16 27205)=
=C2=A0(vector-slots 8 1111668 166944)
=C2=A0(floats 8 31 428)
=C2=A0= (intervals 56 240 12)
=C2=A0(buffers 992 18))

--00000000000018e6bd0585f0c49e--