all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fren Zeee <frenzeee@gmail.com>
Cc: Emacs <emacs-devel@gnu.org>
Subject: Non hex digit used for Unicode escape
Date: Thu, 11 Nov 2010 14:00:36 -0800	[thread overview]
Message-ID: <AANLkTikMDwOUMC8W0BUSo1PeqSx1qZ1TRmtVZj_AgR+2@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

I am not sure if my first message got to the mailing list and I am trying
again. Apology in advance for duplication.

Subject: Non hex digit used for Unicode escape


Warning (initialization): An error occurred while loading
`/home/frenzee/.emacs':
error: Non-hex digit used for Unicode escape
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.


I just upgraded my emacs to the latest version on unix and this is the
error.

I ran the --debug-init and went to each file point position and the main
thing appears to be some double \\

How to automatically fix all my .emacs files and their entries ? I think
there are some commands like

The following post discusses the problem but gives no example of a good
solution on what is the replacement :

Hi!

> It's the line (setq default-directory "C:\Users\Charles") thats
> causing the problem. (cd "C:\Users\Charles") raised the same error
> too.


You have to escape backslashes in strings like this:

  (cd "C:\\Users\\Charles")

See (info "(emacs) Init Syntax") for some more hints.

Regards,

Anselm
-- 
Anselm Helbig
mailto:anselm.helbig+news2...@googlemail.com<anselm.helbig+news2...@googlemail.com>

[-- Attachment #2: Type: text/html, Size: 1568 bytes --]

             reply	other threads:[~2010-11-11 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 22:00 Fren Zeee [this message]
2010-11-12  1:06 ` Non hex digit used for Unicode escape PJ Weisberg

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

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

  git send-email \
    --in-reply-to=AANLkTikMDwOUMC8W0BUSo1PeqSx1qZ1TRmtVZj_AgR+2@mail.gmail.com \
    --to=frenzeee@gmail.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.