Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!PROOF.ERGO.CS.CMU.EDU!cline From: cline@PROOF.ERGO.CS.CMU.EDU (Kenneth Cline) Newsgroups: comp.emacs Subject: Re: Character display Message-ID: <7230@pt.cs.cmu.edu> Date: 6 Dec 89 19:19:17 GMT References: Distribution: gnu Organization: Carnegie-Mellon University, CS/RI Lines: 94 Incorporating the diffs for buffer.c, indent.c and xdisp.c below will cause emacs to display 255 character fonts (newline is special) in buffers with local variable ctl-arrow set to any value other than T or NIL. This change will be obsolete when version 19 is released, but it is nonetheless useful for the time being. It has been pointed out that answering questions about the availability of version 19 takes time away from writing the code, so please be patient. By the way, I have been told that these diffs can not be automatically incorporated into source files. Forgive my ignorance of the proper commands and be glad that the changes are small. Ken (cline@cs.cmu.edu) --------- cut here ----------- # # type sh /usrea0/cline/gnu/diff/diff to unpack this archive. # echo extracting buffer.c.diff... cat >buffer.c.diff <<'!E!O!F!' 1292c1292 < "*t means display control chars with uparrow.\n\ --- > "*Non-nil means display control chars with uparrow.\n\ 1294,1297c1294 < Otherwise assume that control and meta chars are printable.\n\ < Automatically becomes local when set in any fashion.\n\ < \n\ < This is an Ergo local feature."); --- > Automatically becomes local when set in any fashion."); !E!O!F! # # type sh /usrea0/cline/gnu/diff/diff to unpack this archive. # echo extracting indent.c.diff... cat >indent.c.diff <<'!E!O!F!' 69,70c69 < int ctl_arrow = (!NULL (bf_cur->ctl_arrow)) < + (EQ (bf_cur->ctl_arrow, Qt)); --- > int ctl_arrow = !NULL (bf_cur->ctl_arrow); 110,111c109 < col += (ctl_arrow == 1 && c >= 0177) ? 1 : < (ctl_arrow && c < 0200) ? 2 : 4; --- > col += (ctl_arrow && c < 0200) ? 2 : 4; 233,234c231 < register int ctl_arrow = (!NULL (bf_cur->ctl_arrow)) < + (EQ (bf_cur->ctl_arrow, Qt)); --- > register int ctl_arrow = !NULL (bf_cur->ctl_arrow); 259,260d255 < else if (ctl_arrow == 1) < 0; 309,310c304 < register int ctl_arrow = (!NULL (bf_cur->ctl_arrow)) < + (EQ (bf_cur->ctl_arrow, Qt)); --- > register int ctl_arrow = !NULL (bf_cur->ctl_arrow); 374c368,369 < cpos += (ctl_arrow == 1) ? 1 : (ctl_arrow && c < 0200) ? 2 : 4; --- > cpos += (ctl_arrow && c < 0200) ? 2 : 4; > !E!O!F! # # type sh /usrea0/cline/gnu/diff/diff to unpack this archive. # echo extracting xdisp.c.diff... cat >xdisp.c.diff <<'!E!O!F!' 1196,1197c1196 < int ctl_arrow = (!NULL (bf_cur->ctl_arrow)) < + (EQ (bf_cur->ctl_arrow, Qt)); --- > int ctl_arrow = !NULL (bf_cur->ctl_arrow); 1313,1318d1311 < else if (ctl_arrow == 1) < { < if (p1 >= startp) < *p1 = c; < p1++; < } 1912,1917d1904 < } < else if (buffer_defaults.ctl_arrow == 1) < { < if (p1 >= start) < *p1 = c; < p1++; !E!O!F!