Subject: bug#58629: closed (Re: bug#58629: Problem has been solved after recompiling Emacs after doing `make extraclean')

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 19 Oct 2022 15:48:02 +0000

Your bug report

#58629: 29.0.50; Eshell - Invalid Function `setq-connection-local'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58629: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58629
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58629: Problem has been solved after recompiling Emacs after doing `make extraclean'
From: Stefan Kangas <[email-masked]>
To: Yusef Aslam <[email-masked]>
Cc: [email-masked]
Date: Wed, 19 Oct 2022 17:46:45 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Yusef Aslam <[email-masked]> writes:

> Sorry for the false bug report guys, this problem was occuring because I
> forgot to run `make extraclean' before building Emacs from source, this
> problem is now solved.

OK, closing the bug report.

> (This is my first bug report btw)

Thanks for your interest in Emacs.

Subject: 29.0.50; Eshell - Invalid Function `setq-connection-local'
From: Yusef Aslam <[email-masked]>
To: [email-masked]
Date: Wed, 19 Oct 2022 09:56:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

When in Eshell, I get an error when trying to cat a file, for example:
`cat misc-customizations.el' returns:
"invalid-function setq-connection-local"

This is also reproducible in 'emacs -Q', steps to reproduce are:
- Launch emacs with 'emacs -Q'
- Launch eshell
- Try to cat a file (any file)
- See error

Full Backtrace:
  setq-connection-local(nil ("/home/yaslam/.local/bin" "/usr/local/bin" "/usr/bin" "/bin" "/usr/local/games" "/usr/games"))
  eshell-get-path()
  eshell-search-path("cat")
  eshell-find-interpreter("cat" ("misc-customizations.el") nil)
  eshell-external-command("cat" ("misc-customizations.el"))
  eshell-plain-command("cat" ("misc-customizations.el"))
  eshell-named-command("cat" ("misc-customizations.el"))
  eval((eshell-named-command '"cat" '("misc-customizations.el")))
  eshell-do-eval((eshell-named-command '"cat" '("misc-customizations.el")) nil)
  eshell-do-eval((prog1 (eshell-named-command '"cat" '("misc-customizations.el")) (mapc #'funcall eshell-this-command-hook)) nil)
  (condition-case err (eshell-do-eval '(prog1 (eshell-named-command '"cat" '("misc-customizations.el")) (mapc #'funcall eshell-this-command-hook)) nil) ((debug error) (mapc #'funcall eshell-this-command-hook) (eshell-errorn (error-message-string err)) (eshell-close-handles 1)))
  eval((condition-case err (eshell-do-eval '(prog1 (eshell-named-command '"cat" '("misc-customizations.el")) (mapc #'funcall eshell-this-command-hook)) nil) ((debug error) (mapc #'funcall eshell-this-command-hook) (eshell-errorn (error-message-string err)) (eshell-close-handles 1))))
  eshell-do-eval((condition-case err (eshell-do-eval '(prog1 (eshell-named-command '"cat" '("misc-customizations.el")) (mapc #'funcall eshell-this-command-hook)) nil) ((debug error) (mapc #'funcall eshell-this-command-hook) (eshell-errorn (error-message-string err)) (eshell-close-handles 1))) nil)
  #f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>)()
  funcall(#f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>))
  (let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>)))
  eval((let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>))))
  eshell-do-eval((let ((eshell-this-command-hook '(ignore))) (condition-case err (eshell-do-eval '(prog1 (eshell-named-command '"cat" '...) (mapc #'funcall eshell-this-command-hook)) nil) ((debug error) (mapc #'funcall eshell-this-command-hook) (eshell-errorn (error-message-string err)) (eshell-close-handles 1)))) nil)
  eshell-do-eval((progn (let ((eshell-this-command-hook '(ignore))) (condition-case err (eshell-do-eval '(prog1 (eshell-named-command ... ...) (mapc ... eshell-this-command-hook)) nil) ((debug error) (mapc #'funcall eshell-this-command-hook) (eshell-errorn (error-message-string err)) (eshell-close-handles 1))))) nil)
  (catch 'top-level (eshell-do-eval '(progn (let ((eshell-this-command-hook '...)) (condition-case err (eshell-do-eval '... nil) ((debug error) (mapc ... eshell-this-command-hook) (eshell-errorn ...) (eshell-close-handles 1))))) nil))
  eval((catch 'top-level (eshell-do-eval '(progn (let ((eshell-this-command-hook ...)) (condition-case err (eshell-do-eval ... nil) (... ... ... ...)))) nil)))
  eshell-do-eval((catch 'top-level (eshell-do-eval '(progn (let ((eshell-this-command-hook ...)) (condition-case err (eshell-do-eval ... nil) (... ... ... ...)))) nil)) nil)
  eshell-do-eval((progn 'nil (catch 'top-level (eshell-do-eval '(progn (let (...) (condition-case err ... ...))) nil)) (run-hooks 'eshell-post-command-hook)) nil)
  #f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>)()
  funcall(#f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>))
  (let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-current-subjob-p 'nil)) (funcall '#f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>)))
  eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-current-subjob-p 'nil)) (funcall '#f(compiled-function () #<bytecode -0x12cc2bcb37cdf362>))))
  eshell-do-eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) eshell-current-subjob-p) (progn 'nil (catch 'top-level (eshell-do-eval '(progn (let ... ...)) nil)) (run-hooks 'eshell-post-command-hook))))
  eshell-resume-eval()
  eshell-eval-command((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) eshell-current-subjob-p) (progn 'nil (catch 'top-level (eshell-do-eval '(progn (let ... ...)) nil)) (run-hooks 'eshell-post-command-hook))) "cat misc-customizations.el ")
  eshell-send-input(nil)
  funcall-interactively(eshell-send-input nil)
  command-execute(eshell-send-input)

In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version
 3.24.24, cairo version 1.16.0) of 2022-10-18 built on MX-Laptop
Repository revision: ab1b491f8373742a051aaf554c4604f2b976b414
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-native-compilation --with-mailutils --with-modules
 --with-json --with-harfbuzz --with-cairo --with-xwidgets'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Eshell

Minor modes in effect:
  eshell-prompt-mode: t
  eshell-hist-mode: t
  eshell-pred-mode: t
  eshell-cmpl-mode: t
  eshell-syntax-highlighting-global-mode: t
  eshell-syntax-highlighting-mode: t
  eshell-vterm-mode: t
  eshell-proc-mode: t
  eshell-arg-mode: t
  desktop-environment-mode: t
  pulsar-global-mode: t
  pulsar-mode: t
  notmuch-indicator-mode: t
  minions-mode: t
  marginalia-mode: t
  electric-cursor-mode: t
  diredfl-global-mode: t
  global-diff-hl-mode: t
  which-key-mode: t
  savehist-mode: t
  vertico-mouse-mode: t
  vertico-multiform-mode: t
  vertico-mode: t
  projectile-mode: t
  perspective-exwm-mode: t
  persp-mode: t
  notmuch-bookmarks-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  engine-mode: t
  corfu-doc-mode: t
  global-corfu-mode: t
  corfu-mode: t
  electric-pair-mode: t
  winner-mode: t
  windmove-mode: t
  shell-dirtrack-mode: t
  pixel-scroll-precision-mode: t
  recentf-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-history-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/coolj hides /usr/local/share/emacs/site-lisp/coolj
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-maildir-fcc hides /usr/local/share/emacs/site-lisp/notmuch-maildir-fcc
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-address hides /usr/local/share/emacs/site-lisp/notmuch-address
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-compat hides /usr/local/share/emacs/site-lisp/notmuch-compat
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch hides /usr/local/share/emacs/site-lisp/notmuch
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-query hides /usr/local/share/emacs/site-lisp/notmuch-query
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-mua hides /usr/local/share/emacs/site-lisp/notmuch-mua
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-tag hides /usr/local/share/emacs/site-lisp/notmuch-tag
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-wash hides /usr/local/share/emacs/site-lisp/notmuch-wash
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-print hides /usr/local/share/emacs/site-lisp/notmuch-print
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-company hides /usr/local/share/emacs/site-lisp/notmuch-company
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-message hides /usr/local/share/emacs/site-lisp/notmuch-message
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-parser hides /usr/local/share/emacs/site-lisp/notmuch-parser
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-hello hides /usr/local/share/emacs/site-lisp/notmuch-hello
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-draft hides /usr/local/share/emacs/site-lisp/notmuch-draft
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-crypto hides /usr/local/share/emacs/site-lisp/notmuch-crypto
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-jump hides /usr/local/share/emacs/site-lisp/notmuch-jump
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-tree hides /usr/local/share/emacs/site-lisp/notmuch-tree
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-lib hides /usr/local/share/emacs/site-lisp/notmuch-lib
/home/yaslam/.emacs.d/elpa/notmuch-20220923.2323/notmuch-show hides /usr/local/share/emacs/site-lisp/notmuch-show
/home/yaslam/.emacs.d/elpa/transient-20220918.2101/transient hides /home/yaslam/Git/emacs/lisp/transient

Features:
(shadow sort mail-extr emacsbug pcmpl-args pcmpl-linux pcmpl-unix
mule-util em-script em-prompt em-ls em-hist em-pred em-glob em-extpipe
em-cmpl em-dirs esh-var em-basic em-banner eshell-syntax-highlighting
em-alias esh-mode eshell-vterm em-term vterm term ehelp vterm-module
term/xterm xterm eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg
esh-module esh-groups esh-util cus-start cursor-sensor meme-setup meme
eww imgur mm-url exwm-setup exwm-randr xcb-randr desktop-environment
exwm-edit exwm-config exwm-outer-gaps-setup exwm-init-setup enwc-setup
enwc enwc-backend zen-mode-setup zen-mode pulsar-setup pulsar pulse
org-superstar-setup org-superstar org-element notmuch-indicator-setup
notmuch-indicator minions-setup minions marginalia-setup marginalia
lin-setup lin face-remap kind-icon-setup kind-icon svg-lib color
fontaine-setup fontaine electric-cursor-setup electric-cursor
diredfl-setup diredfl diff-hl-setup diff-hl vc-dir cursory-setup cursory
all-the-icons-ibuffer-setup all-the-icons-ibuffer
all-the-icons-dired-setup all-the-icons-dired all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons yaml-mode-setup yaml-mode
which-key-setup which-key web-mode-setup web-mode disp-table
vertico-setup savehist vertico-mouse vertico-repeat vertico-multiform
vertico-unobtrusive vertico-buffer vertico-grid vertico-flat
consult-vertico vertico tempel-setup tempel projectile-setup
ibuffer-projectile projectile lisp-mnt grep ibuf-ext ibuffer
ibuffer-loaddefs perspective-setup perspective-exwm exwm exwm-input
xcb-keysyms exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout
exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xkb xcb-xproto
xcb-types xcb-debug burly frameset perspective ido org-setup ob-shell
org-crypt org-contacts-setup org-contacts org-capture org-agenda
org-refile gnus-art mm-uu mml2015 gnus-sum gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range gnus-win gnus nnheader range org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol
org-keys oc org-compat org-macs org-loaddefs orderless-setup orderless
notmuch-setup notmuch-bookmarks magit-setup magit-bookmark
magit-submodule magit-obsolete magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff git-commit log-edit add-log magit-core magit-autorevert
autorevert magit-margin magit-transient magit-process with-editor
magit-mode transient edmacro magit-git magit-base magit-section
compat-27 compat-26 iedit-setup iedit iedit-lib
mc-hide-unmatched-lines-mode mc-mark-more mc-cycle-cursors
multiple-cursors-core advice rect helpful-setup helpful cc-langs cc-vars
cc-defs trace edebug info-look f f-shortdoc shortdoc help-fns radix-tree
elisp-refs dash engine-mode-setup engine-mode embark-setup embark
elisp-format-setup elisp-format elfeed-setup elfeed-show elfeed-search
vc-hg vc-git vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view
pcvs-util vc vc-dispatcher shr pixel-fill kinsoku svg dom elfeed-csv
elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib url-queue url-file
xml-query eglot-setup eglot array filenotify jsonrpc ert ewoc debug
backtrace find-func flymake-proc flymake compile imenu denote-setup
denote xref project deft-setup deft corfu-setup corfu-doc-terminal
avl-tree generator corfu-terminal popon corfu-doc corfu consult-setup
consult-notmuch notmuch notmuch-tree notmuch-jump notmuch-hello
notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message
notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company
notmuch-parser notmuch-wash diff-mode coolj goto-addr icalendar
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm
notmuch-lib notmuch-version notmuch-compat pcase hl-line message
sendmail yank-media rfc822 mml mailabbrev mail-utils gmm-utils
mailheader mm-view mml-smime mml-sec epa derived epg rfc6068 epg-config
gnus-util smime gnutls puny dig mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr consult compat-28
kmacro bookmark text-property-search cape-setup cape avy-setup avy
app-launcher-setup app-launcher xdg aggressive-indent-setup
aggressive-indent theming-setup-modus modus-vivendi-theme
modus-operandi-theme modus-themes mode-line-customization battery dbus
xml time misc-customizations speedbar ezimage dframe dired-x dired
dired-loaddefs dictionary dictionary-connection ffap erc-customizations
erc-networks erc-goodies erc-backend erc erc-compat compat compat-macs
erc-loaddefs emacs-essentials cl comp comp-cstr cl-extra help-mode
elec-pair winner windmove crux tramp tramp-loaddefs trampver
tramp-integration cus-edit pp cus-load files-x tramp-compat rx shell
pcomplete comint ansi-osc ansi-color parse-time iso8601 time-date
ls-lisp format-spec thingatpt s finder-inf pixel-scroll cua-base ring
recentf tree-widget wid-edit display-line-numbers warnings icons server
easy-mmode info package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile cconv url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 919799 60340)
 (symbols 48 65209 0)
 (strings 32 258035 21430)
 (string-bytes 1 7811054)
 (vectors 16 117816)
 (vector-slots 8 1721378 53397)
 (floats 8 1140 393)
 (intervals 56 1323 55)
 (buffers 1000 18))