From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.help Subject: Re: package-vc-install bug? Date: Sun, 11 Feb 2024 17:31:48 +0530 Message-ID: <871q9jjjkj.fsf@gmx.net> References: <87bk8qov9f.fsf@gmx.net> <87wmrc498o.fsf@posteo.net> <87cyt49e3x.fsf@gmx.net> <87mss7z6wm.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5434"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 11 13:02:50 2024 Return-path: Envelope-to: geh-help-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 1rZ8Xq-0001EL-Bo for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Feb 2024 13:02:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ8XA-0001CJ-0T; Sun, 11 Feb 2024 07:02:08 -0500 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 1rZ8Wy-00019n-Iq for help-gnu-emacs@gnu.org; Sun, 11 Feb 2024 07:01:58 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZ8Ww-00015N-JT for help-gnu-emacs@gnu.org; Sun, 11 Feb 2024 07:01:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1707652912; x=1708257712; i=jimjoe@gmx.net; bh=+kcyf1Msn9Be374HbrGOw+IP9nMas8n0JuhCG4HfFt4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=pJbJPI4y8V/7udIaQlkbdFXueN3t74z4tsj9qzkGS9dixH50Sua491X1Wy6P2kk+ iyvJLejiXhMkMyhNvtPcbIRMPvxR8ZbeKr9bfpJPsLUHIg2lL+7wysiM5kW45K02X WypPa6addE6P0tUI/3ISBkEgxAGuqQsp3Q9VOkWhDrJ7f1+TrVr7bBWUKqBIlNzsi kJQJ2tnme2SVBlv62jUJK2MLyz1U4axXorIE2S4hzzGo36qj8CN9/oNhevau+A5Zq KdUz0wfF4mcL9cuEWOXEkdK7UduQehD7fdpinr+Cs56Y7UPSBDKoNCVkwbYlYE7X3 JaTRFnp+/U6iVNv01w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-15-5518 ([117.212.162.105]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N49lJ-1qrJKo2MZV-0103ux; Sun, 11 Feb 2024 13:01:52 +0100 In-Reply-To: <87mss7z6wm.fsf@posteo.net> (Philip Kaludercic's message of "Sun, 11 Feb 2024 09:28:41 +0000") X-Provags-ID: V03:K1:3bagYAhU515CqB+Onlq0mjqi9B6VlTlkBFbt0I9zI/EmtVWNIEN f+b1INBzgtzj/fuX58tDPJpch7+H7XvtpiZdU0sd+FXOa7BGMjwHK1rLQaU8rlPVD7D5F2i Uotn3oBD/fjEZ1nhgiFUCpFQwn5+4EXTmx9ITIGWE5ugHWfAKQFl1b8jnX9Cbs4D1fFNFdu TE90L0Oc5UbiCw4n7rs1w== UI-OutboundReport: notjunk:1;M01:P0:9BSRDrrUiDc=;k4+PsHcR4qV4dY3PsWCqiRYtbDt 2tUVmZQgzgVwxS+wIto9yNnj2gemfyvEZHuEuoSum1b2rNKXIWU/J6rlFpkVaSeIM5RnYsnHq AVLwnbBjQcHGLWqdpwsElOn5X3DQjQwnfZ9Jdlj8hKy6DiZ/lJrPEVVy3NbzWt4rUyaR5UUIm zuw2lIskaIUWNu8IX4l8GrUy6gtkTilg0e2SzvY58kCF1ate/+93/zcSZau3BsFBEA+hlhhx+ 1XJGQhZOJX5qCNVsdCPktNzBnxv1EZ9Mkk/oBx5rv5x8OcFZaXgJx6bulSnBaqyNcqTYRcu+T niPHi7sPfgpgFmsCqxKPz5OmLXE2mxpEj5HVUgzI64hm1Fhs9O1SuIqODOWNTTHZGGWNCOhnT 55jMdcig8wgpYET8FUryHTXz00ydtHzZsGpyUdWA0P3/iM9YR3cN1p/PtOX1TyCfhOuqLCBBn ceIvidbrQbcYRL2dCXvv3D8ijl5PBhrUMg9012wq56g060jkLMLVScaRAXeN25YadGPmtYwtc nq/018TMpq/0t1f9675wphprXuneL6NV3nWrtXx5IGVZTz+caP3vyAr8yycw+etMKQeqkof4g PJLsH5pd7NK/2+6E7cTX04CMxz80Bn+ZIRZKtXQ2HGOSgZ8pL+C0v6r5poPTHUljKpJwyYHYR /f7vx53nNNAXemS4x4NFJ/ZchMOc8dx0OvuakCBaHHXeiXu7ttuxtKDYyuV8QO3vbC2HLhW/s MGHW5vhs4lb20fnwHfS+yc6+CavWO7efjk1GT31pM9xK+VOp9ly2etesrUF8uvwuwafT3MXu Received-SPF: pass client-ip=212.227.17.22; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145912 Archived-At: Philip Kaludercic wrote: > James Thomas writes: > >> Philip Kaludercic wrote: >> >>> James Thomas writes: >>> >>>> M-x package-vc-install RET RET fails with the following on = my >>>> system: >>> >>> Does this issue occur for every package? >> >> Yes, for every one I've tried (in my system). > > In that case this should be reported as a bug. > >>> What I don't get, is what adding a newline to the end of a string shou= ld >>> change? >>> >>> (read-from-string "((emacs \"29.1\"))") ;=3D> (((emacs "29.1")) . 16= ) >>> (read-from-string "((emacs \"29.1\"\n))") ;=3D> (((emacs "29.1")) . 17= ) >> >> The problem occurs in `package-read-from-string', not `read-from-string= ' > > I understood that, the point is that the cdr of the return value in both > cases points to the end of the string, so the second `read-from-string' > call in the `condition-case' will in both cases raise the same > `end-of-file', as is the case here: > > (read-from-string "") > (read-from-string "x" 1) Yes, you're right: apparently my modification has nothing to do with it (see below). Sorry. > Can you confirm this by using edebug? It turns out that if I do C-M-x on `package-read-from-string' and then try it, it works. But not without it on a fresh restart, even with emacs -Q. Even stepping through using edebug without rerunning the defun works. I'm not sure what the problem is: maybe the build? Have to dig deeper. Thank you for all your help. Regards, James