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

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

Re: Change of extension language planned for Emacs


From: Alan Shutko
Subject: Re: Change of extension language planned for Emacs
Date: Tue, 01 Apr 2003 21:37:57 GMT
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux)

kai.grossjohann@gmx.net (Kai Großjohann) writes:

> Below, you can find a typical extract from a Whitespace program.
> Behold the beauty of it!

This might help.  It's the start of a whitespace.el for editing
whitespace.  Fortunately, it should be easy since there's no
indentation or font-lock required!

(defun whitespace-me ()
  (interactive)
  (let ((display-table (make-display-table)))
    (aset display-table ?\t (string-to-vector "[SPC]")) 
    (aset display-table ?  (string-to-vector "[TAB]"))
    (set-window-display-table (selected-window) display-table)))

-- 
Alan Shutko <ats@acm.org> - I am the rocks.
Looking for a developer in St. Louis? http://web.springies.com/~ats/
Everybody's got a smoking jacket! -Crow as building burns


reply via email to

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