A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-July/045937.html below:

[Python-Dev] tabs in idlelib/PyShell.py

[Python-Dev] tabs in idlelib/PyShell.py [Python-Dev] tabs in idlelib/PyShell.pyJohn Lenton jlenton at gmail.com
Wed Jul 7 13:45:43 CEST 2004
On Tue, 06 Jul 2004 22:59:43 -0400, Kurt B. Kaiser <kbk at shore.net> wrote:
> 
> My tools (emacs/python-mode and IDLE) are set to insert spaces, and
> the following method was entered at the same time.  It's fine.  I
> have no idea how that happened.
> 
> I'm thinking that since spaces are standard, it would be neat if
> IDLE and python-mode could display a right arrow glyph for each
> tab.

(defface we-hate-tabs-face
  '((t (:background "red")))
    "Face for tab characters.")

(and standard-display-table (aset standard-display-table ?\C-i  ; Show
tabs highlighted
      (vector (+ ?\C-i (* (face-id 'we-hate-tabs-face) 524288) ))))

thanks to utis on #emacs, and to
http://groups.google.com/groups?q=face+display+table+gnu.emacs.help&hl=en&lr=&ie=UTF-8&scoring=d&selm=slrnb9kt08.2su.tuukkat%40s-inf-pc24.oulu.fi&rnum=9

-- 
John Lenton (jlenton at gmail.com) -- Random fortune:
bash: fortune: command not found
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4