all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 18296@debbugs.gnu.org
Subject: bug#18296: 24.4.50; doc string of `whitespace-mode'
Date: Sat, 30 Apr 2016 07:52:03 -0800 (GMT-08:00)	[thread overview]
Message-ID: <e7d578d3-0f13-4bff-a780-9cffd6761845@default> (raw)
In-Reply-To: <87r3dnrzuy.fsf@gnus.org>

> > 1. Please mention which faces are used for which kinds of highlighting.
> 
> Well, there's a lot of faces, and I think it's unusual for modes like
> this to enumerate them.

There are N faces, nicely documented in `whitespace.el'.
Why not put this info in the doc?

`whitespace-space'            highlight SPACE
`whitespace-hspace'           highlight HARD SPACE
`whitespace-tab'              highlight TAB
`whitespace-newline'          highlight NEWLINE char mapping
`whitespace-trailing'	        highlight trailing blanks
`whitespace-line'             highlight "long" lines
`whitespace-space-before-tab' highlight SPACEs before TAB
`whitespace-indentation'      highlight 8+ SPACEs at bol
`whitespace-big-indent'       highlight big indentation
`whitespace-empty'            highlight empty lines at bob/eob
`whitespace-space-after-tab'  highlight 8+ SPACEs after TAB

(Quickly abbreviated from the commentary - not suggesting
that those are the best descriptions.  E.g., what is a newline
char mapping? what is "big" indentation?)

> But perhaps a link to the customisation group would be nice?

That would be OK too.  But the mode help is where I think
it belongs.

> Is there a syntax for that?

Dunno - not that I can think of.





  reply	other threads:[~2016-04-30 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 14:30 bug#18296: 24.4.50; doc string of `whitespace-mode' Drew Adams
2016-04-30 13:27 ` Lars Ingebrigtsen
2016-04-30 15:52   ` Drew Adams [this message]
2016-04-30 15:58     ` Eli Zaretskii
     [not found]   ` <<e7d578d3-0f13-4bff-a780-9cffd6761845@default>
     [not found]     ` <<83twijnl4t.fsf@gnu.org>
2016-04-30 17:22       ` Drew Adams
2021-09-04  8:20   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7d578d3-0f13-4bff-a780-9cffd6761845@default \
    --to=drew.adams@oracle.com \
    --cc=18296@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.