unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* "Error: Non-hex digit used for Unicode escape"
@ 2006-06-21 20:58 Andrew M. Scott
  2006-06-22  3:22 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew M. Scott @ 2006-06-21 20:58 UTC (permalink / raw
  Cc: amscott1

I downloaded Ilya's latest (v5.19) cperl-mode.el from
http://math.berkeley.edu/~ilya/software/emacs/cperl-mode.el.5.19.bz2
today.

bunzip2'ing and byte-compiling it on a June 21, 2006 Emacs CVS
snapshot and build gives this error in *Compile-Log*:

cperl-mode.el:8825:1:Error: Non-hex digit used for Unicode escape

I then tried some older CVS Emacs builds. I see the error beginning in
my June 12, 2006 CVS build but *not* in my June 8, 2006 CVS Emacs
build.

Cheers,
Andy Scott


In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2006-06-21 on chlr6710
X server distributor `The XFree86 Project, Inc', version 11.0.40201000
configured using `configure '--prefix=/stor/garray/linux_2.6.5_x86-64' '--x-includes=/usr/intel/pkgs/X11/R6.7.0-64/include' '--x-libraries=/usr/intel/pkgs/X11/R6.7.0-64/lib' 'CC=gcc' 'CFLAGS=-O2 -I/usr/intel/pkgs/X11/R6.7.0-64/include -L/usr/intel/pkgs/X11/R6.7.0-64/lib -I/usr/intel/pkgs/zlib/1.2.1-64/include -L/usr/intel/pkgs/zlib/1.2.1-64/lib  -I/usr/intel/pkgs/ncurses/5.4/include -L/usr/intel/pkgs/ncurses/5.4/lib -I/usr/intel/pkgs/libungif/4.1.3/include -L/usr/intel/pkgs/libungif/4.1.3/lib -I/usr/intel/pkgs/libpng/1.0.16rc1-64/include -L/usr/intel/pkgs/libpng/1.0.16rc1-64/lib -I/usr/intel/pkgs/jpeg/6b-64/include -L/usr/intel/pkgs/jpeg/6b-64/lib' 'LDFLAGS=-L/usr/intel/pkgs/X11/R6.7.0-64/lib -L/usr/intel/pkgs/zlib/1.2.1-64/lib -L/usr/intel/pkgs/ncurses/5.4/lib -L/usr/intel/pkgs/libungif/4.1.3/lib -L/usr/intel/pkgs/libpng/1.0.16rc1-64/lib -L/usr/intel/pkgs/jpeg/6b-64/lib -Wl,-rpath=/usr/
 intel/pkgs/X11/R6.7.0-64/lib:/usr/intel/pkgs/zlib/1.2.1-64/lib:/usr/intel/pkgs/ncurses/5.!
 4/lib:/usr/intel/pkgs/libungif/4.1.3/lib:/usr/intel/pkgs/libpng/1.0.16rc1-64/lib:/usr/intel/pkgs/jpeg/6b-64/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "Error: Non-hex digit used for Unicode escape"
  2006-06-21 20:58 "Error: Non-hex digit used for Unicode escape" Andrew M. Scott
@ 2006-06-22  3:22 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2006-06-22  3:22 UTC (permalink / raw
  Cc: emacs-devel

> Date: Wed, 21 Jun 2006 13:58:22 -0700
> From: "Andrew M. Scott" <amscott1@sedona.ch.intel.com>
> Cc: amscott1@sedona.ch.intel.com
> 
> I downloaded Ilya's latest (v5.19) cperl-mode.el from
> http://math.berkeley.edu/~ilya/software/emacs/cperl-mode.el.5.19.bz2
> today.
> 
> bunzip2'ing and byte-compiling it on a June 21, 2006 Emacs CVS
> snapshot and build gives this error in *Compile-Log*:
> 
> cperl-mode.el:8825:1:Error: Non-hex digit used for Unicode escape

That version of cperl-mode.el needs this patch:

--- cperl-mode.el.~1~	2006-06-01 15:13:22.000000000 +0300
+++ cperl-mode.el	2006-06-22 06:21:03.218750000 +0300
@@ -8963,8 +8963,8 @@
 \\  Creates reference to what follows, like \$var, or quotes non-\w in strings.
 \\0	Octal char, e.g. \\033.
 \\E	Case modification terminator.  See \\Q, \\L, and \\U.
-\\L	Lowercase until \\E .  See also \l, lc.
-\\U	Upcase until \\E .  See also \u, uc.
+\\L	Lowercase until \\E .  See also \\l, lc.
+\\U	Upcase until \\E .  See also \\u, uc.
 \\Q	Quote metacharacters until \\E .  See also quotemeta.
 \\a	Alarm character (octal 007).
 \\b	Backspace character (octal 010).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-22  3:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21 20:58 "Error: Non-hex digit used for Unicode escape" Andrew M. Scott
2006-06-22  3:22 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).