[erlang-questions] Emacs Erlang-mode peculiarity
Kirill Zaborski
qrilka@REDACTED
Sat Nov 3 20:28:21 CET 2007
Probably you've got this snippet from Bill Clementson's blogpost, that was
discussed in the maillist some months before, you should escape emacs
metacharacters and so e.g.:
("M-?" erl-complete)
becomes:
("\M-?" erl-complete)
Best regards,
Kirill.
On 11/3/07, David Cabana <drcabana@REDACTED> wrote:
>
> I found the source of the problem, some distel configuration code I shared
> across several machines. Once I commented out these lines, all was well.
>
> ;; A number of the erlang-extended-mode key bindings are useful in the
> shell too
> ;; (defconst distel-shell-keys
> ;; '(("C-M-i" erl-complete)
> ;; ("M-?" erl-complete)
> ;; ("M-." erl-find-source-under-point)
> ;; ("M-," erl-find-source-unwind)
> ;; ("M-*" erl-find-source-unwind)
> ;; )
> ;; "Additional keys to bind when in Erlang shell.")
>
> ;; (add-hook 'erlang-shell-mode-hook
> ;; (lambda ()
> ;; ;; add some Distel bindings to the Erlang shell
> ;; (dolist (spec distel-shell-keys)
> ;; (define-key erlang-shell-mode-map (car spec) (cadr spec))))
> ;; )
>
> When I get a chance I take a look at Lauri's suggestion, to see whether I
> can fix the problem more gracefully. Thanks to everyone for your help.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071103/70b48c48/attachment.htm>
More information about the erlang-questions
mailing list