GNU bug report logs -
#55088
29.0.50; sql-buffer global value does not get set
Previous Next
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Sun, 24 Apr 2022 03:49:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55088 in the body.
You can then email your comments to 55088 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55088
; Package
emacs
.
(Sun, 24 Apr 2022 03:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Aaron Jensen <aaronjensen <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 24 Apr 2022 03:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
M-x sql-postgres ; (or whatever)
Switch to scratch buffer
M-x sql-mode
C-c C-b
Expected: Send current buffer to postgres sqli
Actual: No SQL process started error
The docs of `sql-buffer' state: "The global value of sql-buffer is the name of the latest SQLi buffer
created."
I do not see any code that would do that. The only thing that sets it
upon creating a new interactive buffer is dependent upon that command
being run from an existing sql-mode buffer.
There is a `sql-set-sqli-buffer-generally' command, but it is not
invoked as far as I can tell.
In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.4.0, NS appkit-2113.40 Version 12.3.1 (Build 21E258))
of 2022-04-20 built on aaron-m1.local
Windowing system distributor 'Apple', version 10.3.2113
System Description: macOS 12.3.1
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
--infodir=/opt/homebrew/Cellar/emacs-plus <at> 29/29.0.50/share/info/emacs
--prefix=/opt/homebrew/Cellar/emacs-plus <at> 29/29.0.50 --with-xml2
--with-gnutls --with-native-compilation --without-dbus
--without-imagemagick --with-modules --with-rsvg --with-ns
--disable-ns-self-contained 'CFLAGS=-I/opt/homebrew/opt/gcc/include
-I/opt/homebrew/opt/libgccjit/include -I/opt/homebrew/opt/gmp/include
-I/opt/homebrew/opt/jpeg/include' 'LDFLAGS=-L/opt/homebrew/lib/gcc/11
-I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include
-I/opt/homebrew/opt/gmp/include -I/opt/homebrew/opt/jpeg/include''
Configured features:
ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS XIM ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: ELisp/l
Minor modes in effect:
global-flycheck-mode: t
flycheck-mode: t
pdf-occur-global-minor-mode: t
company-posframe-mode: t
company-prescient-mode: t
company-tng-mode: t
company-mode: t
eval-sexp-fu-flash-mode: t
eros-mode: t
lispyville-mode: t
lispy-mode: t
elisp-def-mode: t
sotlisp-mode: t
speed-of-thought-mode: t
org-roam-db-autosync-mode: t
global-anzu-mode: t
anzu-mode: t
electric-pair-mode: t
form-feed-mode: t
dtrt-indent-mode: t
evil-vimish-fold-mode: t
vimish-fold-mode: t
global-git-commit-mode: t
yas-global-mode: t
yas-minor-mode: t
transient-posframe-mode: t
which-key-posframe-mode: t
which-key-mode: t
winner-mode: t
treemacs-filewatch-mode: t
treemacs-follow-mode: t
treemacs-git-mode: t
treemacs-fringe-indicator-mode: t
global-auto-revert-mode: t
recentf-mode: t
better-jumper-mode: t
better-jumper-local-mode: t
repeat-mode: t
global-undo-tree-mode: t
undo-tree-mode: t
global-evil-collection-unimpaired-mode: t
evil-collection-unimpaired-mode: t
global-evil-mc-mode: t
evil-mc-mode: t
evil-snipe-override-mode: t
evil-snipe-mode: t
evil-snipe-override-local-mode: t
evil-snipe-local-mode: t
global-evil-matchit-mode: t
evil-matchit-mode: t
global-evil-surround-mode: t
evil-surround-mode: t
shell-dirtrack-mode: t
evil-mode: t
evil-local-mode: t
windmove-mode: t
gcmh-mode: t
mini-frame-mode: t
vertico-mouse-mode: t
vertico-mode: t
prescient-persist-mode: t
+popup-mode: t
ws-butler-global-mode: t
ws-butler-mode: t
global-so-long-mode: t
save-place-mode: t
ns-auto-titlebar-mode: t
nano-modeline-mode: t
envrc-global-mode: t
envrc-mode: t
leader-key-leader-override-mode: t
global-leader-key-leader-override-mode: t
delete-selection-mode: t
savehist-mode: t
pixel-scroll-precision-mode: t
xterm-mouse-mode: t
override-global-mode: t
straight-use-package-mode: t
straight-package-neutering-mode: t
global-display-line-numbers-mode: t
display-line-numbers-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tab-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
window-divider-mode: t
line-number-mode: t
auto-fill-function: yas--auto-fill
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
abbrev-mode: t
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55088
; Package
emacs
.
(Sun, 24 Apr 2022 11:41:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 55088 <at> debbugs.gnu.org (full text, mbox):
Aaron Jensen <aaronjensen <at> gmail.com> writes:
> I do not see any code that would do that. The only thing that sets it
> upon creating a new interactive buffer is dependent upon that command
> being run from an existing sql-mode buffer.
Yup. I've now fixed this in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 29.1, send any further explanations to
55088 <at> debbugs.gnu.org and Aaron Jensen <aaronjensen <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 24 Apr 2022 11:41:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55088
; Package
emacs
.
(Sun, 24 Apr 2022 13:49:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 55088 <at> debbugs.gnu.org (full text, mbox):
On Sun, Apr 24, 2022 at 7:39 AM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> Aaron Jensen <aaronjensen <at> gmail.com> writes:
>
> > I do not see any code that would do that. The only thing that sets it
> > upon creating a new interactive buffer is dependent upon that command
> > being run from an existing sql-mode buffer.
>
> Yup. I've now fixed this in Emacs 29.
Thank you.
Aaron
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 23 May 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.