From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mohammed Sadiq Newsgroups: gmane.emacs.bugs Subject: bug#60490: 29.0.60; sqlite-mode-open-file fails to work over tramp Date: Sun, 15 Jan 2023 13:49:49 +0530 Message-ID: <18d046cdad634772ab0fff852bcf53a0@sadiqpk.org> References: <93862e9b2b44e4ac2217968838ad64e0@sadiqpk.org> <83v8lp14ze.fsf@gnu.org> <83zgak5kbq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25277"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60490@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 15 09:21:29 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 1pGyGe-0006NX-Cg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Jan 2023 09:21:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGyGK-0003DN-0p; Sun, 15 Jan 2023 03:21: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 1pGyGI-0003Bf-35 for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 03:21:06 -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 1pGyGE-0003ic-AX for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 03:21:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGyGE-0001xn-46 for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2023 03:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mohammed Sadiq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jan 2023 08:21: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.16737708037468 (code B ref 60490); Sun, 15 Jan 2023 08:21:02 +0000 Original-Received: (at 60490) by debbugs.gnu.org; 15 Jan 2023 08:20:03 +0000 Original-Received: from localhost ([127.0.0.1]:56073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGyFG-0001w9-Bc for submit@debbugs.gnu.org; Sun, 15 Jan 2023 03:20:03 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:44605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGyFA-0001vj-T4 for 60490@debbugs.gnu.org; Sun, 15 Jan 2023 03:20:00 -0500 Original-Received: (Authenticated sender: sadiq@sadiqpk.org) by mail.gandi.net (Postfix) with ESMTPA id 65FEA240003; Sun, 15 Jan 2023 08:19:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org; s=gm1; t=1673770790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b9d5dZ8nn/PPPHWKyHQz5WryM9M5GY4hm2RgEBc7X54=; b=N/HcJUqtP9hNPk6cqOcZOOAEpKB8kELc1VUi6vT+/U9J18vflj/9mSExcW69stYBV+xwrg PXdogJMY/JKahpweXqXpuRARtzJKVuzqGb0hS74ABjfp7NjaAWfHtj43JFw7YyoAaX/1GL f+k13vazHlB/L5at9INb3bDuoCQzo347/9LE+UuhDVVBJWiQT9fD/goE/pB2sFxqSihcGF 4Q0jk2j3Jvfy80ZRRtetZZGbvsfqtSo6b/gAf5ws4C4aXxqRG6RsX/bYy6HXjjbAwV7K28 z0IPK+hH8fm+er/12ik26YannVRDxUZhjndvlwi+qqvg4dNSxJJQMZUPVBffnQ== In-Reply-To: <83zgak5kbq.fsf@gnu.org> X-Sender: sadiq@sadiqpk.org 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:253413 Archived-At: On 2023-01-15 12:57, Eli Zaretskii wrote: >> 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. An error message was what I meant. > >> 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. I was suggesting to show an error message like: "sqlite-xxx is not supported over tramp, see bug#xxx"