From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 12 15:04:16 2019 Received: (at submit) by debbugs.gnu.org; 12 Feb 2019 20:04:16 +0000 Received: from localhost ([127.0.0.1]:45254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gteHv-0007BR-R7 for submit@debbugs.gnu.org; Tue, 12 Feb 2019 15:04:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gteHs-0007BD-VH for submit@debbugs.gnu.org; Tue, 12 Feb 2019 15:04:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:41154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gteHm-0000uY-Tz for submit@debbugs.gnu.org; Tue, 12 Feb 2019 15:04:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gteHj-00066Q-W8 for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 15:04:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gteHh-0000lW-Ue for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 15:04:03 -0500 Received: from purcellpeople.com ([85.214.32.38]:54250 helo=mail.purcellpeople.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gteHf-0000RS-5a for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 15:04:00 -0500 Received: from Tulku.local (unknown [103.233.220.189]) by mail.purcellpeople.com (Postfix) with ESMTPSA id CCED924C3D4E for ; Tue, 12 Feb 2019 21:03:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sanityinc.com; s=default; t=1550001801; bh=1k+C7Vy2TEH+t/uEBvRlcEhKnQmASZGzdY8+pESA/ZQ=; h=From:To:Subject:Date:From; b=dW8YJLhIoChwH8ilNeJ1ujJjG4un+zxqhgQci3JZSI7N/uLgrIwxLtfNgYbQReDaX g6Tqg0DWIg3LcW1i71U88yACy3BeAHdTnHUAmzQ/Cxq2UyhO0PiKnny0wSHiwzNhEK prRcuhoY5nYxibotrwzJxzKzQgKi6Ca69MBrBA5A= From: Steve Purcell To: bug-gnu-emacs@gnu.org Subject: 27.0.50; package.el breakage when features are loaded in after-init-hook Date: Wed, 13 Feb 2019 09:03:14 +1300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 85.214.32.38 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Given an init.el snippet like: (add-hook 'after-init-hook (lambda () (require 'server) (unless (server-running-p) (server-start)))) the `load-history' var will contain an entry with a nil car (as per its documentation), inside which the `(require . server)' load will be noted. However, the code in `package--list-loaded-files' unconditionally applies `file-name-sans-extension' to the cars of `load-history', resulting in errors whenever packages are activated (e.g. upgraded, installed). I believe the correct fix would be simply add a `stringp' test here: https://github.com/emacs-mirror/emacs/blob/5abaf16ab49b86ca5add981c2ddcaea6db0c8a08/lisp/emacs-lisp/package.el#L759 (Using a nightly Emacs HEAD snapshot from a couple of days ago.) In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-02-12 built on Tulku.local Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.3 Recent messages: Mark set [6 times] Entering debugger... Back to top level Mark set [2 times] Mark saved where search started Mark set Mark saved where search started Mark set Quit [2 times] Entering debugger... Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS PDUMPER Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US locale-coding-system: utf-8 Major mode: ELisp Minor modes in effect: global-magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t default-text-scale-mode: t recentf-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t winner-mode: t global-anzu-mode: t anzu-mode: t counsel-mode: t diredfl-global-mode: t ivy-mode: t flycheck-color-mode-line-mode: t global-flycheck-mode: t flycheck-mode: t global-company-mode: t company-mode: t elisp-slime-nav-mode: t aggressive-indent-mode: t highlight-quoted-mode: t display-line-numbers-mode: t rainbow-delimiters-mode: t symbol-overlay-mode: t bug-reference-prog-mode: t paredit-mode: t goto-address-prog-mode: t origami-mode: t savehist-mode: t electric-pair-mode: t global-auto-revert-mode: t mode-line-bell-mode: t beacon-mode: t show-paren-mode: t global-page-break-lines-mode: t page-break-lines-mode: t hes-mode: t guide-key-mode: t global-whitespace-cleanup-mode: t whitespace-cleanup-mode: t global-diff-hl-mode: t diff-hl-mode: t diff-auto-refine-mode: t projectile-rails-global-mode: t projectile-mode: t ipretty-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t auto-compile-mode: t immortal-scratch-mode: t nyan-mode: t shell-dirtrack-mode: t whole-line-or-region-global-mode: t whole-line-or-region-local-mode: t dimmer-mode: t delete-selection-mode: t cua-mode: t desktop-save-mode: t ns-auto-titlebar-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t view-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail disass align two-column iso-transl help-fns cl-print debug backtrace autoload radix-tree tar-mode mm-archive gnutls network-stream url-cache skeleton smex move-dup misearch multi-isearch mc-mark-more multiple-cursors-core rect wgrep magit-extras magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash 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 magit-diff magit-core magit-autorevert magit-process magit-margin magit-mode git-commit magit-git magit-section magit-utils magit-popup which-func ido crm log-edit pcvs-util add-log with-editor async-bytecomp async bookmark cus-edit default-text-scale recentf tree-widget company-quickhelp pos-tip winner mhtml-mode prettier-js cursor-sensor mmm-sample org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epa epg mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m org-element avl-tree ob-sqlite ob-shell ob-ruby ob-python ob-plantuml ob-octave ob-ledger ob-latex ob-gnuplot ob-dot ob-ditaa ob-R org-clock org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs company-robe rspec-mode yard-mode robe url-http url-auth mail-parse rfc2231 url-gw nsm rmc cap-words superword subword dante lcr haskell haskell-completions haskell-load haskell-commands highlight-uses-mode haskell-modules haskell-sandbox haskell-navigate-imports haskell-repl haskell-svg haskell-collapse hideshow haskell-debug haskell-interactive-mode haskell-presentation-mode haskell-compile haskell-process haskell-session haskell-hoogle hindent skewer-css skewer-mode cache-table js2-imenu-extras js2-mode simple-httpd css-eldoc css-eldoc-hash-table css-mode eww mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date mail-utils wid-edit url-queue shr text-property-search puny svg browse-url flycheck-elm elm-mode elm-interactive url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap elm-font-lock elm-indent elm-imenu elm-format elm-tags elm-util inf-haskell haskell-decl-scan haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-compat haskell-complete-module haskell-ghc-support flymake-proc flymake warnings haskell-customize sh-script executable company-terraform company-terraform-data terraform-mode hcl-mode make-mode conf-mode json-mode json-reformat json-snatcher js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs diff-hl-dired tabify perl-mode cperl-mode smerge-mode rainbow-mode dhall-mode reformatter mmm-mode mmm-univ mmm-class mmm-erb mmm-region tagedit sgml-mode dom yaml-mode psc-ide psc-ide-flycheck psc-ide-protocol psc-ide-backported dash-functional purescript-indentation psci add-node-modules-path purescript-font-lock purescript-mode purescript-string purescript-sort-imports purescript-align-imports noutline outline dabbrev view anzu counsel xdg diredfl dired dired-loaddefs swiper ivy colir ivy-overlay ffap flycheck-color-mode-line flycheck-package package-lint imenu finder lisp-mnt flycheck find-func let-alist company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-bbdb company-php company-template ac-php-core popup company-nixos-options nixos-options company pcase disp-table vc-git vc-darcs xml elisp-slime-nav etags fileloop generator xref project aggressive-indent highlight-quoted display-line-numbers rainbow-delimiters symbol-overlay bug-reference paredit-everywhere paredit goto-addr origami origami-parsers savehist elec-pair autorevert filenotify mode-line-bell beacon paren page-break-lines highlight-escape-sequences guide-key popwin whitespace-cleanup-mode whitespace diff-hl vc-dir ewoc vc vc-dispatcher diff-mode cl-extra help-mode projectile-rails rake f dash s inflections inf-ruby ruby-mode smie projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs thingatpt jka-compr ipretty auto-compile packed immortal-scratch uptimes pp server nyan-mode init init-local init-locales mm-util mail-prsvr docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-compat shell pcomplete comint ansi-color ring parse-time format-spec advice session sanityinc-tomorrow-eighties-theme color-theme-sanityinc-tomorrow diminish whole-line-or-region dimmer subr-x face-remap color cus-load init-ledger init-dash init-folding init-misc init-common-lisp init-clojure-cider init-clojure init-slime init-lisp cl-lib-highlight init-paredit init-nix init-terraform init-docker init-yaml init-toml init-rust init-sql init-rails init-ruby init-purescript init-elm init-haskell init-python init-http init-haml init-css init-html init-nxml init-org init-php init-javascript easy-mmode init-erlang erlang-start init-csv init-markdown init-textile init-compile init-projectile init-github init-git init-darcs init-vc init-whitespace init-editing-utils delsel cua-base init-mmm mmm-auto mmm-vars mmm-utils mmm-compat init-sessions desktop frameset init-windows windmove init-company init-hippie-expand init-ivy init-smex init-recentf init-flycheck init-ibuffer ibuf-macs init-uniquify init-grep init-isearch init-dired init-gui-frames ns-auto-titlebar init-osx-keys init-themes init-xterm init-frame-hooks init-exec-path exec-path-from-shell init-elpa fullframe finder-inf gh-common marshal eieio-compat rx edmacro kmacro slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq byte-opt bytecomp byte-compile cconv init-site-lisp cl-seq cl gv cl-loaddefs cl-lib init-utils init-benchmarking derived tooltip cus-start eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 2422385 377720) (symbols 48 73154 813) (strings 32 372448 32970) (string-bytes 1 12111991) (vectors 16 144591) (vector-slots 8 2813290 579564) (floats 8 2029 6391) (intervals 56 160180 9260) (buffers 992 148)) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 03:06:30 2019 Received: (at 34462) by debbugs.gnu.org; 13 Feb 2019 08:06:30 +0000 Received: from localhost ([127.0.0.1]:45747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtpYs-00047Q-16 for submit@debbugs.gnu.org; Wed, 13 Feb 2019 03:06:30 -0500 Received: from mail-lf1-f52.google.com ([209.85.167.52]:43037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <321942@gmail.com>) id 1gtpYq-00047D-K8 for 34462@debbugs.gnu.org; Wed, 13 Feb 2019 03:06:29 -0500 Received: by mail-lf1-f52.google.com with SMTP id j1so1037977lfb.10 for <34462@debbugs.gnu.org>; Wed, 13 Feb 2019 00:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:mail-copies-to :date:message-id:mime-version; bh=FAklil81ngtBjdVCNTgBMA18V/gOc5VQICjiYeWfTIs=; b=tIv8rthjKXWRBts+a6b3kmSwv9VpZ6y0NvMnvt7i++a/v11wbmImLbnrF+PrEQixVg 6me+srt8C3DeaTJS077C4BzQpAVTtKC9slbI+uAAJY8GEKs8Avz3s5H43hZhaaa3nUwU I+9ybwxaRFsQ084W2OOyDApuukEFjxfhnGXWpb+Cbf7PvTG3bqOZM9uNItmdeHlValCv uD0dI7qzVh1X3435VdzqSla88On235t1JNLuZJqoNCPg8kYruvPGwdig+ZgkLM/QfFSj Izdleb6nAKrbiNSKFn8ZKz+VMySZbbajV8gmVYy9u8N2LR6GRl+AiKAY1FB5+theLkB5 Dh5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:mail-copies-to:date:message-id:mime-version; bh=FAklil81ngtBjdVCNTgBMA18V/gOc5VQICjiYeWfTIs=; b=dz0by+ABoHPbs16NymAZSi1dJ+r/bnwwGUuiKr2sFrH5aFmLOGzhdWA7ezoQtNbMlW XxXsJoooXVHLGg4xme8XVODwunPwHUOdgqGWXAj07PhNYQDcdG5WzVPz5JfAtXfLmv0p 4Oda6adJ05c9qaMvzDPFHqOWDUB+Quvl/VdDkRpYow32t6LWUqHmZ2QKEu66ciJFwgBf sMHkzyzCZIszUY+c8FMht32Z5tFTl31y3f+k9VIWu47bKAcEJ2ELxjlrflRAn92Lv1Dt edlcBKVHj5FyhGQEtEooKYFB2NL1ctBxxepVvgZelu5KzwnSRKZp+EShduic/DYCbUpK oT5w== X-Gm-Message-State: AHQUAuYu9z80X5x+YX3dXvP+tY9ZaFw0RES2TN0c5r8WklcrNkAWphbv JV5vYTkya1/vpRqyIEHqmCn3rdkP X-Google-Smtp-Source: AHgI3Ibfjhu91WfUgCtaC88y8EIm9l5ysAedNWiPpCGOiNF2dK3W9V+lnSr0wdwBlCoux342HgMm0A== X-Received: by 2002:a19:f013:: with SMTP id p19mr5047080lfc.154.1550045182059; Wed, 13 Feb 2019 00:06:22 -0800 (PST) Received: from localhost ([213.87.136.21]) by smtp.gmail.com with ESMTPSA id x18-v6sm3603754lji.27.2019.02.13.00.06.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Feb 2019 00:06:20 -0800 (PST) From: Dmitry Alexandrov <321942@gmail.com> To: Steve Purcell Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook In-Reply-To: (Steve Purcell's message of "Wed, 13 Feb 2019 09:03:14 +1300") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Mail-Copies-To: always Date: Wed, 13 Feb 2019 11:06:01 +0300 Message-ID: <87wom4f6za.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 34462 Cc: 34462@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Steve Purcell wrote: > Given an init.el snippet like: > > (add-hook 'after-init-hook > (lambda () > (require 'server) > (unless (server-running-p) > (server-start)))) > > the `load-history' var will contain an entry with a nil car (as per its > documentation), inside which the `(require . server)' load will be > noted. > > However, the code in `package--list-loaded-files' unconditionally > applies `file-name-sans-extension' to the cars of `load-history', > resulting in errors whenever packages are activated (e.g. upgraded, > installed). > > I believe the correct fix would be simply add a `stringp' test here: > > https://github.com/emacs-mirror/emacs/blob/5abaf16ab49b86ca5add981c2ddcae= a6db0c8a08/lisp/emacs-lisp/package.el#L759 > > (Using a nightly Emacs HEAD snapshot from a couple of days ago.) This is actually not limited to package.el. E. g. lisp/help-fns.el was als= o written in assumtion, that cars of elements of =E2=80=98load-history=E2= =80=99 are always file names: --=-=-= Content-Type: text/x-emacs-lisp Content-Disposition: inline (defun help-fns--autoloaded-p (function file) "Return non-nil if FUNCTION has previously been autoloaded. FILE is the file where FUNCTION was probably defined." (let* ((file (file-name-sans-extension (file-truename file))) (load-hist load-history) (target (cons t function)) found) (while (and load-hist (not found)) (and (caar load-hist) (equal (file-name-sans-extension (caar load-hist)) file) (setq found (member target (cdar load-hist)))) (setq load-hist (cdr load-hist))) found)) --=-=-= Content-Type: text/plain Moreover: $ emacs -Q f emacs-lisp-mode RET --=-=-= Content-Type: text/x-backtrace Content-Disposition: inline Debugger entered--Lisp error: (wrong-type-argument stringp (require . elec-pair)) file-name-nondirectory((require . elec-pair)) file-name-sans-extension((require . elec-pair)) help-fns--autoloaded-p(emacs-lisp-mode "/var/share/pub/src/emacs.~21eef9fa7f~/lisp/progmod...") help-fns-function-description-header(emacs-lisp-mode) describe-function-1(emacs-lisp-mode) describe-function(emacs-lisp-mode) funcall-interactively(describe-function emacs-lisp-mode) call-interactively(describe-function nil nil) command-execute(describe-function) --=-=-= Content-Type: text/plain So something forgot to put there even nil, but started the list right with ENTRIES. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE1yoTx9fONarixgNIydoJ3hnBsjAFAlxjz+kACgkQydoJ3hnB sjBRygf7BGhOaSTdGI0auk9jVeUsL6qb7H9xSzD6H8rEunYu+3ENwEOlM6rzLdgw 5UR/ajXfcOOyVuDRnp4/YfQpOukHibI3SbEX5YLHvvD7G9PM8plACKI88N82nm/n qrGXFrprAvyC832uAfIIRhbqQgnPsBPh0OX1p/+cgLFbqqjZ8LS6e/SToJm2ZcbW c1NbairLlzMXia3DELYTo+Qmj14DdWVDvI6cptzgU7ZxujGTsNHjpKxdYGBoeMkP pWSHAtLxL6Y0Sr2TFvzzhMVqBBXvbXvNTLZGSkTpZ45zANBbrIDpggqmNgbgkcZX G64RraEUQsmQKYJMcwhafIbdvN5+WQ== =QFC4 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 06:05:49 2019 Received: (at 34462) by debbugs.gnu.org; 13 Feb 2019 11:05:49 +0000 Received: from localhost ([127.0.0.1]:45785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtsMP-0008Pi-3U for submit@debbugs.gnu.org; Wed, 13 Feb 2019 06:05:49 -0500 Received: from mail-lj1-f179.google.com ([209.85.208.179]:37469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <321942@gmail.com>) id 1gtsMM-0008PO-Ot for 34462@debbugs.gnu.org; Wed, 13 Feb 2019 06:05:47 -0500 Received: by mail-lj1-f179.google.com with SMTP id r10-v6so1634206ljj.4 for <34462@debbugs.gnu.org>; Wed, 13 Feb 2019 03:05:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:mail-copies-to :date:message-id:mime-version; bh=HLDUp2qZBykMAjlgk0GOgKDHW9NDNr7izVZDXN+rTwU=; b=X1waggZ3KfgZf4A5nQuY9CUJEC3VnJmGlFKj3wFeqZ1FiYxgYFAcv9vkyhASgmWsBb lf/MqBHSvw5y0YTBvb0lTO5mVhq0U8uLfjk3Lz8Dx1Lrs5Gd1EAjh1HIn/3slRfTZdkI ZQ4NQYv8cSAFXRmJDNv4P1vSAxDsbo/J0ak08urw2VcY6BHGjvLayNIgTMy7SBJqxOVl qMIQm5ponUmccXLh1zvyrB8SbScelMwCh8XzI8IbsAg2J/VTBNKX4GpSsqKbeUr+lajv Clz2f/DqlV+TnHT0YI8zpwgjv+8drdfswy6ZcnfX1+syG19eBpUsImATpJejqMTLpW/W yKNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:mail-copies-to:date:message-id:mime-version; bh=HLDUp2qZBykMAjlgk0GOgKDHW9NDNr7izVZDXN+rTwU=; b=LNLkNX5IwXRUjo0DGtFNfCT62GIDNV83jKJG+n4uLd4TiM4vq4W4/9fo42juecwfRf h/4J048yBe5osRr3O5PBYIoKP0EupZSXtinJ8xOumeliQhjDUg+IXh+PlxPukO/TIh0U nVLKGeVN9V3cLx2PlGkddORyhFTEYn5i568K2NCYnc+dhAZnYQsabw/55k1uawePJ3TE SQYc0fNEGsApu+f3YVYuuXfGDlroaJLxjpwv1wDizesVuHcGz392F2cqFXSRjf3mXpQu GelyDmij29CeHoyMGZHjNjK2/QgHz4OYUJTkHz4sbLpVwDcRRese5K1p7LZNV0nDUZrj +JSw== X-Gm-Message-State: AHQUAubN30UZySvQMUV34QIU1ysHZmS+bAc86vQdO3RMTvDuOwRNiI2q 5gBeLNNsPuko+3qKl9NOrBo= X-Google-Smtp-Source: AHgI3IaFcJu++olPwBWdUBXYV6TtaeqNzViIyyAyCk0GV5GSyPDvC/buzrH5vj/T+PvAzjmpansPIg== X-Received: by 2002:a2e:9209:: with SMTP id k9-v6mr5333000ljg.12.1550055940683; Wed, 13 Feb 2019 03:05:40 -0800 (PST) Received: from localhost ([213.87.136.21]) by smtp.gmail.com with ESMTPSA id d3sm3649803lfj.39.2019.02.13.03.05.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Feb 2019 03:05:39 -0800 (PST) From: Dmitry Alexandrov <321942@gmail.com> To: 34462@debbugs.gnu.org Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook In-Reply-To: <87wom4f6za.fsf@gmail.com> (Dmitry Alexandrov's message of "Wed, 13 Feb 2019 11:06:01 +0300") References: <87wom4f6za.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Mail-Copies-To: always Date: Wed, 13 Feb 2019 14:05:32 +0300 Message-ID: <87sgwseyo3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 34462 Cc: Steve Purcell X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dmitry Alexandrov <321942@gmail.com> wrote: > Moreover: > > $ emacs -Q > f emacs-lisp-mode RET > > Debugger entered--Lisp error: (wrong-type-argument stringp (require . ele= c-pair)) > file-name-nondirectory((require . elec-pair)) > file-name-sans-extension((require . elec-pair)) > help-fns--autoloaded-p(emacs-lisp-mode "/var/share/pub/src/emacs.~21eef= 9fa7f~/lisp/progmod...") > help-fns-function-description-header(emacs-lisp-mode) > describe-function-1(emacs-lisp-mode) > describe-function(emacs-lisp-mode) > funcall-interactively(describe-function emacs-lisp-mode) > call-interactively(describe-function nil nil) > command-execute(describe-function) > > So something forgot to put there even nil, but started the list right wit= h ENTRIES. Okay, the cited part is only relevant when emacs(1) is run by symlink to th= e built yet not installed sources, i. e.: $ ln -s src/emacs ~/.local/bin/ The easier noticeable comparative effect of that are several screens of out= put about loading basic libraries produced by emacs(1); like these: $ emacs -Q Loading loadup.el (source)... dump mode: nil Using load-path (/var/pub/src/emacs.~21eef9fa7f~/lisp /var/pub/src/emacs.~2= 1eef9fa7f~/lisp/emacs-lisp /var/pub/src/emacs.~21eef9fa7f~/lisp/progmodes /= var/pub/src/emacs.~21eef9fa7f~/lisp/language /var/pub/src/emacs.~21eef9fa7f= ~/lisp/international /var/pub/src/emacs.~21eef9fa7f~/lisp/textmodes /var/pu= b/src/emacs.~21eef9fa7f~/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/byte-run...done Loading emacs-lisp/backquote... Loading emacs-lisp/backquote...done Loading subr... Loading subr...done =E2=80=B9...=E2=80=BA Is not that going to be a supported configuration anymore (it has been work= ing perfectly for a long time)? That would be a pity, as it=E2=80=99s hard= ly expectable for a normal UNIX program to treat symlinks as an obstacle. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE1yoTx9fONarixgNIydoJ3hnBsjAFAlxj+fwACgkQydoJ3hnB sjAYLQf/Uo/VxxBW5kl4RByByqKENC6zmo6Q34G3Yuav7C3F84BjhjsdQe5DAP/p wXEJlqGqpyFSVeCb/DfFCpmcz30g4J6+BhRiVbNHzDprXpv33ZFv/ZMDypHmc5wD HiP1w9tvJ0FYjTnfPaLR+PfLBp+TivfnznEpWEy1dnD7vFoBPhIWLLobtN4v0+fv UXXrgP2f+tDwbB1JgTJBPAdq393fIE1qlGt8LxQXCQs1LUASTUj1U/h5w+w2vM/6 ve85c4PML6kCLpvcD2yzeSJ4fc9gvQxTZukdrgnTbcW9kwusQALiSZlvV8ySpY4b HrYpON8nb7gy4738BIDz1NI6xUKMrg== =cxEK -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 14 17:00:22 2019 Received: (at 34462) by debbugs.gnu.org; 14 Feb 2019 22:00:22 +0000 Received: from localhost ([127.0.0.1]:48444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guP3O-0006bA-Cb for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:00:22 -0500 Received: from mail-lf1-f44.google.com ([209.85.167.44]:42493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <321942@gmail.com>) id 1guP3K-0006au-8P for 34462@debbugs.gnu.org; Thu, 14 Feb 2019 17:00:21 -0500 Received: by mail-lf1-f44.google.com with SMTP id l10so5681537lfh.9 for <34462@debbugs.gnu.org>; Thu, 14 Feb 2019 14:00:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:resent-to:resent-mail-copies-to:resent-from :resent-message-id:resent-date:dkim-signature:from :content-transfer-encoding:mime-version:subject:date:references:to :in-reply-to:message-id; bh=QV4HnppC59A577eStNLVoBUBDRUV7DqFIDBexnSEHI4=; b=PWLS30PzI0rJXXMe12V3yDXHb5cQAHm0UaI+4RFaPdmRpn8TGalaHZ2LNWkF1IjLI/ 5JwDLYCEpOoGCwNCjjb/PTe7NID8jpnCwbQ+/HrgordtR9Et39RHTjhzKoPsZpFpNLKj gZLXMoMbctgnXcyskrQ7O7XK8AWk/eK8Qdv6rtf8r6PPP22/mAg+UEjQwcRfpjK9O5qC 4GzaWgIJO/g5ehapQ4N9rlEkrfot/RoWr5Jrhfs4kRAYGOZkLb46O7fJnk2G464HrJCR eQtS4h8H63ME4dYAZT5YkQMJ1RkmBSFTCloyo1CHnd0yMAdXsjAQROfNMGK+QwaiYhfJ oxQA== X-Gm-Message-State: AHQUAuZObGXGgHEYW5xDQ5ORL6dV5i0goLHJs2fB68rgcE/kGTPGFrno wzCqzIohR6vCJN0pALOhoFCRTs3ctfk= X-Google-Smtp-Source: AHgI3Ib+NCXWqnZBUbeI/M6QYF7DFnJn5zQ2jW7OJZg4XQGTBE8jOVl1M7GMv/2M77TBacfblZsw0w== X-Received: by 2002:a19:c50c:: with SMTP id w12mr3629421lfe.53.1550181611063; Thu, 14 Feb 2019 14:00:11 -0800 (PST) Received: from localhost ([213.87.146.111]) by smtp.gmail.com with ESMTPSA id r10-v6sm650784ljj.71.2019.02.14.14.00.10 for <34462@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Feb 2019 14:00:10 -0800 (PST) Resent-To: 34462@debbugs.gnu.org Resent-Mail-Copies-To: always Resent-From: Dmitry Alexandrov <321942@gmail.com> Resent-Message-ID: <87bm3euj2y.fsf@gmail.com> Resent-Date: Fri, 15 Feb 2019 01:00:05 +0300 Received: by 2002:a0c:c3d0:0:0:0:0:0 with SMTP id p16csp528147qvi; Wed, 13 Feb 2019 12:08:37 -0800 (PST) X-Received: by 2002:a17:906:264a:: with SMTP id i10mr1594233ejc.11.1550088516971; Wed, 13 Feb 2019 12:08:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550088516; cv=none; d=google.com; s=arc-20160816; b=wrQ2LWbOkP5oryKPqQFqboLphAbSO8o5173CmjgolFjaQhjPssftT0Rd2h/GVUcjzF SS5SqXwdsGE8IVHwe5pMl2g/sOYpCeIe+BnRO1tEAJpK1wXtFoZId2JnDs0/nV7wJz1h Ib2DOxBjM+yALUyGTI61XNJSE73YRrJ56pAwTng9YK2gZMYCttt9MbYTa1GDeZ5Lyssz l0VNzTeBk+/ZWEOIzq+LpmhWtS/oSSxoyWhTeAGYJhPH7MZpwtZbYDj59JYv5hqohdkP ToA+OLjEsYWC+jkxbjvS/43oVRfG7FgMw91KD5OEE5us90uNsINDhE5j+iFxTH+GSmAj 30qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=QV4HnppC59A577eStNLVoBUBDRUV7DqFIDBexnSEHI4=; b=gJYM5+csyphPBL82UfT6Ygw2dYElWwYw0aua3ujNn+/OIeoT0zhfvS5tSQG3jQ0XBu pTJ8NycwsKz3E2LemD5i+FGdO8qStMf+UcRQm56Ag19LLuRsZhEfhE8C9sPsnL+JxmX/ 8YK5mj6qSwV7ZvGkq/N7qtAz7ZzX+jBoiyeJLckVpnzd2711MNtW31fxy80sMvlXD5Hj aWiTlDiwahZ9SliYODDBLcBLYF0jXLY7Y07g5GLj1imr+lzK4WRRgL6kC1wIr8wOuoZT NS11Fx0mDiV3aCEm0Kr2ssipmMz1GGviGxsbNDvxHjGnDvCOHgJzzh1cQrrEdkIRZ35F PRgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sanityinc.com header.s=default header.b=qkeiUvIT; spf=pass (google.com: domain of steve@sanityinc.com designates 85.214.32.38 as permitted sender) smtp.mailfrom=steve@sanityinc.com Received: from mail.purcellpeople.com (purcellpeople.com. [85.214.32.38]) by mx.google.com with ESMTPS id d12si100108edi.102.2019.02.13.12.08.36 for <321942@gmail.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 12:08:36 -0800 (PST) Received-SPF: pass (google.com: domain of steve@sanityinc.com designates 85.214.32.38 as permitted sender) client-ip=85.214.32.38; Received: from [192.168.13.98] (unknown [103.233.220.189]) by mail.purcellpeople.com (Postfix) with ESMTPSA id 4EC1424C3D4E for <321942@gmail.com>; Wed, 13 Feb 2019 21:08:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sanityinc.com; s=default; t=1550088516; bh=ox0Feco7rF89spTs6UtDkpYVlf0KRuFVib1015B+iNY=; h=From:Subject:Date:References:To:In-Reply-To:From; b=qkeiUvITME7BMRr4uKIJSKrhFklITuISGr08dTsbon9UR8ooaO0j2zLS0ydO49OFa Vt4P+CdIdVSA4DD3TPfvlq9/qdwmTVseG1SDE73R+JayoLiqklf99txvFkiHEWrT0z CGEuPNqnnfBRLmkx8KwYLWzYGzXttE/3Srzs1q7M= From: Steve Purcell Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook Date: Thu, 14 Feb 2019 09:08:26 +1300 References: <87wom4f6za.fsf@gmail.com> To: Dmitry Alexandrov <321942@gmail.com> In-Reply-To: <87wom4f6za.fsf@gmail.com> Message-Id: <88CE6A7E-E011-4842-A0B7-6EE0089BACA6@sanityinc.com> X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 34462 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 13 Feb 2019, at 21:06, Dmitry Alexandrov <321942@gmail.com> wrote: > This is actually not limited to package.el. E. g. lisp/help-fns.el = was also written in assumtion, that cars of elements of = =E2=80=98load-history=E2=80=99 are always file names: Ah yes, I believe I=E2=80=99ve hit that too when triggering = `describe-function=E2=80=99 and the like. > So something forgot to put there even nil, but started the list right = with ENTRIES. Yep.= From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 14 17:41:46 2019 Received: (at 34462) by debbugs.gnu.org; 14 Feb 2019 22:41:46 +0000 Received: from localhost ([127.0.0.1]:48464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPhP-0007Xs-Li for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:41:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPhO-0007Xg-H8 for 34462@debbugs.gnu.org; Thu, 14 Feb 2019 17:41:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guPhG-0000WV-7L; Thu, 14 Feb 2019 17:41:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1guPhC-000328-DO; Thu, 14 Feb 2019 17:41:31 -0500 From: Glenn Morris To: Steve Purcell Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook References: <87wom4f6za.fsf@gmail.com> <88CE6A7E-E011-4842-A0B7-6EE0089BACA6@sanityinc.com> X-Spook: Spillover Treasury AVN spies USCOI Agro Federal Air X-Ran: 2|m]=FzJWX~GW"atQ3#5nx4{.@V>7of5iEyGhafso1LuObXtGB%^`{1`SIcv|:9^Afd(k] X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 14 Feb 2019 17:41:27 -0500 In-Reply-To: <88CE6A7E-E011-4842-A0B7-6EE0089BACA6@sanityinc.com> (Steve Purcell's message of "Thu, 14 Feb 2019 09:08:26 +1300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34462 Cc: Dmitry Alexandrov <321942@gmail.com>, 34462@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) (Did you bcc the bug report? If so, please don't do that.) Anyway, this is https://debbugs.gnu.org/34094 (which seems to have stalled?) From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 14 20:46:32 2019 Received: (at 34462) by debbugs.gnu.org; 15 Feb 2019 01:46:32 +0000 Received: from localhost ([127.0.0.1]:48482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guSaE-0003VX-LL for submit@debbugs.gnu.org; Thu, 14 Feb 2019 20:46:31 -0500 Received: from mail-lj1-f182.google.com ([209.85.208.182]:46168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <321942@gmail.com>) id 1guSaD-0003VG-CF for 34462@debbugs.gnu.org; Thu, 14 Feb 2019 20:46:29 -0500 Received: by mail-lj1-f182.google.com with SMTP id v16so6956411ljg.13 for <34462@debbugs.gnu.org>; Thu, 14 Feb 2019 17:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:mail-copies-to :date:message-id:mime-version; bh=46RQXBFR3X9XTCQsalMyrsF1kbe3qk4Y+uVO05PTP64=; b=VxvqmTxne0qXGHS4v6Myx/SX5eUhYxhHSkb2lXqmwxbpiiXFaz8cK1rsKPksIuSFz/ O6FBs8UxRvXvGbhgpA6NComcA4w/3vqj+bWav5kn2fOVahy+TjeK2oYsso6QWN+7smDu fiy2zr0a+t+a9mJ0SS/svGqUl2rNFwre2zTd5xglgrApTsUV6coW/DGihPF35Q5zyFcV ZPbFPz1GmuyMwv4DQ2Qods+O6eN9GRqFu8LENFVZ52SAh/tlrhHogRqDRy7Ao2Hi3IT4 PWc0fSc29U3O4ppU0goFxjv1QKMYn2VQfK2wr5WEt1W5AkGsr5gG6PTuQv5bD/WX8Osa RCjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:mail-copies-to:date:message-id:mime-version; bh=46RQXBFR3X9XTCQsalMyrsF1kbe3qk4Y+uVO05PTP64=; b=BQAE/VsrsCsl6BftzZYkrtZU26BiESLPcpMxizgq5vfKnL0/wXbeUVCldR4IeH/JwS tGcFyJ7Iipgn32+QcYCWcFUwj2ije7jJ375R3yWZfauMr6J5nNrHbxatlgkzu60BB0jV iWW/cacJ+Rncz4cgTRPpUiOcotTx5b8+CkqtkHFsghKIHgqs/jTpi0+pZ1geb81MuPEQ r3B+Yn/X83OkCyAkJIDVCI3IiOpCRna6jSKLU5/ImkhM/iB1wqUaetxvWhOuL/1NHWv6 3Pu9d3ElXnyNP8SOJDbv2iLkZ7fwn7U6JtCQh2Pm0i3pLjwwExFqk69zddldVSlpY9Bm cvvQ== X-Gm-Message-State: AHQUAuaa6oVS3EfF++gbIhxO09OU6hn8JNwpzCZ6OFLuBRv1XLZ8cTbv nDSCPCqTTv2qscD7alHDmphnYgUJVTw= X-Google-Smtp-Source: AHgI3IbznPEWXKQ39oHYtW/fF7G+AsLYVI7/LUHwFss680L8c+IHpLkcHyW/QFt3HC+n9gKuN25naw== X-Received: by 2002:a2e:8788:: with SMTP id n8-v6mr4082738lji.181.1550195182902; Thu, 14 Feb 2019 17:46:22 -0800 (PST) Received: from localhost ([213.87.146.111]) by smtp.gmail.com with ESMTPSA id f10-v6sm765830ljc.31.2019.02.14.17.46.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Feb 2019 17:46:21 -0800 (PST) From: Dmitry Alexandrov <321942@gmail.com> To: Glenn Morris Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook In-Reply-To: (Glenn Morris's message of "Thu, 14 Feb 2019 17:41:27 -0500") References: <87wom4f6za.fsf@gmail.com> <88CE6A7E-E011-4842-A0B7-6EE0089BACA6@sanityinc.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Mail-Copies-To: always Date: Fri, 15 Feb 2019 04:45:59 +0300 Message-ID: <8736opesdk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 34462 Cc: 34462@debbugs.gnu.org, Steve Purcell X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Glenn Morris wrote to Steve Purcell : > (Did you bcc the bug report? If so, please don't do that.) Sorry, that was me. (Gnus is not doing quite well at fixing headers.) > Anyway, this is https://debbugs.gnu.org/34094 Well, with no regard to how pdmp breaks ages-old traditions of symlinking e= xecutables, either the docstring of =E2=80=98load-history=E2=80=99, which s= ays that =E2=80=9CAs an exception, one of the alist elements may have FILE-= NAME nil=E2=80=9D, or code that assumes the opposite should be fixed, shoul= d not them? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE1yoTx9fONarixgNIydoJ3hnBsjAFAlxmGdcACgkQydoJ3hnB sjBUswgAtbKThJVU9BZU97+k4mF+WReg5GhtpCt6rYVcxNTOUC6lUwIcCDywFQBY B7PNSh7qLRIgf8od9KMkg4vuGsl5jGsWq50fyCihiAg5NozmUHx9XZ2xxQszQ/7V i8zXr/j53bZJNfruYZkTV424noMWy+pw1ybkemvFAo64LAfm5/PvJCay6J5LY2UD 9y5icjGP3Ij9/GE6LhBNWrh7C5uRGe3LaebuNzqWP7QpL2sMryamua1srcZ6HNAU +4P7SaT33Hi1MlIvRlprsun+ZhqXPR7NWbtNa4HX7uWNDcNvWlVmVaOfq28IDsKr ehRejnAsNcOBaslEwuHQicVv5K9a1g== =4Owr -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 15 02:23:26 2019 Received: (at 34462) by debbugs.gnu.org; 15 Feb 2019 07:23:26 +0000 Received: from localhost ([127.0.0.1]:48539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guXqH-0003RT-SC for submit@debbugs.gnu.org; Fri, 15 Feb 2019 02:23:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guXqF-0003RE-Jm for 34462@debbugs.gnu.org; Fri, 15 Feb 2019 02:23:24 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guXqA-0006Kc-1K; Fri, 15 Feb 2019 02:23:18 -0500 Received: from [176.228.60.248] (port=3289 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1guXq8-0005rM-4t; Fri, 15 Feb 2019 02:23:16 -0500 Date: Fri, 15 Feb 2019 09:23:12 +0200 Message-Id: <83d0nto6qn.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Thu, 14 Feb 2019 17:41:27 -0500) Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook References: <87wom4f6za.fsf@gmail.com> <88CE6A7E-E011-4842-A0B7-6EE0089BACA6@sanityinc.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34462 Cc: 321942@gmail.com, steve@sanityinc.com, 34462@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Glenn Morris > Date: Thu, 14 Feb 2019 17:41:27 -0500 > Cc: Dmitry Alexandrov <321942@gmail.com>, 34462@debbugs.gnu.org > > Anyway, this is https://debbugs.gnu.org/34094 > > (which seems to have stalled?) You mean the use case of invoking Emacs via a symlink to an uninstalled binary? Patches to support that are welcome. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 01 04:48:14 2019 Received: (at 34462-done) by debbugs.gnu.org; 1 Mar 2019 09:48:14 +0000 Received: from localhost ([127.0.0.1]:55793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzem5-00043Q-Q6 for submit@debbugs.gnu.org; Fri, 01 Mar 2019 04:48:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzem3-00043B-Dg for 34462-done@debbugs.gnu.org; Fri, 01 Mar 2019 04:48:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzelx-0000xY-UL; Fri, 01 Mar 2019 04:48:05 -0500 Received: from [176.228.60.248] (port=3889 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gzelx-0006Sv-Gb; Fri, 01 Mar 2019 04:48:05 -0500 Date: Fri, 01 Mar 2019 11:47:50 +0200 Message-Id: <83mumfhqnt.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Alexandrov <321942@gmail.com> In-reply-to: <8736opesdk.fsf@gmail.com> (message from Dmitry Alexandrov on Fri, 15 Feb 2019 04:45:59 +0300) Subject: Re: bug#34462: 27.0.50; package.el breakage when features are loaded in after-init-hook References: <87wom4f6za.fsf@gmail.com> <88CE6A7E-E011-4842-A0B7-6EE0089BACA6@sanityinc.com> <8736opesdk.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34462-done Cc: 34462-done@debbugs.gnu.org, rgm@gnu.org, steve@sanityinc.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Dmitry Alexandrov <321942@gmail.com> > Date: Fri, 15 Feb 2019 04:45:59 +0300 > Cc: 34462@debbugs.gnu.org, Steve Purcell > > Well, with no regard to how pdmp breaks ages-old traditions of symlinking executables, either the docstring of ‘load-history’, which says that “As an exception, one of the alist elements may have FILE-NAME nil”, or code that assumes the opposite should be fixed, should not them? Thanks, I think I fixed all the places where the code assumed the CAR of a non-nil element of load-history must be a string. The fix is on the master branch. From unknown Thu Jun 19 14:24:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Mar 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator