From: Filipp Gunbin <fgunbin@fastmail.fm>
To: vividsnow <vividsnow@gmail.com>
Cc: 32107-done@debbugs.gnu.org
Subject: bug#32107: 27.0.50; sql-connect/sql-send-paragraph broken
Date: Tue, 10 Jul 2018 19:52:50 +0300 [thread overview]
Message-ID: <m2fu0rkp7h.fsf@fgunbin.playteam.ru> (raw)
In-Reply-To: <916736fb-9a21-bdca-373b-6da1c710c2db@gmail.com> (vividsnow@gmail.com's message of "Tue, 10 Jul 2018 00:08:33 +0300")
tags 32107 notabug
On 10/07/2018 00:08 +0300, vividsnow wrote:
> Hi
>
> Steps to reproduce:
>
> * switch to *scratch*
> * sql-mode
> * sql-sqlite -> test.db
> * sql-save-connection -> test
> * kill *SQL* interactive buffer
> * switch to *scratch*
> * sql-connect -> test
> * switch back to *scratch*
> * try to send something (eg "select 1" ) via C-c C-c (sql-send-paragraph)
> * got "user-error: No SQL process started"
That seems to work as expected. From sql-mode buffer, you set "target"
SQLi buffer with sql-set-sqli-buffer (actually, it sets sql-buffer var).
Then if you kill the SQLi buffer and get a new one, sql-set-sqli-buffer
needs to be called again.
See also function sql-set-sqli-buffer-generally.
Filipp
next prev parent reply other threads:[~2018-07-10 16:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 21:08 bug#32107: 27.0.50; sql-connect/sql-send-paragraph broken vividsnow
2018-07-10 16:52 ` Filipp Gunbin [this message]
2018-07-10 21:01 ` vividsnow
2018-07-11 2:34 ` Filipp Gunbin
2018-07-11 10:59 ` vividsnow
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fu0rkp7h.fsf@fgunbin.playteam.ru \
--to=fgunbin@fastmail.fm \
--cc=32107-done@debbugs.gnu.org \
--cc=vividsnow@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).