Timeline for how to disable auto quote and parens completion (in sql-mode)
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 28 at 12:57 | history | edited | NickD | CC BY-SA 4.0 | added 8 characters in body |
| Aug 28 at 5:18 | comment | added | NickD | See the edited answer: the (use-package emacs ... :hook ((prog-mode . electric-pair-mode))) is the culprit. | |
| Aug 28 at 5:17 | history | edited | NickD | CC BY-SA 4.0 | added 1438 characters in body |
| Aug 28 at 3:37 | vote | accept | gknauth | ||
| Aug 28 at 3:37 | comment | added | gknauth | (add-hook 'sql-mode-hook (lambda () (electric-pair-mode -1)) 99) seems to have done the trick, thanks | |
| Aug 28 at 3:33 | comment | added | gknauth | I did see in an init file (use-package emacs ... :hook ((prog-mode . electric-pair-mode))) | |
| Aug 28 at 3:27 | comment | added | gknauth | ... show-paren-mode tab-bar-mode tooltip-mode transient-mark-mode vertico-mode which-key-mode . I see electric-pair-mode in there so I'm guessing the code you provided in this answer would take care of the paren issue. I'll try that. | |
| Aug 28 at 3:25 | comment | added | gknauth | I didn't make any changes to sql-mode. As to minor modes, I see local minor modes: auto-save-mode corfu-mode display-line-numbers-mode font-lock-mode, and global minor modes: auto-encryption-mode column-number-mode context-menu-mode corfu-popupinfo-mode csv-field-index-mode display-time-mode eat-eshell-mode eat-eshell-visual-command-mode electric-indent-mode electric-pair-mode file-name-shadow-mode global-auto-revert-mode global-corfu-mode global-eldoc-mode global-font-lock-mode line-number-mode marginalia-mode menu-bar-mode minibuffer-regexp-mode pixel-scroll-precision-mode savehist-mode ... | |
| Aug 28 at 2:47 | history | answered | NickD | CC BY-SA 4.0 |