From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60490: 29.0.60; sqlite-mode-open-file fails to work over tramp Date: Sun, 15 Jan 2023 09:27:21 +0200 Message-ID: <83zgak5kbq.fsf@gnu.org> References: <93862e9b2b44e4ac2217968838ad64e0@sadiqpk.org> <83v8lp14ze.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21399"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60490@debbugs.gnu.org To: Mohammed Sadiq Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 15 08:28:16 2023 Return-path: Envelope-to: geb-bug-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 1pGxRA-0005OE-M6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Jan 2023 08:28:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGxR2-00044o-FQ; Sun, 15 Jan 2023 02:28: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 1pGxQw-0003yS-FC for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 02:28:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGxQw-0004gN-6r for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 02:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGxQw-0000eJ-21 for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 02:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jan 2023 07:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60490 X-GNU-PR-Package: emacs Original-Received: via spool by 60490-submit@debbugs.gnu.org id=B60490.16737676462453 (code B ref 60490); Sun, 15 Jan 2023 07:28:02 +0000 Original-Received: (at 60490) by debbugs.gnu.org; 15 Jan 2023 07:27:26 +0000 Original-Received: from localhost ([127.0.0.1]:56052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGxQL-0000dU-Hu for submit@debbugs.gnu.org; Sun, 15 Jan 2023 02:27:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGxQI-0000dH-5K for 60490@debbugs.gnu.org; Sun, 15 Jan 2023 02:27:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGxQC-0004bY-9Q; Sun, 15 Jan 2023 02:27:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ilRmxNPk56oErxSG+/qjTIPRZm1PfUM1ZqK07DzdH4w=; b=nJgfQkct3Pk3 iKCoP3uyEIR2q2fEhgEccXUrmcRIPcig3aFwgRwVRM97oZBDBUcVpTwDjafWh/nzJ7V0BgkR8C9LV Ffyl40QtyafxEVfmMnzDnx1f1phRaV2K7BEuHhmnl87YwJ1GSnTJZV+mk35qJyJn1TSnFyz1+oqeN wNWPel2qKruwmuIDeUjcHK9GnQfnOg5Mf8t8bBd6Ae5E2wnFN/mOFFQL6b2QYdhhsh91aneNj/C8P kHrbDmNVrJW++fiyzOKkHWELQZgxFBYn83etq2DGfHMnwElAPjUtSKvApgCzPSpvB/mCJmdQmL2ei a8BqTl56XmOkk2y034VEsg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGxQB-0007Oy-IH; Sun, 15 Jan 2023 02:27:15 -0500 In-Reply-To: (message from Mohammed Sadiq on Sun, 15 Jan 2023 11:11:49 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253410 Archived-At: > Date: Sun, 15 Jan 2023 11:11:49 +0530 > From: Mohammed Sadiq > Cc: 60490@debbugs.gnu.org > > On 2023-01-02 18:13, Eli Zaretskii wrote: > > severity 60490 wishlist > > thanks > > > >> Date: Mon, 02 Jan 2023 16:56:24 +0530 > >> From: Mohammed Sadiq > >> > >> Opening sqlite db files from remote system over tramp (with M-x > >> sqlite-mode-open-file) fails with the following error in *Messages*: > >> > >> sqlite-mode-list-tables: Wrong type argument: sqlitep, nil > > > > The built-in SQLite support doesn't (yet) support remote DB access. > > So I'm converting this report to a feature request. Patches welcome. > > > > In that case, it would be better to show a warning message that > it's not supported instead of failing with errors that gives no > hint to the user. I disagree that we should show a warning in such cases. The user asked Emacs to do something, and Emacs couldn't; the appropriate response is to signal an error, not to show a warning. Showing a warning would mean we don't abort whatever Lisp program that was trying to do something we cannot do. I agree that a more targeted error message would be beneficial; patches for that are welcome as well. > Also, Emacs may also show the related bug number regarding such > issues so that interested users can subscribe to know updates. We don't have any infrastructure in Emacs for doing stuff like that. It would be a useful feature, I think (although not easy to implement), but please submit a separate feature request for it.