From: Eli Zaretskii <eliz@gnu.org>
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 60490@debbugs.gnu.org
Subject: bug#60490: 29.0.60; sqlite-mode-open-file fails to work over tramp
Date: Sun, 15 Jan 2023 09:27:21 +0200 [thread overview]
Message-ID: <83zgak5kbq.fsf@gnu.org> (raw)
In-Reply-To: <e61b12ebbb5208bea93c21df55626c81@sadiqpk.org> (message from Mohammed Sadiq on Sun, 15 Jan 2023 11:11:49 +0530)
> Date: Sun, 15 Jan 2023 11:11:49 +0530
> From: Mohammed Sadiq <sadiq@sadiqpk.org>
> 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 <sadiq@sadiqpk.org>
> >>
> >> 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.
next prev parent reply other threads:[~2023-01-15 7:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-02 11:26 bug#60490: 29.0.60; sqlite-mode-open-file fails to work over tramp Mohammed Sadiq
2023-01-02 12:43 ` Eli Zaretskii
2023-01-15 5:41 ` Mohammed Sadiq
2023-01-15 7:27 ` Eli Zaretskii [this message]
2023-01-15 8:19 ` Mohammed Sadiq
2023-01-15 10:10 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zgak5kbq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=60490@debbugs.gnu.org \
--cc=sadiq@sadiqpk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.