From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Kim Newsgroups: gmane.emacs.devel Subject: Re: emacsql-sqlite-builtin Date: Wed, 01 Feb 2023 19:45:53 -0800 Message-ID: <878rhgzq4u.fsf@gmail.com> References: <837cx23ies.fsf@gnu.org> <868rhi1kjh.fsf@gmail.com> <9b8f3e4e-05c0-bb2d-8f44-f1ac213b16fb@its.thm.de> <87r0v9r695.fsf@tcd.ie> <87y1phpfef.fsf@tcd.ie> Reply-To: emacs18@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26580"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:Ro3cscmlyqrweHgBnSjE6No0mX8= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 02 07:14:38 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pNSrm-0006jy-8V for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Feb 2023 07:14:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNSqt-0002wi-Sy; Thu, 02 Feb 2023 01:13:43 -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 1pNQY5-0001V2-G5 for emacs-devel@gnu.org; Wed, 01 Feb 2023 22:47:05 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNQY3-0003pV-QW for emacs-devel@gnu.org; Wed, 01 Feb 2023 22:46:09 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pNQY1-00036j-ES for emacs-devel@gnu.org; Thu, 02 Feb 2023 04:46:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 02 Feb 2023 01:13:42 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302889 Archived-At: "Basil L. Contovounesios" writes: > Gregor Kling [2023-02-01 13:21 +0100] wrote: > >> On 01.02.23 12:10, Basil L. Contovounesios wrote: >> >>> What versions do you have installed? >> >> Status: Installed in ‘emacsql-3.1.1/’ (unsigned). > > This looks like the version from MELPA Stable. > >> Status: Installed in ‘emacsql-sqlite-builtin-20221127.2146/’ (unsigned). > > And this like the version from MELPA. > > This seems like a likely culprit, because the emacsql-connection class > changed between these versions. > > What is your value of package-archives? > > I suggest making sure all your EmacSQL packages are installed from the > same archive: > > either https://elpa.nongnu.org/nongnu-devel/ > or https://melpa.org/packages/ > > This should ensure that their versions are mutually consistent. > > If different versions of the same package exist in different archives, > you can tell Emacs precisely where to get different packages from by > customising the user options package-archive-priorities and > package-pinned-packages. > > HTH, You need to pick up Jan 18 fix in emacsql, i.e., https://github.com/magit/emacsql/commit/2e6056df110e76da4eabb413f8781c4f1edddf20 which fixed the "deleted buffer" problem initially reported against emacs as https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60872 Alternately you can build emacs using a version prior to cfd2b3504ab which was checked in on Jan 12. If you do, then you can stay with older emacsql.