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.:<br>("M-?" erl-complete)<span style="font-weight: bold;">
<br></span>becomes:<br>("\M-?" erl-complete)<br><br>Best regards,<br>Kirill.<br><span style="font-weight: bold;"></span><br><div><span class="gmail_quote">On 11/3/07, <b class="gmail_sendername">David Cabana</b>
<<a href="mailto:drcabana@gmail.com">drcabana@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.
<br><br>;; A number of the erlang-extended-mode key bindings are useful in the shell too
<br>;; (defconst distel-shell-keys<br>;; '(("C-M-i" erl-complete)<br>;; ("M-?" erl-complete)<br>;; ("M-." erl-find-source-under-point)<br>;; ("M-," erl-find-source-unwind)
<br>;; ("M-*" erl-find-source-unwind)<br>;; )<br>;; "Additional keys to bind when in Erlang shell.")<br><br>;; (add-hook 'erlang-shell-mode-hook<br>;; (lambda ()<br>;; ;; add some Distel bindings to the Erlang shell
<br>;; (dolist (spec distel-shell-keys)<br>;; (define-key erlang-shell-mode-map (car spec) (cadr spec))))<br>;; )<br><br>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.
<br><br>
<br>_______________________________________________<br>erlang-questions mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>