Skip to content

Unable to edit with heredoc #490

Closed
Closed
@bryan-kramer

Description

@bryan-kramer

I have inherited a file with several large heredoc blocks (SQL for use by PDO).
It is proving impossible to edit PHP code - trying to type -> or ( or enter causes php mode to fail without inserting the character. It makes editing impossible.

The messages include

Error running timer ‘show-paren-function’: (error "parse-sexp-propertize-function did not move syntax-propertize--done")
Error during redisplay: (internal--syntax-propertize 10201) signaled (error "Too much matching reentrancy")
Error during redisplay: (internal--syntax-propertize 10201) signaled (error "parse-sexp-propertize-function did not move syntax-propertize--done") [16 times]
Error during redisplay: (internal--syntax-propertize 9560) signaled (error "parse-sexp-propertize-function did not move syntax-propertize--done")

I am using commit a9ee3af but I have been seeing it before I pulled the latest.

Emacs version

GNU Emacs 27.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2018-11-30

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

    Issue actions