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

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

Re: What is the value of ^@ as character in elisp


From: Kevin Rodgers
Subject: Re: What is the value of ^@ as character in elisp
Date: Wed, 11 Jul 2007 01:05:00 -0600
User-agent: Thunderbird 1.5.0.12 (Macintosh/20070509)

Slavomir Kaslev wrote:
I am new to emacs lisp and I am writing several functions to make
emacs communicate with Autodesk Maya.

I can't figure a way to get the value of ^@ as character in elisp. For
the moment I just copied the character in my .el source:

(defcustom etom-prompt-regexp "^^@$"
  "Regexp which matches the Maya's prompt."
  :type 'regexp
  :group 'etom)

where ^@ is the character, not the string "^@".

[gnu.emacs.sources is for posting code; questions such as this should be
sent to gnu.emacs.help, which is where I'm cross-posting and directing
follow-ups.]

"^\000"

See the Nonprinting Characters node of the Emacs Lisp manual, follow the
link to the Character Type node, then its General Escape Syntax subnode.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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