From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: todd smith via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63625: 29.0.90; package-install inserts package directory into load-path twice. Date: Sat, 20 May 2023 16:45:34 -0500 Message-ID: <4ACD9E26-B5A6-412E-8DFC-C09C05A4EACD@mac.com> Reply-To: todd smith Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28602"; mail-complaints-to="usenet@ciao.gmane.io" To: 63625@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 21 09:33:22 2023 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 1q0dZB-0007HB-Ry for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 May 2023 09:33:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0dYu-0004N6-U6; Sun, 21 May 2023 03:33:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0dYs-0004Lx-Kk for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 03:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0dYs-0004N4-Ce for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 03:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0dYr-0000vL-Va for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 03:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: todd smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 May 2023 07:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63625 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.16846543473489 (code B ref -1); Sun, 21 May 2023 07:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2023 07:32:27 +0000 Original-Received: from localhost ([127.0.0.1]:59956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0dYF-0000u9-VQ for submit@debbugs.gnu.org; Sun, 21 May 2023 03:32:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0UOk-0006Qi-PV for submit@debbugs.gnu.org; Sat, 20 May 2023 17:46:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0UOj-0006PP-VU for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 17:45:58 -0400 Original-Received: from ms11p00im-qufo17291901.me.com ([17.58.38.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0UOg-0004W4-Sw for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 17:45:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1684619149; bh=Ti17R/VjTawkGnANWaPvOlkaI8WeJDewgh9fCzjRXew=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=TCyMhklJk1yynhlnwZs3y6CxIuEm9F57H7sPWQejaxn4mKhU/ttq+VI1XGsiIUQ3j 0Ed5TSgDuBGYTSC4esq02dHVPG6AAw6QRkezOTqx9MpwcQio7sdC8UMGsMuedrmeXY XXTHuZKrAVYU/iJVuYSo6eC5mx10tDYQ5K7g/geoTY8mJ3NY9lnWz+RKKr9uXZT4u9 poBTnrdxDjDsunqZnTBRbuuXnhfnhhyUmKK9vxJRpSZDReE515VeQ/s37esm/dNoQS FzNEFZ00+wnks+Yf2Fylp5yiiktHcVltsZEXzs0yWvx/5jhmpm/+o1wxhGFJp2PgsG MG283DgLs1y2A== Original-Received: from smtpclient.apple (ms11p00im-dlb-asmtpmailmevip.me.com [17.57.154.19]) by ms11p00im-qufo17291901.me.com (Postfix) with ESMTPSA id 9A23CBC01AB for ; Sat, 20 May 2023 21:45:48 +0000 (UTC) X-Mailer: Apple Mail (2.3731.500.231) X-Proofpoint-ORIG-GUID: eZHwQvFh9Sn0F_JCa0AKdrUd0JphyJW0 X-Proofpoint-GUID: eZHwQvFh9Sn0F_JCa0AKdrUd0JphyJW0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.138, 18.0.816, 17.11.62.513.0000000 definitions=2022-01-18_01:2020-02-14_02, 2022-01-18_01, 2021-12-02_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 clxscore=1011 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2305200193 Received-SPF: pass client-ip=17.58.38.48; envelope-from=toddasmith@mac.com; helo=ms11p00im-qufo17291901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 May 2023 03:32:22 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262090 Archived-At: 1) trash ~/.emacs.d ;; i.e. remove .emacs.d (optional) 2) emacs -Q (the -Q isn=E2=80=99t necessary, I=E2=80=99ve observed = the problem every way that I=E2=80=99ve started emacs) 3) in *scratch* buffer, type and execute "(package-insert =E2=80=98ack)=E2= =80=9D (or run M-x package-install or install from M-x = list-packages. Any and every package I=E2=80=99ve installed produces the problem, ack = is just easy to type) 4) C-h v load-path (that is, run describe-variable on load-path to = see its value, note the first two entries) Its value is ("/Users/todd/.emacs.d/elpa/ack-1.11" = "/Users/todd/.emacs.d/elpa/ack-1.11/" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/vc" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/use-p= ackage" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/url" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/textm= odes" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/progm= odes" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/play"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/org" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/nxml"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/net" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/mh-e"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/mail"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/leim"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/langu= age" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/inter= national" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/image= " = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/gnus"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/eshel= l" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/erc" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/emula= tion" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/emacs= -lisp" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/cedet= " = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/calen= dar" = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/calc"= = "/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/emacs/29.0.90/lisp/obsol= ete") 5) Unlike Emacs 28, two entries for package ack have been added to load-path (see the first two entries). These are both for the same directory (one has a trailing "/" the other doesn=E2=80=99t, but = both strings are equivalent paths to the directory for Emacs). 6) It doesn't matter how Emacs is started with differing command line args. It doesn't matter if package-install is invoked with M-x in the mini-buffer or (package-install ...) executed in the *scratch* buffer or (use-package ... :ensure t) in an init.el file. It doesn't matter which package is being installed. It doesn't matter how many packages are installed. In all cases duplicate directory names are added as entries to load-path for *every* package installed in Emacs 29.0.90. 7) Thank You! In GNU Emacs 29.0.90 (build 2, aarch64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (Build 22E261)) of 2023-04-26 built on firefly.local System Description: macOS 13.3.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/opt/homebrew/share/emacs/site-lisp --infodir=3D/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/info/emacs --prefix=3D/opt/homebrew/Cellar/emacs-plus@29/29.0.60 --with-xml2 --with-gnutls --with-native-compilation --without-compress-install --without-dbus --without-imagemagick --with-modules --with-rsvg --without-pop --with-ns --disable-ns-self-contained 'CFLAGS=3D-Os -w -pipe -mmacosx-version-min=3D13 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT' 'CPPFLAGS=3D-I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/icu4c/include -I/opt/homebrew/opt/openssl@1.1/include -isystem/opt/homebrew/include -F/opt/homebrew/Frameworks -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk' 'LDFLAGS=3D-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/opt/openssl@1.1/lib -L/opt/homebrew/lib -F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'' Configured features: ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 blink-cursor-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: None found. Features: (shadow sort mail-extr emacsbug cl-print help-fns pcomplete thingatpt pcase compile comint ansi-osc ansi-color ring ack-autoloads loaddefs-gen lisp-mnt radix-tree tar-mode arc-mode archive-mode cus-edit pp cus-start cus-load wid-edit mm-archive message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny epg rfc6068 epg-config finder-inf 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 eieio eieio-core password-cache json map url-vars comp comp-cstr warnings icons subr-x rx cl-seq cl-macs cl-extra help-mode cl-loaddefs cl-lib term/xterm xterm byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 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 kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 209790 38117) (symbols 48 12653 0) (strings 32 60200 3226) (string-bytes 1 1802843) (vectors 16 34731) (vector-slots 8 536516 26744) (floats 8 74 494) (intervals 56 424 0) (buffers 984 15)) B