From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bolega Newsgroups: gmane.emacs.help Subject: How do I convert hex numbers to decimal ? Date: Sun, 6 Sep 2009 18:03:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1bfadfca-66ba-4aec-bb90-eb3a460c660c@l13g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1252287650 12247 80.91.229.12 (7 Sep 2009 01:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 01:40:50 +0000 (UTC) Cc: gnuist006@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 03:40:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkTDm-0004yE-Ks for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 03:40:42 +0200 Original-Received: from localhost ([127.0.0.1]:41031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkTDl-0003Jb-WE for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 21:40:42 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!l13g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.lang.lisp,comp.unix.shell Original-Lines: 16 Original-NNTP-Posting-Host: 75.28.105.11 Original-X-Trace: posting.google.com 1252285455 30911 127.0.0.1 (7 Sep 2009 01:04:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 7 Sep 2009 01:04:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l13g2000yqb.googlegroups.com; posting-host=75.28.105.11; posting-account=REkl4woAAABFXaU7nL79XtGpnmNCQ415 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172780 comp.lang.lisp:274996 comp.unix.shell:229710 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67920 Archived-At: I have a bunch of related questions, but the solution is desired in emacs lisp and to work inside emacs only. 1) How do I convert hex numbers to decimal ? 2) How do I convert ascii to the character that it represents, short of a table ? Any function or simpler algorithm ? 3) What are the variables and how to set their values ? read-quoted-char-radix quoted-char-radix 4) How do i find the emacs lisp code for C-x = to see how it gives the ascii of the char at the cursor and then use to find the reverse, ie ascii to char ? Thanks a lot to the star who can explain.