lockyear@ssc-vax.UUCP (Kathy Lockyear) (03/06/90)
We are currently trying to highlight individual keywords in the emacs buffer by reverse video or bolding and are having problems. Has anyone ever tried to do this? Here are a couple questions: a. What are the proper string sequences for bolding and/or reverse video, or for turning these on and off dynamically? In other words, are these string sequences represented by any Emacs internal variables? b. Is there a way to embed these string sequences/ control characters so that redraw-display will work properly, i.e. to embed them before and after the characters to be affected? When we have put certain control characters in the buffer, they seem to be translated to something different than we intended (\033 appears on the screen as ^[, for instance). We have also tried finding a keyword and temporarily changing the mode of the buffer, in the hope that it will output the text differently. Such as: 1. find a keyword in the buffer 2. send-string-to-terminal -- puts screen in supposedly correct mode 3. output the keyword 4. send-string-to-terminal -- puts screen back to previous mode When we do this, however, we only get plain text -- no special highlights. Any ideas out there? Thanks in advance, Maggie Davis Kathy Lockyear Boeing Aerospace and Electronics Seattle, WA 98124 uw-beaver!ssc-vax!astars!(lockyear or mjdavis)