From unknown Mon Jun 23 16:45:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49924 <49924@debbugs.gnu.org> To: bug#49924 <49924@debbugs.gnu.org> Subject: Status: 28.0.50; `package-quickstart-refresh' fails for "long" (according to `print-length') `package-alist' Reply-To: bug#49924 <49924@debbugs.gnu.org> Date: Mon, 23 Jun 2025 23:45:32 +0000 retitle 49924 28.0.50; `package-quickstart-refresh' fails for "long" (accor= ding to `print-length') `package-alist' reassign 49924 emacs submitter 49924 Pal Gloss severity 49924 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 04:45:47 2021 Received: (at submit) by debbugs.gnu.org; 7 Aug 2021 08:45:47 +0000 Received: from localhost ([127.0.0.1]:51932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCHxj-0005mb-4s for submit@debbugs.gnu.org; Sat, 07 Aug 2021 04:45:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:33354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCHxe-0005mO-Dk for submit@debbugs.gnu.org; Sat, 07 Aug 2021 04:45:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCHxe-0002ev-26 for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 04:45:42 -0400 Received: from mout.gmx.net ([212.227.15.19]:42489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCHxb-0007vU-TF for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 04:45:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628325937; bh=zw1U4iS9JFfo4sE4LmUe/Lwgl/i+MHDJS+HaSJmZgBc=; h=X-UI-Sender-Class:From:To:Subject:Date; b=YB31GeMUgkzMb8cB//UdGPZo0bSHO9jLRwha8xuT3w1Buir23hn5u6VZaoX7NDey6 fkhasWtsnr9VZfRkTx1i7GLOOjanxoGzabb8jnqjjjTlvkG8+KHjtZGBiYYbJDuDq6 R+T0hbND0c5V3EAS08MMSx7Jg+EogboBq9iE76UA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [81.245.63.7] ([81.245.63.7]) by web-mail.gmx.net (3c-app-mailcom-bs08.server.lan [172.19.170.176]) (via HTTP); Sat, 7 Aug 2021 10:45:37 +0200 MIME-Version: 1.0 Message-ID: From: Pal Gloss To: bug-gnu-emacs@gnu.org Subject: 28.0.50; `package-quickstart-refresh' fails for "long" (according to `print-length') `package-alist' Content-Type: text/plain; charset=UTF-8 Date: Sat, 7 Aug 2021 10:45:37 +0200 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:sYopMcZmeSY1JLd2UNxhk9vBWjNaII/OntaR5UEKxCxGFmVh4NdXZWhui7UCnN21WGDPy aaE9srewrkITqbjsKXA/Q0OEr/ub2dA5rO5HSwcP8iBtuf63cEy8/s5kqHmoR14OUAOG03bv6K4o MEeqhMVFId0Qwiii8PvNUlQbkpzyrysWMIZq/tpZgpOhOF4nNpbm17DvKG3CiUVWkUIcn74CMdsO ECz03HCqtW/j65D0hC5smYcKCllHuaLIvkVFViivK4MpA+DN4R3lHA4gxfMoilpMGe4P68eNunK5 3s= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uBHrAAHAvEY=:UAur828P5hUBV8k6jYtEzv jWSC69M3WypiigaIGMsL7LBkqNcuJwCOm2lsnQQ33oX55JKUFbjwHy+S2/yR+t8yNXrqOsaIe 2+AMzT63DywIM9JX8QVDt0hzubBNufhLBEkSW8n7JPfhfVE9L1tckHGyQD7VgzsFPt0Ecn+5D fyVm+tJ3mBqyqHH/owqCFsZS2a1XwiGNxVxxc/Ee4/wHHkwL1S5N5wFnlyRct7D40kSeTe3E1 5NShMvKon9+SsK+ER9zluRTcGWQHbIbqDNNaOBEHqsJlsZyvt3a5DjMvOR4cFrMt3XlU2PBjF Y+Neh0PsJxFYyl6viaKMb+hXNJi/KvNJiti075Sf+hhMuC4iyVP6k/r8Iwaj7pZ7S+iL0v7Yp nm+uSEIPQ7gLu0Jc2ZvKx2ZOTkTPJom1fWxdiFZ2PLnIGJ/XU/mzPwXH02fvfDGTb4hevtQ/y 3O9Rw2Dg6kmQtbbsXeJfTnFbNtdqSufSrBkS/8hmFN6qqhGxqWm+OLNzboknKsnnBXHjqe3Nl ojQ0yuYRtKNZLE4+KuV70jD+G+LpK6N1Z2kNmYrhQu3j41tfdFxtzjRqThG9hUqbPit1Bg3Ru rohztUZ87YdLEQsNzDr3jV+h5DE0mEETQfrsqzzDgKMobfmk+I/UIoioHCZ5LFNtpKwKvO6oj kWdBJj16gTIVt5mcynjt12toA+Tb3oXF2E45kJZIJ5vipwKDcaKJ81DirMlOUwYSNwqMsBLJU xDMT1a6VAtZ9DylFwFbloyH8z2nBSt9u/sOxli9lW4SyeMtm8bOUwJhsl0ytgg3371EeybzNp JPhzfEwH1of2ajtGVcdd8FIc8pXwlBzK/Qu7kcl/2IAhOSu7G8= Received-SPF: pass client-ip=212.227.15.19; envelope-from=pcfeb0009@gmx.com; helo=mout.gmx.net X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: -2.1 (--) Following #49922, I was able to diagnose & fix an issue with `package-quickstart-refresh' when `print-length' is lower than `(length package-activated-list)'=2E There are two possible user-visible symptoms, caused by the presence of the "=2E=2E=2E" ellipsis in the `package-quickstart-file': 1=2E A warning in *Compile-Log* about a free variable =E2=80=98\=2E\=2E\= =2E=E2=80=99 2=2E When restarting emacs, an error message about a missing package named "=2E=2E=2E" I did not make any experiments, but I am pretty sure that it also would be possible to produce a broken `package-quickstart-file' with `print-level' suitably low (1 or 2, maybe even 3?)=2E ;; !!! This reproduction scenario ruins your !!! ;; !!! $HOME/=2Eemacs=2Ed/package-quickstart=2Eel unless you are careful != !! ;; !!! Run it with: !!! ;; env HOME=3D/tmp emacs -Q (let ((print-length 2)) (require 'package) (package-quickstart-refresh)) ;; There is a warning in *Compile-Log* ;; ;; Compiling file c:/msys64/tmp/=2Eemacs=2Ed/package-quickstart=2Eel at Sa= t Aug 7 10:09:10 2021 ;; Entering directory =E2=80=98c:/msys64/tmp/=2Eemacs=2Ed/=E2=80=99 ;; package-quickstart=2Eel:4:30: Warning: reference to free variable =E2= =80=98\=2E\=2E\=2E=E2=80=99 Now look inside the generated "package-quickstart=2Eel" with (find-file package-quickstart-file) And you will see "(setq package-activated-list =2E=2E=2E)" (literally with= 3 dots) instead of "(setq package-activated-list (append ))"=2E There is another way to reproduce it that can work with a more "likely" (or reasonable) value of `print-length', but this is not with `emacs -Q' because it requires a non-NIL `package-alist', i=2Ee=2E an existing emacs configuration with some outside packages: ;; !!! This reproduction scenario ruins your !!! ;; !!! `package-quickstart-file'=2E Regenerate it afterwards=2E !!! ;; Assuming you have at least 4 external packages activated in ;; your configuration (progn (package-initialize) (let ((print-length (- (length package-alist) 1))) (package-quickstart-refresh))) Now look inside the generated "package-quickstart=2Eel" with (find-file package-quickstart-file) And you will see that a package named "=2E=2E=2E" is added to the `package-activated-list'=2E Next time you start emacs, the package initialization will fail because there is no such package=2E My work-around is to rebind `print-level' and `print-length' before calling `package-quickstart-refresh' (I do so periodically in the background): ;; -------- From my early-init=2Eel file -------- ;; Enable package quickstart =2E=2E=2E (funcall (or (get 'package-quickstart 'custom-set) 'set-default) 'package-quickstart t) ;; =2E=2E=2E and make sure it stays up to date (run-with-idle-timer 120 ; seconds 'repeat (lambda () (let (;; don't abbreviate lists: the `package-activated-list' is long a= nd ;; needs to be complete, otherwise Emacs will search for a packag= e ;; called "=2E=2E=2E"=2E (print-length nil) ;; I haven't had a problem with it yet, but better safe than sorr= y=2E (print-level nil)) (package-quickstart-refresh)))) ;; -------- End of my early-init=2Eel file -------- In GNU Emacs 28=2E0=2E50 (build 1, x86_64-w64-mingw32) of 2021-08-06 built on Repository revision: 0afab352e02d7070a8ced2af53c1d01217400cdf Repository branch: master Windowing system distributor 'Microsoft Corp=2E', version 6=2E3=2E9600 System Description: Microsoft Windows 8=2E1 (v6=2E3=2E0=2E9600=2E20069) Configured using: 'configure --with-xml2 --with-zlib --without-pop --prefix=3D/home/username/emacs-native-comp/dest --without-compress-install --without-dbus --with-native-compilation --with-modules 'CFLAGS=3D-O2 -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB Important settings: value of $LC_CTYPE: fr_FR=2EUTF-8 value of $LANG: en_US=2EUTF-8 locale-coding-system: cp1252 Major mode: ELisp/l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found=2E Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils modus-vivendi-theme modus-themes pcase compile text-property-search comint ansi-color ring pp info finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars 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 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 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 174962 29708) (symbols 48 12845 1) (strings 32 34208 2217) (string-bytes 1 1074693) (vectors 16 20567) (vector-slots 8 314808 27474) (floats 8 82 46) (intervals 56 304 0) (buffers 992 15)) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 07:04:10 2021 Received: (at 49924) by debbugs.gnu.org; 7 Aug 2021 11:04:10 +0000 Received: from localhost ([127.0.0.1]:52058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCK7e-0005a9-Gg for submit@debbugs.gnu.org; Sat, 07 Aug 2021 07:04:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCK7b-0005Zu-PC for 49924@debbugs.gnu.org; Sat, 07 Aug 2021 07:04:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cRtXJz2E37kbqC0F7cOIWWm5LKp0AV4rqYJAF5DYYX4=; b=WOnJLnG3ijMo4G23HUhgLV2N+D 4DPbhBVjcy2w/Kwe5b6j3Jpx6h0lmCNJnp2e/rmWYAr3tXiXBLZgg+4jAc1Q/IVKYPLI49i3zqkZk JSkwwDdhR03Wet0Y7O9jtw80U7NHyk5cNq6tCnTlSgBwiIeLzUyF15bF7NOytAUF5Rx8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mCK7S-00078L-LR; Sat, 07 Aug 2021 13:04:02 +0200 From: Lars Ingebrigtsen To: Pal Gloss Subject: Re: bug#49924: 28.0.50; `package-quickstart-refresh' fails for "long" (according to `print-length') `package-alist' References: Date: Sat, 07 Aug 2021 13:03:58 +0200 In-Reply-To: (Pal Gloss's message of "Sat, 7 Aug 2021 10:45:37 +0200") Message-ID: <87fsvl7bz5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pal Gloss writes: > Following #49922, I was able to diagnose & fix an issue with > `package-quickstart-refresh' when `print-length' is lower than > `(length package-activated-list)'. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49924 Cc: 49924@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: -3.3 (---) Pal Gloss writes: > Following #49922, I was able to diagnose & fix an issue with > `package-quickstart-refresh' when `print-length' is lower than > `(length package-activated-list)'. Yup. I've now pushed a similar fix for this to the trunk. Thanks for analysing and identifying these two problems. Perhaps we should have a version of prin1-to-string that really did prin1 the entire expression, because this problem comes up again and again... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 07:04:13 2021 Received: (at control) by debbugs.gnu.org; 7 Aug 2021 11:04:13 +0000 Received: from localhost ([127.0.0.1]:52061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCK7h-0005aQ-D4 for submit@debbugs.gnu.org; Sat, 07 Aug 2021 07:04:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCK7g-0005a0-7A for control@debbugs.gnu.org; Sat, 07 Aug 2021 07:04:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9ToTw44fbDwRCWPu8b6iMYUaUzQ/9n91PlATsLNrtrU=; b=PrCEFNd36o63i8+c2LWjYCGw8u 7oAUlM1AKcxdtkPykjq/vPVLtev1/fv/bSUskoXX5WbSGdBZFdy0FPjSnXINOYtEyu1Ze5VwhXfT3 8EZRMcR1o4VhDlhGRzlPF/dt2SJ1BuTdydzhs8+PeSayU5dHo2z4OV8/cpzNOmMjqKE0=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mCK7Y-00078g-CG for control@debbugs.gnu.org; Sat, 07 Aug 2021 13:04:06 +0200 Date: Sat, 07 Aug 2021 13:04:03 +0200 Message-Id: <87eeb57bz0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49924 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 49924 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) close 49924 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 10:02:40 2021 Received: (at 49924) by debbugs.gnu.org; 7 Aug 2021 14:02:40 +0000 Received: from localhost ([127.0.0.1]:52982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCMuN-0006II-SH for submit@debbugs.gnu.org; Sat, 07 Aug 2021 10:02:40 -0400 Received: from mout.gmx.net ([212.227.15.15]:39765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCMuL-0006I1-4v for 49924@debbugs.gnu.org; Sat, 07 Aug 2021 10:02:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628344951; bh=k3HxxY+exSegNeMY+690JBVLCMVG4pKzL8yBJ6azYRY=; h=X-UI-Sender-Class:From:To:Subject:Date; b=OFOM0xD7vn3nzRjZnyWSe0jF+uYlct1E0oHKtsWPetJNN9bg0GxeLhFal5ETxyiwQ NrRdAO66TINvUC/bBTUDDTsQjCUesDCuVbsXY4UOTXaeiPKYi9xO/0xQQGsxytFS4M aGdhrJiq2LN+1FIXoMCjZQPWfQFhgcCQaHCmMFJI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [81.245.63.7] ([81.245.63.7]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Sat, 7 Aug 2021 16:02:31 +0200 MIME-Version: 1.0 Message-ID: From: Pal Gloss To: 49924@debbugs.gnu.org Subject: e1ce9904aa5511468d295cac3221cb77de994331 does not fix #49924 Content-Type: text/plain; charset=UTF-8 Date: Sat, 7 Aug 2021 16:02:31 +0200 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:X+LdPztXTyUYUdoyw4LSVfnhIXT59UJP2Xse183BO0OwrOlHovouXPutDUgl3grSNbgIX Zoh1sStMvJ3H1GoLvKXPfQvnrtqIgUCVBdIsqInvQvt2qoiz6ykOVl5SwRR7S6hWgEprjvm3rIbU QMWTTmllxTSuPJikMzV0xj6W2c0YchbjiVt3YWccntwBWAAFTU0tUEkNmFcrvFJpFXLyNLaN2nHn ARaAEJb0Ebzj5kXIFbL/j9pmfj7/MwUEjMaIuExECuIsOmHVwhclNrk6Tz0keDeHLYh1dE9vkjxU NU= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Nu878ribLis=:IcQZ9662IQi4VZnhxL/jqg d53UBjEMcg2s6Tyo212d2/A/dkM3gEk7HiUVtDLh6hjotiHec38dExOJLFF0H2ps8lZa6wFlh BW0rI6YOb2GyoeS9wrYP4hWmuQ/I28IsO39ubM0Fo0HuV3HMYRdVzrmZOKCd5xQ+ombZR3N3x 2+gzNRpQm5igvPINbR1tuN/7nkmkpYuD4IH2uXR1TznNb2AaZOmBBtIfc6uO8TBOlxS+rhdJ9 hHe+QqceGPeNyF8flYBRISvaBWc3PLvW9CgaQD0NjCl3ssng23n/Pyn3WmX8fbVeJIUHgKtWr OnbqETB+BM3yMuEufp9idHdS+QZ0sjkMVYBYgPIkQ3nt40LBy7f7ByHMRKkYMbjuKL2aEWd/R qPduF02sHcZCGsFRA+Z8lHca8kSpy1nIZNQW5sBsLFsoZurBZQnDinEFAuUCef/ZgyMoEreXr x8XnL26BTvMmfakMbqae4XBARBQCEOykWEReeLooYM6VnyJYOVUta61IpFaLidgAkjxeZKn2w EcE5VDlSmyzJDSMPEg2Ix3gizr4JBAnu5JsmaDDLCBqQ/IuXiewKUcUUx+KMfp42v9MHr/etQ jz/dpKGIfOtm1AsunrKLeXDKO/seJ76Z+WJw6aGTqEutnG8uf9z+TwTesD0QN3/+F5HEt4sAn 7l+P/KmxLL/SWr/wgTJ5VfBXpe0RkUzcZaDgkrbyZ7O/tIXsRnF80Cbsittxa5V2Yxj/B3ubt Oh46ME18olBkO4FKiNGu5FwsofuAyMqwvHSRGCP6oCPuEUmbv4qN0S0FKM8r3cgD8ACz4g4cS j9bwAoPqKSQZF0krbuz8HS9E3vbLMoZAPMol8Z+vXnJD6MTFFg= X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 49924 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.4 (-) Hi, =C2=A0 Thank you for the quick response=2E=C2=A0 Unfortunately, the proposed fix = is not sufficient: the issue is not that `file' in `package-quickstart-refr= esh' is a long list (it's 1 string)=2E=C2=A0 I think that the problem is `p= p' that calls `prin1' (through `pp-to-string') and `prin1' is controlled by= `print-length' and `print-level', too=2E =C2=A0 > Thanks for analysing and identifying these two problems=2E Perhaps we > should have a version of prin1-to-string that really did prin1 the > entire expression, because this problem comes up again and again=2E=2E= =2E I don't know if `pp' is supposed to print "readably" (which I understand as can be `read' again, resulting in `equalp' object)=2E If it is, changi= ng `pp-to-string' to bind the `print-*' variables would at least solve #49924= =2E If changing `pp-to-string' (no idea who else uses it) is too risky can `print-length' and `print-level' be rebound in the top `let' of `package-quickstart-refresh'=2E Otherwise, rebind them locally around the two calls to `pp'=2E Kind regards=2E From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 08:47:49 2021 Received: (at 49924) by debbugs.gnu.org; 9 Aug 2021 12:47:49 +0000 Received: from localhost ([127.0.0.1]:56302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mD4h3-0006iW-FY for submit@debbugs.gnu.org; Mon, 09 Aug 2021 08:47:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mD4h1-0006eY-HH for 49924@debbugs.gnu.org; Mon, 09 Aug 2021 08:47:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=EOmzrEMy6t31dPjvWw1TtHEONoCCVs/EuNKTJUhu8eo=; b=R187kZLYYGEd+BdQPH8sGwfOJD bWKgnPzqsnFAr+SIk9Y/mRnETI6fGi6aukgbO46g3Nxquo6Vwhs8kuZSNWcfssLQdrwbobuJ6ihMb kIYCWh/n/Ngfx6HWnqtcJw51IF16CD+BEZy2UeUoIjlYgv9oYQ+xAY2DcTl8WsbX+NAI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mD4gt-0005Qi-2t; Mon, 09 Aug 2021 14:47:41 +0200 From: Lars Ingebrigtsen To: Pal Gloss Subject: Re: bug#49924: e1ce9904aa5511468d295cac3221cb77de994331 does not fix #49924 References: Date: Mon, 09 Aug 2021 14:47:38 +0200 In-Reply-To: (Pal Gloss's message of "Sat, 7 Aug 2021 16:02:31 +0200") Message-ID: <87lf5a4wet.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pal Gloss writes: > Thank you for the quick response.  Unfortunately, the proposed fix is > not sufficient: the issue is not that `file' in > `package-quickstart-refresh' is a long list (it's 1 string).  I think > th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49924 Cc: 49924@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: -3.3 (---) Pal Gloss writes: > Thank you for the quick response.=C2=A0 Unfortunately, the proposed fix is > not sufficient: the issue is not that `file' in > `package-quickstart-refresh' is a long list (it's 1 string).=C2=A0 I think > that the problem is `pp' that calls `prin1' (through `pp-to-string') > and `prin1' is controlled by `print-length' and `print-level', too. Oh, right, the problem is in the pp calls. I've now hoisted the print-* bindings further up. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Mon Jun 23 16:45:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Sep 2021 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