unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: I continue to get error ob-ref: unescaped character literals
Date: Mon, 23 Nov 2020 09:28:19 +0100	[thread overview]
Message-ID: <87a6v8jx3w.fsf@gmx.net> (raw)
In-Reply-To: <trinity-b05d7c6b-5346-439e-afca-47ffe29ac1ac-1606102627785@3c-app-mailcom-bs01> (Christopher Dimech's message of "Mon, 23 Nov 2020 04:37:07 +0100")

On Mon, 23 Nov 2020 04:37:07 +0100 Christopher Dimech <dimech@gmx.com> wrote:

> I am continually getting the following error.  What is it?
>
> Loading ‘ob-ref’: unescaped character literals `?(', `?)' detected, `?\(',
> `?\)' expected!

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"):

  The usual read syntax for alphanumeric characters is a question mark
  followed by the character; thus, ‘?A’ for the character ‘A’, ‘?B’ for
  the character ‘B’, and ‘?a’ for the character ‘a’.
  [...]
     You can use the same syntax for punctuation characters.  However, if
  the punctuation character has a special syntactic meaning in Lisp, you
  must quote it with a ‘\’.  For example, ‘?\(’ is the way to write the
  open-paren character. [...]

Steve Berman



  reply	other threads:[~2020-11-23  8:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23  3:37 I continue to get error ob-ref: unescaped character literals Christopher Dimech
2020-11-23  8:28 ` Stephen Berman [this message]
2020-11-23 12:23   ` Michael Heerdegen
2020-11-23 12:30     ` Christopher Dimech
2020-11-23 12:42       ` Michael Heerdegen
2020-11-23 13:14         ` Christopher Dimech
2020-11-23 13:26           ` Michael Heerdegen
2020-11-23 13:32             ` Christopher Dimech
2020-11-23 13:54               ` Michael Heerdegen
2020-11-23 14:26                 ` Christopher Dimech
2020-11-23 14:34                   ` Michael Heerdegen
2020-11-23 14:45                     ` Christopher Dimech
2020-11-23 15:40           ` Nick Dokos
2020-11-23 19:16     ` Stephen Berman
2020-11-23 19:28       ` Christopher Dimech
2020-11-23 19:54         ` Stephen Berman
2020-11-23 20:58           ` Christopher Dimech
2020-11-23 21:41             ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6v8jx3w.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).