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: lawrence mitchell
Subject: Re: Change of extension language planned for Emacs
Date: Wed, 02 Apr 2003 01:22:53 +0100
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50

Alan Shutko wrote:

[...]

> 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]"))
                                                 ^^^^^ [TAB]
>     (aset display-table ?  (string-to-vector "[TAB]"))
                                                ^^^^^ [SPC]
>     (set-window-display-table (selected-window) display-table)))

:).  Yes, it's not 01-04 anymore, but we can't have false
information going around like that :). (unless you were trying
to be deliberately obtuse.

-- 
lawrence mitchell <wence@gmx.li>


reply via email to

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