help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I continue to get error ob-ref: unescaped character literals


From: Stephen Berman
Subject: Re: I continue to get error ob-ref: unescaped character literals
Date: Mon, 23 Nov 2020 20:54:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Mon, 23 Nov 2020 20:28:33 +0100 Christopher Dimech <dimech@gmx.com> wrote:

>> Sent: Monday, November 23, 2020 at 8:16 PM
>> From: "Stephen Berman" <stephen.berman@gmx.net>
>> To: "Michael Heerdegen" <michael_heerdegen@web.de>
>> Cc: help-gnu-emacs@gnu.org
>> Subject: Re: I continue to get error ob-ref: unescaped character literals
>>
>> On Mon, 23 Nov 2020 13:23:30 +0100 Michael Heerdegen
>> <michael_heerdegen@web.de> wrote:
>>
>> > Stephen Berman <stephen.berman@gmx.net> writes:
>> >
>> >> It's a warning from the byte compiler that it found `?(' and `?)' in
>> >> elisp code, which should be written as `?\(' and `?\)'.  See (info
>> >> "(elisp) Basic Char Syntax"):
>> >
>> > I'm not sure if it is from compiling.  Can this warning also be raised
>> > by the reader?
>>
>> You're right, it's also raised on loading uncompiled elisp.  Thanks for
>> the correction.
>
> What's one to do about it?

The backtrace you posted had this:

Debugger entered--Lisp error: "Loading ‘ob-ref’: unescaped character literals 
`?(..."
  require(ob-ref)
  eval-buffer(#<buffer *load*-6358> nil
"/usr/share/emacs/site-lisp/org-mode/ob.el" nil t) ; Reading at buffer

So it looks like there are unescaped character literals in the version
of ob-ref.el you have in site-lisp.  Maybe it's an old version.  So you
should check if that's the case, and if so, escape them with a
backslash.

Steve Berman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]