Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sp-forward-sexp, etc confused by ? in scheme-mode #1140

Open
jasonhemann opened this issue Nov 30, 2022 · 0 comments
Open

sp-forward-sexp, etc confused by ? in scheme-mode #1140

jasonhemann opened this issue Nov 30, 2022 · 0 comments

Comments

@jasonhemann
Copy link

Expected behavior

In a scheme-mode buffer containing only

((?))

M-x goto-char 6
M-x sp-forward-sexp

I would expect the point to be at the very first character.

Actual behavior

Instead, on my system, it is on the second.

Steps to reproduce the problem

I start up emacs -Q
Using straight.el, I enable and start up smartparens

(use-package smartparens
  :straight t
  :init 
  (require 'smartparens-config)
  :config
  (smartparens-global-mode)
  (sp-use-paredit-bindings)
  :hook ((prog-mode text-mode) . turn-on-smartparens-strict-mode))

I build a buffer like I described above
then switch to M-x scheme-mode

Backtraces if necessary (M-x toggle-debug-on-error)

Environment & version information

In recent enough smartparens you can call M-x sp-describe-system to generate this report. Please fill manually what we could not detect automatically. Edit the output as you see fit to protect your privacy.

Probably unrelated, but I see an error trying to use sp-describe-system; after I enter an answer for Starterkit/Distribution used, I see the message Symbol’s value as variable is void: package-alist.

  • smartparens version: commit hash 8b6a3c3
  • Active major-mode: scheme-mode
  • Emacs version (M-x emacs-version): GNU Emacs 28.2 (build 1, x86_64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6) of 2022-09-14
  • Spacemacs/Evil/Other starterkit (specify which)/Vanilla: Vanilla
  • OS: MacOS Monterey 12.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

1 participant