From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Sat, 11 Dec 2021 13:57:31 +0000 Message-ID: References: <87tufmjyai.fsf@gnus.org> <877dcil2sj.fsf@ericabrahamsen.net> <87czm98qi1.fsf@gnu.org> <87o85tcwm0.fsf@ericabrahamsen.net> <874k7ljwkr.fsf@gnus.org> <87fsr5cuzq.fsf@ericabrahamsen.net> <878rwx8mdn.fsf@gnu.org> <87r1aphuei.fsf@gnus.org> <837dcex6ub.fsf@gnu.org> <83a6h9tu1c.fsf@gnu.org> <83mtl7r1c5.fsf@gnu.org> <87fsqzihsb.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36513"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 11 15:00:19 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 1mw2vD-0009IZ-7a for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 15:00:19 +0100 Original-Received: from localhost ([::1]:34406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mw2vB-00023H-JV for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 09:00:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mw2tB-0000mG-2s for emacs-devel@gnu.org; Sat, 11 Dec 2021 08:58:13 -0500 Original-Received: from [2a00:1450:4864:20::129] (port=44659 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mw2t9-0003w5-IH; Sat, 11 Dec 2021 08:58:12 -0500 Original-Received: by mail-lf1-x129.google.com with SMTP id z7so22865678lfi.11; Sat, 11 Dec 2021 05:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xx1w59s7HTihvZy9C7erqENrC1Sdt7iJI3tLoxH1U3E=; b=QTR8ic1MmTL1POooF03Ku5RHRJkQdKz0rzEM7nOrv3TFerJSnmofzEZa6VKSU0OtNE pBZuPYO8KKxv80zduIqSWxMrNO3q3jR57GKmSBgl7GBpDWtbCA1UUa7sa134iDLYL9A/ NsV+iGWc16uliMKAr2H1851LXFpsOBRN/oEd4or0Cqm+qStSLtwxinCybn6bYy0o4XM1 Yg3gzAPI/lDSemZxBXyfDVM4S1wqQeGzc1HNvk6pQHfww0J2LYkqEw3mxqyeEYYRts+1 ZpUx+CvMsI2YUuoN2YLq8B+hCQTnNfsWSYrY6CmUFJ3VY0R6qaqkERBm3d5emAxQB4VR wR4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xx1w59s7HTihvZy9C7erqENrC1Sdt7iJI3tLoxH1U3E=; b=YTbjp+KSoPrIHDaWlt5WZfM795o4G2jerG6cFptfgmT3DQ748Gtch1IqYpjxCtqKV0 y4Wz0zoYPRCOMXJqME9FFQat/OzuZoZRxY0m2MS9WRJANJjIYcA7bwaeOc1Tch1hzbEq 4vMHPErfFmfez/ue5KuU0mwIx/O9ktilyYbFBdpVtrjXYFCX+uVB3pKwbAbBQ8QQ2FFM 2Etm2HPD0VAI+rZMHHtrWB8nb7ikeGDopyU0KOJfYeVnBqEzZXaHsxQj/e5xXORIAMWA ju/wbIIbNsGkEv5PbUFl7e0Y0mdzP8qOPo9onHDT4mTYzAMI9VqRoKRhq51bBf0rfZE5 UWEg== X-Gm-Message-State: AOAM533SZRl54R18QF6BeiO+BbhZmLDGylJswrJYxblsCuvS6mMPwrNy qPx8vCx3b7qFdX6C9tV+Kq2HXn+UV7W2LmNz1po= X-Google-Smtp-Source: ABdhPJzzTxE2a1De0BpgycnEz6YHsEHmGLO0QhMW9HhFr7GT4vy8iCXWYTlDHmHrX0MsKzEKMNwNUWNVYgd1BP3a230= X-Received: by 2002:a05:6512:388b:: with SMTP id n11mr14665792lft.198.1639231088773; Sat, 11 Dec 2021 05:58:08 -0800 (PST) In-Reply-To: <87fsqzihsb.fsf@gnus.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::129 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=pipcet@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=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:281688 Archived-At: On Sat, Dec 11, 2021 at 10:00 AM Lars Ingebrigtsen wrote: > I've added a `sqlite-mode-open-file' command, but perhaps it'd be nice > to make `C-x C-f foo.sqlite3 RET' call that automatically? What about non-local files? Currently, IIUC, sqlite-mode just doesn't work for them, handing all file names to the sqlite library which then fails to open them. I'm not volunteering, but maybe we could use the sqlite3 VFS interface to back an sqlite3 database with an Emacs buffer (or several). That would solve both the remote access issue and make C-x C-f behave more like it does for other files. The code that's been merged looks good to me, for what I think you're trying to do. Pip