Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!cs.albany.edu!kell From: kell@cs.albany.edu (Brian A. Kell) Newsgroups: comp.emacs Subject: Re: Control Characters Keywords: control characters Message-ID: <257@karp.albany.edu> Date: 20 Nov 90 19:27:54 GMT References: <90.324.12:11:43@ira.uka.de> <599@cypress.UUCP> Organization: SUNY Albany, Comp Sci Dept, Albany, NY Lines: 19 In article <599@cypress.UUCP>, rbv@cypress.UUCP (Roger Vanderveen) writes: > In article <90.324.12:11:43@ira.uka.de> bwild@foxi.uka.de (Bernd Wild) writes > >Is there a way to include control characters in an EMACS buffer > >or the .emacs Lisp source like or or > >or the octal representation of a character?? > Certainly. To enter control-A you can specify it in a string as "\001" or > "\C-a". You can also use the 'quoted-insert' function, usually bound to the ^Q key. Thus, to insert a ^L (page break) character into your buffer, you type: ^Q^L. Like this one (inserted using emacs): This is useful for, e.g., finding pairs of carriage returns between paragraphs by searching for ^Q^J^Q^J, where ^J is the newline character. Brian Kell SUNY/Albany Department of Computer Science brian@isadora.albany.edu bk7295@albnyvms.bitnet