<div dir="ltr">This fix just expands the backquote/unquote forms by hand. I have here a better fix (I think) which uses the "new" backquote style. This has been around a long while, and is compatible with Common Lisp backquote. We'll see if it makes it through, I have also included the file.<br>
<br>Compiling erlang.el with Emacs 22.1 also gives some obsolete functions, but they seem to be for this version of Emacs.<br><br>Robert<br><br>*** erlang.el.orig Thu Oct 16 21:33:08 2008<br>--- erlang.el Thu Oct 16 21:36:45 2008<br>
***************<br>*** 1891,1895 ****<br> "(unless CONDITION BODY...): If CONDITION is false, do BODY, else return nil."<br>! (` (if (, condition) <br>! nil <br>! (,@ body)))))<br> <br>
--- 1891,1895 ----<br> "(unless CONDITION BODY...): If CONDITION is false, do BODY, else return nil."<br>! `(if ,condition <br>! nil <br>! ,@body)))<br> <br>***************<br>*** 1898,1902 ****<br>
"(when CONDITION BODY...): If CONDITION is true, do BODY, else return nil."<br>! (` (if (, condition)<br>! (progn (,@ body)) <br>! nil))))<br> <br>--- 1898,1902 ----<br> "(when CONDITION BODY...): If CONDITION is true, do BODY, else return nil."<br>
! `(if ,condition<br>! (progn ,@body)<br>! nil)))<br> <br>***************<br>*** 1905,1907 ****<br> "Return the character in the current buffer just before POS."<br>! (` (char-after (1- (or (, pos) (point)))))))<br>
<br>--- 1905,1907 ----<br> "Return the character in the current buffer just before POS."<br>! `(char-after (1- (or ,pos (point))))))<br><br><br><div class="gmail_quote">2008/10/16 Balint Reczey <span dir="ltr"><<a href="mailto:Balint.Reczey@ericsson.com">Balint.Reczey@ericsson.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
I tried to submit the patch to erlang-bugs several times, but somehow it<br>
did not get through the spam filter/listadmin. :-(<br>
<br>
You can find the patch here:<br>
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494823" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494823</a><br>
<br>
Regards,<br>
Balint<br>
<br>
2008. 10. 16, csütörtök keltezéssel 09.12-kor Sergey A. ezt írta:<br>
<div><div></div><div class="Wj3C7c">> Hello.<br>
><br>
> The latest Emacs from CVS doesn't like the backuotes from erlang.el<br>
> --<br>
><br>
> When I open any *.erl file in my emacs then the following warning<br>
> message is shown:<br>
><br>
> "Loading `erlang': old-style backquotes detected!"<br>
><br>
> I know this bug is of little importance, but maybe there is an easy<br>
> way to modify the erlang.el in such a way that all backquotes become<br>
> correct.<br>
><br>
> Unfortunately, I have not got working knowledge of Lisp and don't know<br>
> what "backquotes" are :(<br>
><br>
> I use erlang.el coming with Erlang R12B.3 and the latest emacs from<br>
> CVS (v23.0.60.1).<br>
><br>
> Thanks.<br>
><br>
> --<br>
> Sergey<br>
> _______________________________________________<br>
> erlang-bugs mailing list<br>
> <a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
> <a href="http://www.erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-bugs</a><br>
_______________________________________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-bugs</a></div></div></blockquote></div><br></div>