🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #6192

[gnu.emacs] Re: Can "^" ctrl-char notation be turned off?

#6192
From: Johan Widen
Date: Tue, 06 Mar 1990 01:49
43 lines
2033 bytes
Archive-name: emacs-8bit-diff/05-Mar-90
Original-posting-by: jw@sics.se (Johan Widen)
Original-subject: Re: Can "^" ctrl-char notation be turned off?
Archive-site: sics.se [192.16.123.90]
Archive-directory: archive
Archive-files: emacs-18.55-8bit-diff
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

>>>>> In article <110960004@hpcvlx.cv.hp.com>, bill@hpcvlx.cv.hp.com (Bill Frolik) writes:

bill> Is it possible in GNU Emacs to turn off the "^" notation for control
bill> characters and have them be displayed as "themselves"?  Every once in
bill> a while I like to use foreign characters, line drawing symbols, etc ...

Yes, a patch for this (relative to emacs-18.55) can be obtained by
anonymous ftp from
	sics.se (192.16.123.90)
as
	archive/emacs-18.55-8bit-diff

The way characters below 32 and above 127 are displayed depends on the
buffer local variable ctl-arrow. The patch extends the functionality
of this variable.

A question that comes up once this patch has been added is: how do I
input eight bit characters? One way of doing it is by adding keybindings
such as:

(define-key esc-map "e" 'iso-eacute-insert)

(defun iso-eacute-insert nil
  "insert eacute."
  (interactive)
  (insert "\351"))

to ~/.emacs
The example puts character code \351 (e with an acute accent according to
the ISO-8859-1 character set) on M-e

--
Johan Widen
SICS, PO Box 1263, S-164 28 KISTA, SWEDEN	Internet: jw@sics.se
Tel: +46 8 752 15 32	Ttx: 812 61 54 SICS S	Fax: +46 8 751 72 30
Technical Details
Message-ID: <11272@stag.math.lsa.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!emv

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!emv
From: jw@sics.se (Johan Widen)
Newsgroups: comp.archives
Subject: [gnu.emacs] Re: Can "^" ctrl-char notation be turned off?
Message-ID: <11272@stag.math.lsa.umich.edu>
Date: 6 Mar 90 01:49:14 GMT
Sender: news@math.lsa.umich.edu
Reply-To: jw@sics.se (Johan Widen)
Followup-To: gnu.emacs
Lines: 43
Approved: emv@math.lsa.umich.edu (Edward Vielmetti)
X-Original-Newsgroups: gnu.emacs