Home > debugger entered lisp > debugger entered-lisp error error non-hex digit used for unicode escape

Debugger Entered-lisp Error Error Non-hex Digit Used For Unicode Escape

Unicode escape Date: Sat, 9 May 2009 13:28:03 +0100 It's the line (setq default-directory "C:\Users\Charles") thats causing the problem. (cd "C:\Users\Charles") raised the same error too. 2009/5/9 Charlie Turner : > Hello, > > Running Windows Vista 64 bit, service pack 1 > GNU Emacs 22.2.1 (i386-mingw-nt6.0.6001) > > I get the above error message in my *Messages* buffer on startup. Here > is the version I get when I run "runemacs.exe --debug-init": > > Debugger entered--Lisp error: (error "Non-hex digit used for Unicode escape") >  eval-buffer(# nil > "c:/Users/Charles/.emacs.d/init.el" nil t)  ; Reading at buffer > position 46 >  load-with-code-conversion("c:/Users/Charles/.emacs.d/init.el" > "c:/Users/Charles/.emacs.d/init.el" t t) >  load("c:/Users/Charles/.emacs.d/init" t t) >  #[nil " พ > > Contents of c:/Users/Charles/.emacs.d/init.el > > (server-start) > (setq default-directory "C:\Users\Charles") > (setq inhibit-startup-message t) > (fset 'yes-or-no-p 'y-or-n-p) > (setq make-backup-files nil) > > Thank you for your time. > > Regards, > > -- > Charlie Turner. > -- Charlie Turner. reply via email to [Prev in Thread] Current Thread [Next in Thread] error: Non-hex digit used for Unicode escape, Charlie Turner, 2009/05/09 Re: error: Non-hex digit used for Unicode escape, Charlie Turner<= Message not available Re: error: Non-hex digit used for Unicode escape, Anselm Helbig, 2009/05/10 Prev by Date: error: Non-hex digit used for Unicode escape Next by Date: Re: remote file editing over ssh with emacs 22.3.1 on Windows Previous by thread: error: Non-hex digit used for Unicode escape Next by thread: Re: error: Non-hex digit used for Unicode escape Index(es): Date Thread

"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+news2009@xxxxxxxxxxxxxx Thread at a glance: Previous Message by Date: New dedicated frame for emacsclient session I'm using Emacs 22 and I want all emacsclient editing sessions to open a new frame for the file. Then, after "C-x #", the frame should be automatically closed. I pretty quickly came up with this: (setq server-window 'tl/server-new-frame) (defun tl/server-new-frame (buffer) (let ((pop-up-frames t)) (set-window-dedicated-p (get-buffer-window (pop-to-buffer buffer)) t))) And it actually https://lists.gnu.org/archive/html/help-gnu-emacs/2009-05/msg00145.html works. I'm still a newbie with Emacs Lisp so I'd like to ask from the more experienced programmers around here if my code has some corner cases which makes it fail in some situations. I noticed that Emacswiki has totally different solution: http://www.emacswiki.org/emacs/EmacsClient#toc14 Next Message by Date: Re: remote file editing over ssh with emacs 22.3.1 on Windows On Sat, May 09 2009, Chris Withers wrote: > http://osdir.com/ml/help-gnu-emacs-gnu/2009-05/msg00173.html Does Tramp have its own mailing list anywhere? http://dir.gmane.org/gmane.emacs.tramp http://lists.gnu.org/archive/html/tramp-devel/ http://savannah.gnu.org/projects/tramp Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ Previous Message by Thread: Re: error: Non-hex digit used for Unicode escape It's the line (setq default-directory "C:\Users\Charles") thats causing the problem. (cd "C:\Users\Charles") raised the same error too. 2009/5/9 Charlie Turner : > Hello, > > Running Windows Vista 64 bit, service pack 1 > GNU Emacs 22.2.1 (i386-mingw-nt6.0.6001) > > I get the above error message in my *Messages* buffer on startup. Here > is the version I get when I run "runemacs.exe --debug-init": > > Debugger entered--Lisp error: (error "Non-hex digit used for Unicode escape") > eval-buffer(# nil > "c:/Users/Charles/.emacs.d/init.el" nil t) ; Reading at buffer > position 46 > load-with-code-conversion("c:/Users/Charles/.emacs.d/init.el" > "c:/Users/Charles/.emacs.d/init.el" t t) > load("c:/Users/Charles/.emacs.d/init" t t) > #[nil " > > Contents of c:/Users/Charles/.emacs.d/init.el > > (server-start) > (setq default-directory "C:\Users\Charles") > (setq inhibit-startup-message t) > (fset 'yes-or-no-p 'y-or-n-p) > (setq make-backup-files nil) > > Thank you for your time. > > Regards, > > -- > Charlie Turner. > -- Charlie Turner. Next Message by Thread: Draw a solid horizontal line in a buffer Is th

In emacs lisp string, you can have Unicode characters directly (➢ for example: "I ♥ 😸"), or, you can represent Unicode char by the following syntax: "\uxxxx" http://ergoemacs.org/emacs/elisp_unicode_representation_in_string.html → A Unicode char. xxxx must be 4 hexadecimal digits, representing the char's codepoint http://hyperpolyglot.org/text-mode-editors in hex. You need to pad it with 0 if the codepoint is less than 4 hex digits. "\U00xxxxxx" → A Unicode char. xxxxxx must be 6 hexadecimal digits, representing the char's codepoint in hex. You need to pad it with 0 if the codepoint is less than 6 hex digits. Note: the syntax debugger entered-lisp is a bit ugly. Which one to use depends on whether the Unicode is in the range of 0 to 4 hex digits. (Each Unicode char is given a integer id, called its “codepoint”. 〔➤see Unicode Basics: What's Character Set, Character Encoding, UTF-8?〕) ;; examples of Unicode char representation in string ;; lower case “a” (search-forward "\u0061" ) ;; ♥ BLACK HEART SUIT codepoint 9829, #x2665 (search-forward "\u2665" ) ;; debugger entered-lisp error 😸 GRINNING CAT FACE WITH SMILING EYES codepoint 128568, #x1f638 (search-forward "\U0001f638" ) ;; ♥ 😸 in the above example, the letter a's Unicode hex is just “61”, so you need to pad it with “00”. in the above example, the grinning cat 😸's codepoint in hex is 5 digits. So, you need to use the "\U00xxxxxx" form, and because it's less than 6 digits, so you need to pad it with “0”, resulting “000” there. Note: you can find a Unicode char's codepoint by calling describe-char. 〔➤see Emacs: Unicode Tutorial〕 Why is Encoded Unicode Char Useful? The use of encoded representation is useful when you want to represent non-printable chars, such as {RIGHT-TO-LEFT MARK, ZERO WIDTH NO-BREAK SPACE, NO-BREAK SPACE}. Example: (defun replace-BOM-mark-etc () "Query replace some invisible Unicode chars. The chars to be searched are: RIGHT-TO-LEFT MARK 8207 x200f ZERO WIDTH NO-BREAK SPACE 65279 xfeff start on cursor position to end." (interactive) (query-replace-regexp "\u200f\\|\ufeff" "")) see Unicode BOM Byte Order Mark Hack Annoying Invisible ZERO WIDTH NO-BREAK SPACE Character from Google Plus, Twitter (info "(elisp) General Escape Syntax") Emacs: Regex Tutorial Emacs: Unicode Tutorial Like it? Buy Xah Emacs Tutorial. ♥ Thanks. or, buy something from my keyboard store. ∑XAH ErgoEmacs© 2006, …, 2016

| panes | macros | ascii art | org | input methods | encodings | help dev tools: browse files | shell | grep | tags | diff | git | compile | debug | lisp interaction | syntax highlighting programming: variables | arithmetic and logic | strings | lists | dictionaries | functions | execution control | libraries and namespaces other topics: documentation | terminology | line editors | bindings in other apps startup vim emacs nano launch  $ vim $ emacs $ nano open file  $ vim file $ emacs file $ nano file open file on line 100  $ vim +100 file $ emacs +100 file $ nano +100 file open file on column 20 of line 100  $ vim +100 -c 'normal 20|' file $ emacs +100:20 file $ nano +100,20 file open file in read-only mode  $ vim -R file $ nano -v file open multiple files  $ vim file1 file2 …only first file is displayed; use :bn and :bp to change buffers; :ls to list buffers $ emacs file1 file2 …window is split into two panes; if more than two files, one of the panes is a buffer list; use C-x o to switch panes; use C-x b to switch buffers $ nano file1 file2 …only first file is displayed; use M-> and M-< to change buffers open directory  $ vim dir $ emacs dir startup file ~/.vimrc ~/.emacs ~/.emacs.el ~/.emacs.d/init.el ~/.nanorc skip startup file  $ vim -u NONE $ emacs -q $ nano -I text editing vim emacs emacs nano show version  :version M-x emacs-version redraw display  C-l M-x redraw-display insert 'x' insert mode: x x x insert by unicode point insert mode: C-v u 03c0 C-x 8 RET 03c0 RET M-x ucs-insert 03c0 RET insert by unicode name  C-x 8 RET greek small letter pi RET M-x ucs-insert greek small letter pi RET get unicode point  M-x describe-char cancel  ESC C-g M-x keyboard-quit insert control character  C-v char C-q char M-x quoted-insert char M-v insert newline  C-v RET C-q C-j auto complete C-n C-p M-/ M-x hippie-expand repeat next command n times  n C-u n M-x universal-argument n repeat 4 times  4 C-u M-x universal-argument repeat 16 times  16 C-u C-u font size  use menu or OS C-x C-=, C-x C-- M-x text-scale-adjust exit  :q C-x C-c M-x save-buffers-kill-terminal C-x save changes and exit ZZ :wq C-x C-s C-x C-c M-x save-buffer M-x save-buffers-kill-terminal discard changes and exit  :q! M-x kill-emacs mode vim emacs emacs nano change mode normal to insert: a, i, o, Oback to normal: ESC M-x mode-name show mode  insert, visual, select, and replace indicated on bottom line displayed on mode line M-: major-mode mode documentation  C-h

 

Related content

debugger entered-lisp error end-of-file

Debugger Entered-lisp Error End-of-file p Sign in Pricing Blog Support Search relatedl GitHub option form This repository Watch Star emacs debugger Fork gregsexton ob-ipython Code Issues Pull requests spacemacs Projects Pulse Graphs New issue make client process fails on WIndows Closed ajsteven opened this Issue Jun middot comments Projects None yet option form Labels None yet option form Milestone No milestone option form Assignees No one assigned participants ajsteven commented Jun Hello First thanks for the awesome package I am using Emacs on Windows with Python and Ipython I installed ob-ipython from master it does not appear to be on

debugger entered-lisp error void-function c-lang-const

Debugger Entered-lisp Error Void-function C-lang-const p Sign in Pricing relatedl Blog Support Search GitHub option form This repository Watch Star Fork purcell emacs d Code Issues Pull requests Projects Wiki Pulse Graphs New issue flycheck update problem Closed causlayer opened this Issue Dec middot comments Projects None yet option form Labels None yet option form Milestone No milestone option form Assignees No one assigned participants causlayer commented Dec update results Debugger entered--Lisp error void-function flycheck-set-checker-properties flycheck-set-checker-properties haskell-hdevtools flycheck-documentation A Haskell syntax and type checker using hdevtools n nSee URL https github com bitc hdevtools' flycheck-executable-var flycheck-haskell-hdevtools-executable flycheck-command hdevtools check -g

debugger entered-lisp error void-function define

Debugger Entered-lisp Error Void-function Define p Example with Decrementing Counter for a discussion However your function definition has a bug You have mistyped lsquo rsquo for lsquo - rsquo Here is relatedl the broken definition defun triangle-bugged number Return sum of numbers through NUMBER inclusive let total while number setq total total number setq number number Error here total If you are reading this in Info you can evaluate this definition in the normal fashion You will see triangle-bugged appear in the echo area Now evaluate the triangle-bugged function with an argument of triangle-bugged In a recent GNU Emacs you

debugger entered-lisp error void-variable doctype

Debugger Entered-lisp Error Void-variable Doctype p when loading bookmark Date Mon Mar - PDT Teemu relatedl Likonen- wrote - - - epowell wrote I just tried to load the bookmark package for the first time I downloaded all the el files listed on the wiki and put the require statement in my emacs file My emacs version is Below is the error I got Debugger entered--Lisp error void-variable DOCTYPE You downloaded an HTML file with a DOCTYPE header Maybe that file contains the actual Emacs Lisp file Thank you Teemu It works perfectly now This forum always saves me even

debugger entered-lisp error invalid-read-syntax

Debugger Entered-lisp Error Invalid-read-syntax p Sign in Pricing relatedl Blog Support Search GitHub option form This repository Watch Star Fork joaotavora yasnippet Code Issues Pull requests Projects Pulse Graphs New issue snippets go-mode default Invalid Read Syntax on Emacs development Closed rye opened this Issue Oct middot comments Projects None yet option form Labels None yet option form Milestone No milestone option form Assignees No one assigned participants rye commented Oct I'm currently running a version of Emacs that updates nightly to the latest Emacs version of the Git clone of the BZR repo Today I noticed a problem with

debugger entered-lisp error void-function defined

Debugger Entered-lisp Error Void-function Defined p Example with Decrementing Counter for a discussion However your function definition has a bug You have mistyped lsquo rsquo for lsquo - rsquo Here relatedl is the broken definition defun triangle-bugged number Return sum debugger entered--lisp error void-variable of numbers through NUMBER inclusive let total while number setq emacs symbol s function definition is void total total number setq number number Error here total If you are reading this in Info you spacemacs can evaluate this definition in the normal fashion You will see triangle-bugged appear in the echo area Now evaluate the triangle-bugged

debugger entered-lisp error void-variable oad-path

Debugger Entered-lisp Error Void-variable Oad-path p Sign in Pricing Blog Support Search GitHub option form This repository relatedl Watch Star Fork syl bnr spacemacs Code custom-theme-load-path Issues Pull requests Projects Wiki Pulse Graphs emacs themes New issue Error Symbol's value as variable is void closed Closed huchhong opened this Issue Apr middot comments Projects None yet option form Labels - Forum - Install option form Milestone No milestone option form Assignees No one assigned participants huchhong commented Apr I was trying to install spacemacs During installation an error arised Symbol's value as variable is void closed I searched similar errors

debugger entered-lisp error void-variable cedet-menu-map

Debugger Entered-lisp Error Void-variable Cedet-menu-map p experimenting with our plus addition In the following expression put your cursor right after the before the first number type C-x C-e In GNU Emacs you will create a Backtrace buffer that says ---------- Buffer Backtrace ---------- Debugger entered--Lisp error void-variable eval eval-last-sexp- nil eval-last-sexp nil call-interactively eval-last-sexp ---------- Buffer Backtrace ---------- Again you can quit the debugger by typing q in the Backtrace buffer This backtrace is different from the very first error message we saw which said lsquo Debugger entered--Lisp error void-function this rsquo In this case the function does not have

debugger entered-lisp error void-variable package-archives

Debugger Entered-lisp Error Void-variable Package-archives table id toc tbody tr td div id toctitle Contents div ul li a href Custom-theme-load-path a li ul td tr tbody table p Sign in Pricing relatedl Blog Support Search GitHub option form This p h id Custom-theme-load-path p repository Watch Star Fork xiaohanyu oh-my-emacs Code emacs color theme Issues Pull requests Projects Pulse Graphs New issue Debugger entered--Lisp emacs themes error void-variable DOCTYPE Closed dadaphl opened this Issue May middot comments Projects None yet option form Labels upstream-bug-maybe option form Milestone No milestone option form Assignees No one assigned participants dadaphl commented May

debugger entered-lisp error void-function javascript-mode

Debugger Entered-lisp Error Void-function Javascript-mode table id toc tbody tr td div id toctitle Contents div ul li a href Gv-define-simple-setter a li li a href Symbol s Function Definition Is Void a li ul td tr tbody table p quick overview of the site Help relatedl Center Detailed answers to any questions you spacemacs update packages might have Meta Discuss the workings and policies of this p h id Gv-define-simple-setter p site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers emacs gv-define-simple-setter or posting ads with us Emacs Questions Tags Users Badges

debugger entered-lisp error void-variable

Debugger Entered-lisp Error Void-variable p Sign in Pricing Blog Support Search GitHub option form This repository Watch Star Fork magnars multiple-cursors el Code Issues relatedl Pull requests Projects Pulse Graphs New issue Debugger entered--Lisp error void-variable xxxx Closed jccode opened this Issue May middot comments Projects None yet option form Labels None yet option form Milestone No milestone option form Assignees No one assigned participants jccode commented May Hi magnars when I use the multiple-cursor I found some warning messages Could you help to find out the cause of this The steps to turn out this warning messages Turn on

debugger entered-lisp error void-function scroll-bar-mode

Debugger Entered-lisp Error Void-function Scroll-bar-mode p entered--Lisp error void-function package-desc-vers Date Sat Feb User-agent relatedl Gnus Gnus v Emacs gnu linux M-x list-packages RET fails for me with the following backtrace It works fine with -- ---------------cut here---------------start------------- --- Debugger entered--Lisp error void-function package-desc-vers package-desc-vers nil Interface to ack-like source code search tools tar keywords quote tools processes convenience url https github com leoliu ack-el ad-Advice-package--add-to-archive-contents package-archive-contents package-pinned-packages package--builtin-versions package-alist cl-struct-package-desc-tags vector cl-struct-package-desc nil assoc version-list- error s accessing a non- s package-desc-version package-desc version-list- home jtocancipa local src emacs git orig lisp emacs-lisp package elc ack nil Interface to

debugger entered-lisp error void-function eruby-nxhtml-mumamo

Debugger Entered-lisp Error Void-function Eruby-nxhtml-mumamo p Sign in Pricing Blog Support Search GitHub option form This repository Watch Star Fork bbatsov prelude Code Issues Pull requests Projects Wiki Pulse Graphs New issue Debugger entered--Lisp error void-function filename Closed pigmej opened this Issue Apr middot comments Projects None yet option form Labels None yet option form Milestone No milestone option form Assignees No one assigned participants pigmej commented Apr Debugger entered--Lisp error void-function filename filename home pigmej emacs d elpa flycheck- flycheck elc flycheck--declare-checker- bash A Bash syntax checker using the bash executable n nSee URL http www gnu org software

debugger entered-lisp error void-variable system

Debugger Entered-lisp Error Void-variable System p Sign in Pricing Blog Support Search GitHub option form This repository relatedl Watch Star Fork syl bnr spacemacs Code emacs Issues Pull requests Projects Wiki Pulse Graphs New spacemacs issue Error Symbol's value as variable is void closed Closed huchhong opened this Issue Apr middot comments Projects None yet option form Labels - Forum - Install option form Milestone No milestone option form Assignees No one assigned participants huchhong commented Apr I was trying to install spacemacs During installation an error arised Symbol's value as variable is void closed I searched similar errors and