help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: viewing log files (mainly _^H)


From: Kevin Rodgers
Subject: Re: viewing log files (mainly _^H)
Date: Thu, 04 Dec 2003 10:09:37 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Eli Zaretskii wrote:

You could try hi-lock-mode (and define ^H.*^H as a pattern to
highlight with "M-x highlight-regexp"), but that would leave those
ugly ^H characters visible.

What if you hid them using the display table?


(or buffer-display-table
    ;; Don't let disp-table.el overwrite standard-display-table:
    (let ((standard-display-table standard-display-table))
      (setq buffer-display-table (make-display-table))))
;; Make ^H invisible:
(aset buffer-display-table ?\^H [])

--
Kevin Rodgers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]