GNU bug report logs - #18548
Emacs whitespace mode

Previous Next

Package: emacs;

Reported by: Kip Coul <kipcoul <at> gmail.com>

Date: Wed, 24 Sep 2014 18:20:02 UTC

Severity: normal

Tags: confirmed

Merged with 18441, 46590

Found in version 27.1.91

Full log


View this message in rfc822 format

From: Kip Coul <kipcoul <at> gmail.com>
To: 18548 <at> debbugs.gnu.org
Subject: bug#18548: Emacs whitespace mode
Date: Wed, 24 Sep 2014 14:13:04 +0200
Hi all,

I am a fan of Emacs, and I'd like to bring a minor change but that I
find actually useful.
I'd like to modify the way tabs are displayed in whitespace mode.

Basically what I want to do is the following: display a tab as a
customizable sequence of characters instead of a character followed by
spaces.

So, if a tab takes five spaces, I'd like the user to be able to customize
this, for example to display "<--->" or "---->". You can have a look
here at how they represent tabs, it's very close to what I want to do:
http://www.emacswiki.org/TabsAreEvil#SmartTabs

The user will be able to specify the following characters:
   - char #1, that will be displayed at the beginning
   - char #2, that will be repeated
   - char #3 (optional) that will be put at the end of the tab

So, for a tab to display as "---->", you'd set char #1 = char #2 = '-'
and char #3 = '>', and for a tab to display as "<--->", you'd set char
#1 = '<', char #2 = '-' and char #3 = '>'

So, could you confirm that the file whitespace.el is the one I have to
modify? Could you give me some insight about how to do?

Thanks and regards,
Kip




This bug report was last modified 2 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.