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: Thu, 09 Dec 2021 17:21:16 +0100 Message-ID: <7807836.XG0bLfhqpj@galex-713.eu> References: <87tufmjyai.fsf@gnus.org> <87ee6m85tr.fsf@telefonica.net> <83a6haulpp.fsf@gnu.org> 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="26234"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 17:22:31 2021 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 1mvMBj-0006Zz-11 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 17:22:31 +0100 Original-Received: from localhost ([::1]:45722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvMBh-00062L-11 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 11:22:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvMAd-0005Ga-JY for emacs-devel@gnu.org; Thu, 09 Dec 2021 11:21:23 -0500 Original-Received: from [2a00:5884:8305::1] (port=36396 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 1mvMAb-00035h-WD for emacs-devel@gnu.org; Thu, 09 Dec 2021 11:21:23 -0500 Original-Received: from gal by galex-713.eu with local (Exim 4.94.2) (envelope-from ) id 1mvMAW-000WFO-Hi for emacs-devel@gnu.org; Thu, 09 Dec 2021 17:21:16 +0100 In-Reply-To: <83a6haulpp.fsf@gnu.org> 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 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:281513 Archived-At: Le =C4=B5a=C5=ADdo, 9-a de decembro 2021, 11-a horo kaj 16:50 CET Eli Zaret= skii a=20 =C3=A9crit : > > From: =C3=93scar Fuentes > > Date: Thu, 09 Dec 2021 10:50:56 +0100 >=20 > > Eli Zaretskii writes: >=20 >=20 >=20 > > > Unless that tool comes with the library in the same package, that > > > is. >=20 >=20 >=20 > > You have to know about its existence and how to use it. >=20 > That information is just one Internet search away. Try: >=20 > compare sqlite databases To me that looks like a bad argument in favor of replacing plain text by=20 sqlite, in opposition to the argument =E2=80=9Ceverybody already knows plai= n text,=20 how to read and edit it=E2=80=9D. A lot more convincing answer to me is = =E2=80=9Cmake=20 that tool autoloaded for the right extension/magic number for sqlite3=20 databases, and learn about it with C-h m, just as usual with any mode in=20 emacs=E2=80=9D, and =E2=80=9Cpresent the sqlite buffer as plaintext just as= we already do=20 for directories with dired, and allow to edit it with text commands just=20 as editable dired=E2=80=9D. The =E2=80=9Ctext files everybody knows how to read and edit them=E2=80=9D = is a real=20 philosophy, coming from the unix background. I can understand its=20 limitations, but it shouldn=E2=80=99t be repelled by a mere classical unfri= endly=20 =E2=80=9Cgoogle is your friend=E2=80=9D (a search engine stays a so big and= costly thing,=20 that currently there is no decent free-software one, they all are=20 proprietary and centralized, and the only correct one either depend on ads= =20 (google stays the main one, and is considered as a base standard of=20 quality (which is hardly attained by many competitors) for many people=20 requiring others to websearch stuff by themselves), or are based in the=20 patriot-act US (duckduckgo))..