From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: Extended ascii characters in emacs lisp Date: Fri, 20 Apr 2012 16:25:08 -0700 Message-ID: References: <4F91D6FE.50406@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334964320 17966 80.91.229.3 (20 Apr 2012 23:25:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2012 23:25:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Richard H Lee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 21 01:25:19 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SLNCZ-0001tc-Gs for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 01:25:19 +0200 Original-Received: from localhost ([::1]:54750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLNCY-00046U-I1 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 19:25:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLNCS-00046E-Vn for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 19:25:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLNCR-0005bf-80 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 19:25:12 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:41440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLNCQ-0005bY-V1 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 19:25:11 -0400 Original-Received: by wgbdr1 with SMTP id dr1so7515964wgb.30 for ; Fri, 20 Apr 2012 16:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SRbAHs/dadidIFqdVZmypVi9cIqGaomt2dTmaTLHOiQ=; b=TnJmucFh+2lgyqFsu5Ajos3SdsxIu7dD9oQHRb6qinzLlloQz3iretGl4ndgq/xsBh wdBZmqhdzuzSYHfLB1fMWYvLpO+fQYFm3uWw0vEReIjEgMgibNPM0NFxIzhXnAPb1g6A rwxMzv82GpJgolYiny8oLpXd5iPmMErB69mLOG5L0bBkuWhXJZLdMdp7y+gsP1cPlEdt WXJWCEndTJjSqtw0LgxY+24KTgW9S3trUmqtVPxlWpKhxgCVMmcXYDi1ZYP2F82gMbS3 VE8iZOMCHKcdcuF4mLmAyLGkM5eslB8YUTqCiSXUqSPPakDlmdqd68YcCO6Q2zCQQ2ve +rJQ== Original-Received: by 10.180.77.233 with SMTP id v9mr1607132wiw.22.1334964308213; Fri, 20 Apr 2012 16:25:08 -0700 (PDT) Original-Received: by 10.223.116.200 with HTTP; Fri, 20 Apr 2012 16:25:08 -0700 (PDT) In-Reply-To: <4F91D6FE.50406@gmail.com> X-Google-Sender-Auth: Svbt4FtsQOVqxYvMSKow2X89u7c X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84537 Archived-At: On Fri, Apr 20, 2012 at 2:37 PM, Richard H Lee wrote: > Hi (again), > > I'm using fill-column-indicator.el to set a column margin at column 80 in > emacs. Currently it uses the pipe "|" symbol as the margin character. > > I would like to change it one of the extended ascii characters, e.g. the > solid block / long vertical pipe. I can set it to standard ascii characte= rs > using: > > (setq fci-rule-character ?\101) > > e.g. this will set the character to "A". But if I go over 127 into > extended-ascii, I get: > > Invalid read syntax: ? Actually, it can go up to 511 (a.k.a. "?\777"). See: http://www.gnu.org/software/emacs/manual/html_node/elisp/General-Escape-Syn= tax.html > What is the emacs lisp syntax for extended ascii characters? Standard way according to the above link is to use the unicode code point, i.e. "?\u2503". You might want to just use a character literal, "?=E2=94=83", if you don't mind having a =E2=94=83 in your source = file. -PJ Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced.