GNU bug report logs - #60175
30.0.50; sql-product-interactive doesn't switch to interactive buffer

Previous Next

Package: emacs;

Reported by: Eshel Yaron <eshelshay.yaron <at> gmail.com>

Date: Sun, 18 Dec 2022 10:50:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #8 received at 60175 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eshel Yaron <eshelshay.yaron <at> gmail.com>,
 Michael R. Mauger <michael <at> mauger.com>
Cc: 60175 <at> debbugs.gnu.org
Subject: Re: bug#60175: 30.0.50;
 sql-product-interactive doesn't switch to interactive buffer
Date: Sun, 18 Dec 2022 13:57:35 +0200
> From: Eshel Yaron <eshelshay.yaron <at> 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).




This bug report was last modified 2 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.