Skip to content

(require 'php-mode) breaks rainbow-delimiters-mode + lisp-extra-font-lock-mode #280

@ghost

Description

I have no idea why but (require 'php-mode) breaks the font-lock stuff rainbow-delimiters-mode (https://github.com/Fanael/rainbow-delimiters) and lisp-extra-font-lock-mode (https://github.com/Lindydancer/lisp-extra-font-lock) bring. And that not only in php-mode but in every other mode.

Before:
2015-10-30 16_59_15-debian 8 ics gui - vmware workstation
After:
bugwo

To reproduce:

  • require php-mode
  • in your scratch buffer type '(?\) ?\])
  • turn on rainbow-delimters-mode
    -> normally the escaped parantheses are ignored and not highlighted. Now they are and the last one is marked as error
  • turn on lisp-extra-font-lock-mode
    -> normally the whole sexp should get the face lisp-extra-font-lock-quoted but now only the part between the first paren and the first escaped paren gets this face

I don't now what is happening here but it sounds like php-mode redefines some internal function used by both packages.

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