Skip to content

char-syntax reports a different syntax than describe-char, breaking some functionalities #82

Open
@agreselin

Description

@agreselin

Something in the syntax setup (use of syntax properties? I don't know much about this matter) causes (char-syntax (char-after)) to return a different class than describe-char or (syntax-class-to-char (syntax-class (syntax-after (point)))) for some characters, e.g. # and ". This fools forward-same-syntax (it gets stuck at # or quotes), electric-quote-local-mode and electric-pair-mode (the electric-pair-inhibit-predicate and electric-pair-text-syntax-table don’t work as expected).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @agreselin

        Issue actions

          `char-syntax` reports a different syntax than `describe-char`, breaking some functionalities · Issue #82 · emacs-gnuplot/gnuplot