unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18548: Emacs whitespace mode
@ 2014-09-24 12:13 Kip Coul
  2014-11-14 16:49 ` bug#18548: Jack Morrison
  2019-09-30  2:43 ` bug#18548: Emacs whitespace mode Stefan Kangas
  0 siblings, 2 replies; 14+ messages in thread
From: Kip Coul @ 2014-09-24 12:13 UTC (permalink / raw)
  To: 18548

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





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-02-24  9:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 12:13 bug#18548: Emacs whitespace mode Kip Coul
2014-11-14 16:49 ` bug#18548: Jack Morrison
2019-09-30  2:43 ` bug#18548: Emacs whitespace mode Stefan Kangas
2019-10-03  9:34   ` Nathaniel Braun
2019-10-30 20:43     ` Stefan Kangas
2019-10-31  9:24       ` Nathaniel Braun
2019-10-31 16:15         ` Stefan Kangas
2022-01-25 14:21     ` Lars Ingebrigtsen
2022-02-23 13:18       ` Lars Ingebrigtsen
2022-02-23 13:58         ` Eli Zaretskii
2022-02-23 16:28           ` Nathaniel Braun
2022-02-23 17:01             ` Eli Zaretskii
2022-02-23 17:10               ` Nathaniel Braun
2022-02-24  9:05           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).