From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrey Orst Newsgroups: gmane.emacs.bugs Subject: bug#42108: 28.0.50; treemacs no longer work on native-comp branch Date: Sun, 28 Jun 2020 13:48:15 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000096418105a922ae9a" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="86272"; mail-complaints-to="usenet@ciao.gmane.io" To: 42108@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 28 12:49:22 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpUsD-000MM0-FO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 12:49:21 +0200 Original-Received: from localhost ([::1]:33776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpUsC-0003SM-4w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 06:49:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpUru-0003SE-FT for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 06:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpUru-0006nJ-6I for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 06:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpUru-00038J-5D for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrey Orst Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jun 2020 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42108 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.159334131412000 (code B ref -1); Sun, 28 Jun 2020 10:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jun 2020 10:48:34 +0000 Original-Received: from localhost ([127.0.0.1]:45287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpUrR-00037S-BP for submit@debbugs.gnu.org; Sun, 28 Jun 2020 06:48:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpUrP-00037L-MG for submit@debbugs.gnu.org; Sun, 28 Jun 2020 06:48:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpUrP-0003Q6-Dv for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 06:48:31 -0400 Original-Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]:33213) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpUrM-0006kw-Ni for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 06:48:31 -0400 Original-Received: by mail-oi1-x235.google.com with SMTP id k22so678015oib.0 for ; Sun, 28 Jun 2020 03:48:27 -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=6pmuVV881Su+KmOCdzBi0g8lODfEvI++R/EdQrMuvBQ=; b=eOIG0e3gSnwoFD/9Rk1g6LpZ2DnHIHq+EG8suCITT6cM4rPD9JnTXH25AdD7qITOOM dXI04k4sH9kNtZ28FvLCU+eUB/DkuoNFmIJ2urxXD2vyy73hG3mIKcKR4Oa7tlccVQy0 Fg0ZmxtrxLlP0qXTyL47H23jPhYtuMpjOuVez5Nk8X+62EKWMnv2lQoZImukW566ugEh M9tbKjrOKLDb+ykM5t7V/s3OOrIobGP+ngq7zGiATLHK/bd+0D0x7XdAEUXChEuC/fG9 EWuhTzYL6yZ9+aDIemk90WA53+npjF4cjMl/CZ35hyolDHWSAO3iV3TyxH2hBZuzYviv 4WtA== 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=6pmuVV881Su+KmOCdzBi0g8lODfEvI++R/EdQrMuvBQ=; b=AH4Z1ETthXwE0Of3NCbZFSxGFNN7+dgl3Ttrj8yPhl3glPTt4kMeRuRD/DA/rZ7FOD kBd353U2BcM98RvXSZbVhacdb/BLi0YT+PPmfATotiCMjZd1zrbcN+iNk+c4pecGBumz Z8GX8dozKvoDoX/lWAO3T64p6bcQ31tkFRetaUU8KWcB+Rv4BV/MvqDFKgdvPxb0kdEV bFZ4CA/dGYYTTC8aJEMBj7pqgsKRZ2F0eQyzfKeB1KtDH7i5cEkSTee6sybzskYmOQOM QfENj5d/0ergs6IdHDG3EFReSXB8NyiWHHIElu/uPr+dDygmpZuJ3JnC0LOOroDuFFRl Jpvw== X-Gm-Message-State: AOAM5331dyL6xgPljz1+2hgxGvMDNyOwJhX27Tb/P1r+UQSrhovXrH8K +/GtYqXP1uNpUCBoQX96XpXRa7EIOUKzb47nuXdDjFZnzNs= X-Google-Smtp-Source: ABdhPJxQ0/onkR/OAx1aSpne8jlJOhf1PmOWKJcHrRWXa4C1mXcDljvWg7/lVzXatcGfQb7uhDdM8Zy144oi/XrtMig= X-Received: by 2002:aca:4f4a:: with SMTP id d71mr8122506oib.123.1593341306617; Sun, 28 Jun 2020 03:48:26 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=andreyorst@gmail.com; helo=mail-oi1-x235.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182457 Archived-At: --00000000000096418105a922ae9a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Some commits ago, I'm not sure exactly when, Emacs compiled with native compilation branch no longer able to display Treemacs buffer. When trying open Treemacs I can see the error message: Wrong type argument: stringp, nil Here's minimal init.el: (defvar package-archives) (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/"))) (package-initialize) (package-refresh-contents) (unless (package-installed-p 'treemacs) (package-install 'treemacs)) (treemacs) This will automatically download and install treemacs, and run it, however the treemacs buffer is empty, and nothing works. If I switch to current master branch and recompile Emacs, then Treemacs works as expected, so I assume it is a native-comp branch bug. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, cairo version 1.16.0) of 2020-06-28 built on toolbox Repository revision: 0eedb5af0b9f505dda9418323c74e992a40e5585 Repository branch: feature/native-comp Windowing system distributor 'Fedora Project', version 11.0.12008000 System Description: Fedora 32 (Workstation Edition) Recent messages: Checking /home/andreyorst/.emacs.d/elpa/treemacs-20200625.2056/icons/default/svgrepo= ... Checking /home/andreyorst/.emacs.d/elpa/treemacs-20200625.2056/icons/default/vsc... Done (Total of 28 files compiled, 2 skipped) Package =E2=80=98treemacs=E2=80=99 installed. Saving file /home/andreyorst/.emacs.d/init.el... Wrote /home/andreyorst/.emacs.d/init.el For information about GNU Emacs and the GNU system, type C-h C-a. Wrong type argument: stringp, nil Quit Making completion list... [2 times] Configured using: 'configure --with-nativecomp --without-pop --prefix=3D/home/andreyorst/.local/emacs --bindir=3D/home/andreyorst/.local/bin '--program-transform-name=3Ds/^ctags$/ctags.emacs/'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-fringe-indicator-mode: t treemacs-git-mode: deferred override-global-mode: t tooltip-mode: t global-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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail cus-edit cus-start cus-load wid-edit treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-bookmarks warnings thunk treemacs-interface treemacs-extensions treemacs-persistence treemacs-mouse-interface treemacs-tag-follow-mode treemacs-filewatch-mode treemacs-tags treemacs-faces imenu xref project filenotify treemacs-follow-mode treemacs-rendering treemacs-visuals treemacs-fringe-indicator pulse treemacs-async treemacs-icons treemacs-themes bookmark pp treemacs-workspaces treemacs-scope treemacs-dom treemacs-core-utils treemacs-macros treemacs-logging treemacs-customization ace-window f hl-line pfuture ht s avy rx inline edmacro kmacro org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs hydra advice lv dash cl-extra help-mode use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core info tar-mode arc-mode archive-mode easy-mmode compile comint ansi-color ring autoload radix-tree lisp-mnt mm-archive message dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config 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 finder-inf package easymenu browse-url 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 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice loaddefs button faces cus-face pcase macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 330086 73278) (symbols 48 24681 57) (strings 32 106609 5332) (string-bytes 1 3050345) (vectors 16 38569) (vector-slots 8 862927 65016) (floats 8 440 527) (intervals 56 1333 0) (buffers 992 15)) --=20 Best regards, Andrey Orst --00000000000096418105a922ae9a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Some commits ago, I'm not sure exactly when, Emacs com= piled with native
compilation branch no longer able to display Treemacs = buffer. When
trying open Treemacs I can see the error message:

= =C2=A0 =C2=A0 Wrong type argument: stringp, nil

Here's minimal i= nit.el:

=C2=A0 =C2=A0 (defvar package-archives)
=C2=A0 =C2=A0 (se= tq package-archives
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '(("gnu&= quot; . "https://elpa.gnu.o= rg/packages/")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("= ;melpa" . "https://melpa.= org/packages/")))
=C2=A0 =C2=A0
=C2=A0 =C2=A0 (package-init= ialize)
=C2=A0 =C2=A0 (package-refresh-contents)
=C2=A0 =C2=A0
= =C2=A0 =C2=A0 (unless (package-installed-p 'treemacs)
=C2=A0 =C2=A0 = =C2=A0 (package-install 'treemacs))
=C2=A0 =C2=A0
=C2=A0 =C2=A0 = (treemacs)
=C2=A0 =C2=A0
This will automatically download and instal= l treemacs, and run it,
however the treemacs buffer is empty, and nothin= g works.

If I switch to current master branch and recompile Emacs, t= hen Treemacs
works as expected, so I assume it is a native-comp branch b= ug.


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Ver= sion 3.24.13, cairo version 1.16.0)
=C2=A0of 2020-06-28 built on toolbox=
Repository revision: 0eedb5af0b9f505dda9418323c74e992a40e5585
Reposi= tory branch: feature/native-comp
Windowing system distributor 'Fedor= a Project', version 11.0.12008000
System Description: Fedora 32 (Wor= kstation Edition)

Recent messages:
Checking /home/andreyorst/.ema= cs.d/elpa/treemacs-20200625.2056/icons/default/svgrepo...
Checking /home= /andreyorst/.emacs.d/elpa/treemacs-20200625.2056/icons/default/vsc...
Do= ne (Total of 28 files compiled, 2 skipped)
Package =E2=80=98treemacs=E2= =80=99 installed.
Saving file /home/andreyorst/.emacs.d/init.el...
Wr= ote /home/andreyorst/.emacs.d/init.el
For information about GNU Emacs an= d the GNU system, type C-h C-a.
Wrong type argument: stringp, nil
Qui= t
Making completion list... [2 times]

Configured using:
=C2=A0= 'configure --with-nativecomp --without-pop
=C2=A0--prefix=3D/home/an= dreyorst/.local/emacs
=C2=A0--bindir=3D/home/andreyorst/.local/bin
= =C2=A0'--program-transform-name=3Ds/^ctags$/ctags.emacs/''
<= br>Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS = GSETTINGS GLIB NOTIFY
INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZ= Z LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON= PDUMPER LCMS2
GMP

Important settings:
=C2=A0 value of $LANG: = en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-cod= ing-system: utf-8-unix

Major mode: Fundamental

Minor modes in= effect:
=C2=A0 treemacs-filewatch-mode: t
=C2=A0 treemacs-follow-mod= e: t
=C2=A0 treemacs-fringe-indicator-mode: t
=C2=A0 treemacs-git-mod= e: deferred
=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t
= =C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mou= se-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 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-= encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read= -only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t
=
Load-path shadows:
None found.

Features:
(shadow sort mail= -extr emacsbug sendmail cus-edit cus-start cus-load
wid-edit treemacs tr= eemacs-header-line treemacs-compatibility
treemacs-mode treemacs-bookmar= ks warnings thunk treemacs-interface
treemacs-extensions treemacs-persis= tence treemacs-mouse-interface
treemacs-tag-follow-mode treemacs-filewat= ch-mode treemacs-tags
treemacs-faces imenu xref project filenotify treem= acs-follow-mode
treemacs-rendering treemacs-visuals treemacs-fringe-indi= cator pulse
treemacs-async treemacs-icons treemacs-themes bookmark pptreemacs-workspaces treemacs-scope treemacs-dom treemacs-core-utils
tre= emacs-macros treemacs-logging treemacs-customization ace-window f
hl-lin= e pfuture ht s avy rx inline edmacro kmacro org ob ob-tangle
ob-ref ob-l= ob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplet= e pcomplete org-list org-faces org-entities noutline outline
org-version= ob-emacs-lisp ob-core ob-eval org-table ol org-keys
org-compat org-macs= org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs hydra= advice lv dash cl-extra help-mode use-package-ensure
use-package-deligh= t use-package-diminish use-package-bind-key bind-key
use-package-core in= fo tar-mode arc-mode archive-mode easy-mmode compile
comint ansi-color r= ing autoload radix-tree lisp-mnt mm-archive message
dired dired-loaddefs= rfc822 mml mml-sec epa derived epg epg-config
gnus-util rmail rmail-loa= ddefs text-property-search time-date mailabbrev
gmm-utils mailheader mm-= decode mm-bodies mm-encode mail-utils gnutls
network-stream url-http mai= l-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-me= thods url-history url-cookie
url-domsuf url-util mailcap finder-inf pack= age easymenu browse-url
url-handlers url-parse auth-source cl-seq eieio = eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-var= s seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib 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 tab-bar menu-bar rfn-eshadow isearch timer
s= elect scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term= /tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-la= ng vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932= hebrew greek romanian slovak czech european ethiopic indian
cyrillic ch= inese composite charscript charprop case-table epa-hook
jka-cmpr-hook he= lp simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-= face pcase macroexp files text-properties overlay sha1
md5 base64 format= env code-pages mule custom widget
hashtable-print-readable backquote th= reads dbusbind inotify lcms2
dynamic-setting system-font-setting font-re= nder-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-p= rocess emacs)

Memory information:
((conses 16 330086 73278)
= =C2=A0(symbols 48 24681 57)
=C2=A0(strings 32 106609 5332)
=C2=A0(str= ing-bytes 1 3050345)
=C2=A0(vectors 16 38569)
=C2=A0(vector-slots 8 8= 62927 65016)
=C2=A0(floats 8 440 527)
=C2=A0(intervals 56 1333 0)
= =C2=A0(buffers 992 15))


--
Best r= egards,
Andrey Orst
--00000000000096418105a922ae9a--