From: vividsnow <vividsnow@gmail.com>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: 32107@debbugs.gnu.org
Subject: bug#32107: 27.0.50; sql-connect/sql-send-paragraph broken
Date: Wed, 11 Jul 2018 00:01:10 +0300 [thread overview]
Message-ID: <ed8fe03f-06eb-8ad5-b41b-7ba6507cc4e8@gmail.com> (raw)
In-Reply-To: <m2fu0rkp7h.fsf@fgunbin.playteam.ru>
sql-set-sqli-buffer not working either.
Lets say I have saved connection: test (as in first example)
Then:
* sql-connect -> test
* switch to *scratch*
* sql-mode
* sql-set-set-sql-buffer
* minibuffer asks new database connection details, not buffer name
On 07/10/2018 07:52 PM, Filipp Gunbin wrote:
> 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 21:01 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
2018-07-10 21:01 ` vividsnow [this message]
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=ed8fe03f-06eb-8ad5-b41b-7ba6507cc4e8@gmail.com \
--to=vividsnow@gmail.com \
--cc=32107@debbugs.gnu.org \
--cc=fgunbin@fastmail.fm \
/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).