<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[emacs] whitespace mode]]></title><description><![CDATA[<p>Howdy.</p>
<p>nun möchte ich den whitespace-mode optimieren und fühle mich gerade wie der: <a href="http://xahlee.blogspot.com/2010/03/exhibition-of-tech-geekers-incompetence.html" rel="nofollow">http://xahlee.blogspot.com/2010/03/exhibition-of-tech-geekers-incompetence.html</a> WAT'N CRAP!</p>
<p>- ich möchte den mode automatisch starten. wie mache ich das? font-lock-mode-hook? geht nicht, endlosschleife.</p>
<p>- ich möchte die farben anpassen. geht das? keine ahnung! die doku benutzt das wort &quot;farbe&quot; nicht mal. oder &quot;color&quot; oder &quot;colour&quot; für die klukscheißer</p>
<p>- ich möchte, dass es sowohl im schwarz-auf-weiß(X) sowie weiß-auf-schwarz(Konsole) gut aussieht. geht das? Keine Ahnung, die Doku ist ja so toll.</p>
<p>- ich möchte statt der komischen TAB-Zeichen das, womit eclipse seine tabs kennzeichnet: eine dezente markierung am ende des tabs, keine hässlichen dreiecke. aber wie stelle ich das ein? alles was ich sehe sind magic numbers und noch mehr magic numbers.</p>
<pre><code>(setq whitespace-display-mappings
 '(
   (space-mark 32 [183] [46]) ; normal space
   (space-mark 160 [164] [95])
   (space-mark 2208 [2212] [95])
   (space-mark 2336 [2340] [95])
   (space-mark 3616 [3620] [95])
   (space-mark 3872 [3876] [95])
   (newline-mark 10 [182 10]) ; newlne
   (tab-mark 9 [9655 9] [92 9]) ; tab
))
</code></pre>
<p>die doku sagt dazu:</p>
<blockquote>
<pre><code>whitespace-display-mappings's value is shown below.

Documentation:
Specify an alist of mappings for displaying characters.

Each element has the following form:

   (KIND CHAR VECTOR...)

Where:

KIND	is the kind of character.
	It can be one of the following symbols:

	tab-mark	for TAB character

	space-mark	for SPACE or HARD SPACE character

	newline-mark	for NEWLINE character

CHAR	is the character to be mapped.

VECTOR	is a vector of characters to be displayed in place of CHAR.
	The first display vector that can be displayed is used;
	if no display vector for a mapping can be displayed, then
	that character is displayed unmodified.
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/topic/265075/emacs-whitespace-mode</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 17:26:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/265075.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Apr 2010 17:30:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [emacs] whitespace mode on Sat, 17 Apr 2010 17:30:17 GMT]]></title><description><![CDATA[<p>Howdy.</p>
<p>nun möchte ich den whitespace-mode optimieren und fühle mich gerade wie der: <a href="http://xahlee.blogspot.com/2010/03/exhibition-of-tech-geekers-incompetence.html" rel="nofollow">http://xahlee.blogspot.com/2010/03/exhibition-of-tech-geekers-incompetence.html</a> WAT'N CRAP!</p>
<p>- ich möchte den mode automatisch starten. wie mache ich das? font-lock-mode-hook? geht nicht, endlosschleife.</p>
<p>- ich möchte die farben anpassen. geht das? keine ahnung! die doku benutzt das wort &quot;farbe&quot; nicht mal. oder &quot;color&quot; oder &quot;colour&quot; für die klukscheißer</p>
<p>- ich möchte, dass es sowohl im schwarz-auf-weiß(X) sowie weiß-auf-schwarz(Konsole) gut aussieht. geht das? Keine Ahnung, die Doku ist ja so toll.</p>
<p>- ich möchte statt der komischen TAB-Zeichen das, womit eclipse seine tabs kennzeichnet: eine dezente markierung am ende des tabs, keine hässlichen dreiecke. aber wie stelle ich das ein? alles was ich sehe sind magic numbers und noch mehr magic numbers.</p>
<pre><code>(setq whitespace-display-mappings
 '(
   (space-mark 32 [183] [46]) ; normal space
   (space-mark 160 [164] [95])
   (space-mark 2208 [2212] [95])
   (space-mark 2336 [2340] [95])
   (space-mark 3616 [3620] [95])
   (space-mark 3872 [3876] [95])
   (newline-mark 10 [182 10]) ; newlne
   (tab-mark 9 [9655 9] [92 9]) ; tab
))
</code></pre>
<p>die doku sagt dazu:</p>
<blockquote>
<pre><code>whitespace-display-mappings's value is shown below.

Documentation:
Specify an alist of mappings for displaying characters.

Each element has the following form:

   (KIND CHAR VECTOR...)

Where:

KIND	is the kind of character.
	It can be one of the following symbols:

	tab-mark	for TAB character

	space-mark	for SPACE or HARD SPACE character

	newline-mark	for NEWLINE character

CHAR	is the character to be mapped.

VECTOR	is a vector of characters to be displayed in place of CHAR.
	The first display vector that can be displayed is used;
	if no display vector for a mapping can be displayed, then
	that character is displayed unmodified.
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1884335</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1884335</guid><dc:creator><![CDATA[DasBass]]></dc:creator><pubDate>Sat, 17 Apr 2010 17:30:17 GMT</pubDate></item><item><title><![CDATA[Reply to [emacs] whitespace mode on Sun, 18 Apr 2010 09:26:54 GMT]]></title><description><![CDATA[<p>DasBass schrieb:</p>
<blockquote>
<p>Howdy.</p>
<p>nun möchte ich den whitespace-mode optimieren und fühle mich gerade wie der: <a href="http://xahlee.blogspot.com/2010/03/exhibition-of-tech-geekers-incompetence.html" rel="nofollow">http://xahlee.blogspot.com/2010/03/exhibition-of-tech-geekers-incompetence.html</a> WAT'N CRAP!</p>
<p>- ich möchte den mode automatisch starten. wie mache ich das? font-lock-mode-hook? geht nicht, endlosschleife.</p>
</blockquote>
<p>Allgemein macht man das mit set-auto-mode und verwandten Kommandos. Aber bist du sicher? Mich würde das voll nerven.</p>
<blockquote>
<p>- ich möchte die farben anpassen. geht das? keine ahnung! die doku benutzt das wort &quot;farbe&quot; nicht mal. oder &quot;color&quot; oder &quot;colour&quot; für die klukscheißer</p>
</blockquote>
<p>Das ist einfach nur dreist gelogen. In der Anleitung ist genau dies ganz genau erklärt.</p>
<blockquote>
<p>- ich möchte, dass es sowohl im schwarz-auf-weiß(X) sowie weiß-auf-schwarz(Konsole) gut aussieht. geht das? Keine Ahnung, die Doku ist ja so toll.</p>
</blockquote>
<p>Probiers doch einfach aus.</p>
<blockquote>
<p>- ich möchte statt der komischen TAB-Zeichen das, womit eclipse seine tabs kennzeichnet: eine dezente markierung am ende des tabs, keine hässlichen dreiecke. aber wie stelle ich das ein? alles was ich sehe sind magic numbers und noch mehr magic numbers.</p>
<pre><code>(setq whitespace-display-mappings
 '(
   (space-mark 32 [183] [46]) ; normal space
   (space-mark 160 [164] [95])
   (space-mark 2208 [2212] [95])
   (space-mark 2336 [2340] [95])
   (space-mark 3616 [3620] [95])
   (space-mark 3872 [3876] [95])
   (newline-mark 10 [182 10]) ; newlne
   (tab-mark 9 [9655 9] [92 9]) ; tab
))
</code></pre>
<p>die doku sagt dazu:</p>
<blockquote>
<pre><code>whitespace-display-mappings's value is shown below.

Documentation:
Specify an alist of mappings for displaying characters.

Each element has the following form:

   (KIND CHAR VECTOR...)

Where:

KIND	is the kind of character.
	It can be one of the following symbols:

	tab-mark	for TAB character

	space-mark	for SPACE or HARD SPACE character

	newline-mark	for NEWLINE character

CHAR	is the character to be mapped.

VECTOR	is a vector of characters to be displayed in place of CHAR.
	The first display vector that can be displayed is used;
	if no display vector for a mapping can be displayed, then
	that character is displayed unmodified.
</code></pre>
</blockquote>
</blockquote>
<p>Das nennt man ASCII bzw. Unicode. Google mal danach, ist sehr nützlich zu kennen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1884497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1884497</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sun, 18 Apr 2010 09:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to [emacs] whitespace mode on Sun, 18 Apr 2010 09:40:41 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<blockquote>
<p>- ich möchte die farben anpassen. geht das? keine ahnung! die doku benutzt das wort &quot;farbe&quot; nicht mal. oder &quot;color&quot; oder &quot;colour&quot; für die klukscheißer</p>
</blockquote>
<p>Das ist einfach nur dreist gelogen. In der Anleitung ist genau dies ganz genau erklärt.</p>
</blockquote>
<p>zeile oder gtfo: <a href="http://www.emacswiki.org/emacs/whitespace.el" rel="nofollow">http://www.emacswiki.org/emacs/whitespace.el</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1884502</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1884502</guid><dc:creator><![CDATA[DasBass]]></dc:creator><pubDate>Sun, 18 Apr 2010 09:40:41 GMT</pubDate></item><item><title><![CDATA[Reply to [emacs] whitespace mode on Sun, 18 Apr 2010 10:02:01 GMT]]></title><description><![CDATA[<p>DasBass schrieb:</p>
<blockquote>
<p>SeppJ schrieb:</p>
<blockquote>
<blockquote>
<p>- ich möchte die farben anpassen. geht das? keine ahnung! die doku benutzt das wort &quot;farbe&quot; nicht mal. oder &quot;color&quot; oder &quot;colour&quot; für die klukscheißer</p>
</blockquote>
<p>Das ist einfach nur dreist gelogen. In der Anleitung ist genau dies ganz genau erklärt.</p>
</blockquote>
<p>zeile oder gtfo: <a href="http://www.emacswiki.org/emacs/whitespace.el" rel="nofollow">http://www.emacswiki.org/emacs/whitespace.el</a></p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> Such in dem Text mal nach 'color'. Ca. fünfte Zeile steht, dass whitespace die Farben über sogenannte 'Faces' einstellt. Und wenn du dann nach 'faces' suchst, findest du zig Kommandos um diese zu feintunen. Und wenn du die <a href="http://www.emacswiki.org/emacs/WhiteSpace" rel="nofollow">HTML-Anleitung</a> nimmst, dann bekommst du auch einen Link wie das mit den Faces überhaup funktioniert.</p>
<p>edit: Ich sehe gerade was 'gtfo' heißt. Geht's dir noch gut? Erst nichtmal einen Text nicht durchsuchen können und dann noch pampig werden wenn einem geholfen wird? Mach deinen Dreck doch alleine! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1884509</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1884509</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sun, 18 Apr 2010 10:02:01 GMT</pubDate></item></channel></rss>