unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Eshel Yaron <eshelshay.yaron@gmail.com>,
	Michael R. Mauger <michael@mauger.com>
Cc: 60175@debbugs.gnu.org
Subject: bug#60175: 30.0.50; sql-product-interactive doesn't switch to interactive buffer
Date: Sun, 18 Dec 2022 13:57:35 +0200	[thread overview]
Message-ID: <83cz8ggc0g.fsf@gnu.org> (raw)
In-Reply-To: <m1edsx3s27.fsf@gmail.com> (message from Eshel Yaron on Sun, 18 Dec 2022 12:49:20 +0200)

> From: Eshel Yaron <eshelshay.yaron@gmail.com>
> Date: Sun, 18 Dec 2022 12:49:20 +0200
> 
> 
> The docstring of sql-product-interactive states that "if [an interactive
> SQL] buffer exists and a process is running, just switch to [it]".
> However, sql-product-interactive seems to only display the existing
> interactive buffer, without actually switching to it.  AFAICT this
> happens because sql-display-sqli-buffer-function defaults to
> display-buffer, which causes sql-display-buffer to invoke display-buffer
> instead of pop-to-buffer.

Thanks, I fixed the doc string one the emacs-29 branch.

IMO, it isn't really clean that this command sometimes switches to
that buffer and sometimes only displays it without selecting its
window.  But I'll leave that aspect to Michael (CC'ed).





      reply	other threads:[~2022-12-18 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-18 10:49 bug#60175: 30.0.50; sql-product-interactive doesn't switch to interactive buffer Eshel Yaron
2022-12-18 11:57 ` Eli Zaretskii [this message]

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=83cz8ggc0g.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60175@debbugs.gnu.org \
    --cc=eshelshay.yaron@gmail.com \
    --cc=michael@mauger.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).