Skip to content

Pretty ?λ character caused reader error in clojure-mode.el #252

@egbulmer

Description

@egbulmer

Installed this package for the first time using M-x el-get-install cider and I see this error when I try to edit a .clj file (invalid-read-syntax "?"). I believe this is because the file is not in a unicode format and so it does not understand the lambda character. This is what I see

(defconst clojure--prettify-symbols-alist
  '(("fn"  . ?λ)))

I need to manually change it to and then save the buffer as utf-8 to resolve the issue. I'm running Emacs 24.3 on a Windows machine. Looks like the file is encoded correctly on github. I guess this means the encoding got messed up somewhere along the lines. Any thoughts on how this could happen?

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