unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: blank-mode.el
Date: Sun, 28 Oct 2007 15:10:22 -0300	[thread overview]
Message-ID: <4724D08E.5030807@ig.com.br> (raw)
In-Reply-To: <m2k5p7gvpu.fsf@cam.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]

Leo wrote:
> On 2007-10-28 14:20 +0000, Vinicius Jose Latorre wrote:
>   
>> Hi,
>>
>> It seems there is an interest to install blank-mode package in the
>> Emacs distribution.
>>     
> [...]
>
> There is another package whitespace.el included in Emacs already that
> seems to do similar things.
>   

whitespace.el is different from blank-mode:

;; The whitespace library is intended to find and help fix five 
different types
;; of whitespace problems that commonly exist in source code.
;;
;; 1. Leading space (empty lines at the top of a file).
;; 2. Trailing space (empty lines at the end of a file).
;; 3. Indentation space (8 or more spaces at beginning of line, that 
should be
;;              replaced with TABS).
;; 4. Spaces followed by a TAB.  (Almost always, we never want that).
;; 5. Spaces or TABS at the end of a line.
;;
;; Whitespace errors are reported in a buffer, and on the modeline.

Also, whitespace uses text properties to highlight and blank-mode uses 
font-lock and/or display table.

The whitespace purpose is to detect problems and blank-mode purpose is 
only to visualise any space.  That is, whitespace only highlight spaces 
when there is a problem.

The attached image shows when blank-mode is on.


[-- Attachment #2: BlankModeOn.png --]
[-- Type: image/png, Size: 11914 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-10-28 18:10 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 14:20 blank-mode.el Vinicius Jose Latorre
2007-10-28 14:27 ` blank-mode.el Leo
2007-10-28 18:10   ` Vinicius Jose Latorre [this message]
2007-10-28 17:31 ` blank-mode.el Drew Adams
2007-10-28 19:35   ` blank-mode.el Vinicius Jose Latorre
2007-10-28 19:05     ` blank-mode.el Drew Adams
2007-10-28 23:04       ` blank-mode.el Vinicius Jose Latorre
2007-10-28 22:11         ` blank-mode.el Drew Adams
2007-10-29 10:00         ` blank-mode.el Kim F. Storm
2007-10-29 15:37           ` blank-mode.el Vinicius Jose Latorre
2007-10-30 14:17             ` blank-mode.el Juri Linkov
2007-10-31  4:16               ` blank-mode.el Vinicius Jose Latorre
2007-10-31 16:11                 ` blank-mode.el Juri Linkov
2007-11-09 17:10                   ` blank-mode.el Vinicius Jose Latorre
2007-11-09 18:11                     ` blank-mode.el Vinicius Jose Latorre
2007-11-09 20:41                       ` blank-mode.el Robert J. Chassell
2007-11-11  2:13                         ` blank-mode.el Vinicius Jose Latorre
2007-11-11 12:19                           ` blank-mode.el Robert J. Chassell
2007-11-11 14:37                             ` blank-mode.el Drew Adams
2007-11-11 14:57                             ` blank-mode.el Jason Rumney
2007-11-11 17:52                               ` blank-mode.el Robert J. Chassell
2007-11-11 21:23                                 ` blank-mode.el Vinicius Jose Latorre
2007-11-11 21:48                                   ` blank-mode.el Juri Linkov
2007-11-11 21:59                                     ` blank-mode.el Juanma Barranquero
2007-11-11 22:36                                       ` blank-mode.el Juri Linkov
2007-11-11 23:25                                         ` blank-mode.el Juanma Barranquero
2007-11-12  0:05                                       ` blank-mode.el Vinicius Jose Latorre
2007-11-11 23:28                                         ` blank-mode.el Juanma Barranquero
2007-11-12  0:43                                           ` blank-mode.el Vinicius Jose Latorre
2007-11-12 18:26                                             ` blank-mode.el Robert J. Chassell
2007-11-12 19:53                                               ` blank-mode.el Andreas Schwab
2007-11-12 21:51                                               ` blank-mode.el Vinicius Jose Latorre
2007-11-13 10:45                                                 ` blank-mode.el Robert J. Chassell
2007-11-13 12:13                                                   ` blank-mode.el Vinicius Jose Latorre
2007-11-13 16:41                                                     ` blank-mode.el Vinicius Jose Latorre
2007-11-13 23:54                                                       ` blank-mode.el Juri Linkov
2007-11-14  0:19                                                         ` blank-mode.el Jason Rumney
2007-11-14 10:29                                                         ` blank-mode.el Andreas Schwab
2007-11-16  4:10                                                         ` blank-mode.el Vinicius Jose Latorre
2007-11-16 12:02                                                           ` blank-mode.el Robert J. Chassell
2007-11-17 21:05                                                             ` blank-mode.el Vinicius Jose Latorre
2007-11-17 22:57                                                               ` blank-mode.el Juri Linkov
2007-11-18 14:55                                                                 ` blank-mode.el Vinicius Jose Latorre
2007-11-19 14:44                                                             ` blank-mode.el Vinicius Jose Latorre
2007-11-19 16:22                                                               ` blank-mode.el Robert J. Chassell
2007-11-19 19:19                                                                 ` blank-mode.el Vinicius Jose Latorre
2007-11-20  3:24                                                                   ` blank-mode.el Vinicius Jose Latorre
2007-11-21 13:42                                                                     ` blank-mode.el Vinicius Jose Latorre
2007-11-11 22:04                                   ` blank-mode.el Robert J. Chassell
2007-11-11 22:04                                   ` blank-mode.el Robert J. Chassell
2007-11-12  0:01                                     ` blank-mode.el Vinicius Jose Latorre
2007-11-11 22:01                                 ` blank-mode.el Jason Rumney
2007-11-11 22:37                                   ` blank-mode.el Juri Linkov
2007-11-11 22:46                                     ` blank-mode.el Jason Rumney
2007-11-11 17:01                           ` blank-mode.el Robert J. Chassell
  -- strict thread matches above, loose matches on Subject: below --
2007-11-14 13:44 blank-mode.el Robert J. Chassell

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4724D08E.5030807@ig.com.br \
    --to=viniciusjl@ig.com.br \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /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 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).