From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexandre Garreau Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 14 Feb 2022 16:41:50 +0100 Message-ID: <14118297.UU1BcYUUiH@galex-713.eu> References: <87tufmjyai.fsf@gnus.org> <2176540.5f6G0mJ9Du@galex-713.eu> Mime-Version: 1.0 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="3263"; mail-complaints-to="usenet@ciao.gmane.io" To: Alexandre Garreau , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 14 17:08:18 2022 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 1nJdti-0000dP-C6 for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Feb 2022 17:08:18 +0100 Original-Received: from localhost ([::1]:59654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJdtg-0008LS-Pg for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Feb 2022 11:08:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJdsI-0006RG-Kg for emacs-devel@gnu.org; Mon, 14 Feb 2022 11:06:50 -0500 Original-Received: from [2a00:5884:8305::1] (port=52288 helo=galex-713.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJdsD-0003M8-Gt for emacs-devel@gnu.org; Mon, 14 Feb 2022 11:06:50 -0500 Original-Received: from gal by galex-713.eu with local (Exim 4.94.2) (envelope-from ) id 1nJdU7-001lN6-4e; Mon, 14 Feb 2022 16:41:51 +0100 In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8305::1 (failed) Received-SPF: pass client-ip=2a00:5884:8305::1; envelope-from=galex-713@galex-713.eu; helo=galex-713.eu X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:286283 Archived-At: Le lundo, 14-a de februaro 2022, 13-a horo kaj 45:58 CET Jean Louis a=20 =C3=A9crit : > * Alexandre Garreau [2021-12-09 10:06]: >=20 >=20 > > Well, if we start supporting sqlite, emacs might become such an > > editor! > > Imagine if when you opened a binary sqlite3 database emacs offered you > > the database, with many elisp commands to edit it by hand? think like > > phpmyadmin, but lighter >=20 > There are many possibilities that will open with the implementation of > a database. Editing of its fields, adding, removing, that is not > hard. I am doing that in tabulated-list-mode for PostgreSQL and it > could be somehow reworked for SQLite. >=20 > I would like that main developers implement error free insertion of > Emacs Lisp into table columns. Example is if I wish to store a > function or multiple functions into SQLite table column, that such is > not stored as string which I have to `eval' to read it, rather that > some error-free method is invented so that storage goes error-free > (correct sexp) into the column and that reading from it goes without > problems. Error reporting shall be also bound to find where, which > database column specific Emacs Lisp failed, as to quickly located it > and edit it. to read you don=E2=80=99t need to eval, if you want lowerlevel stuff you co= uld=20 store bytecode, and print should be sufficient for it to be read again=20 without errors shouldn=E2=80=99t it?