Difference between revisions of "Whitespace-mode"
Jump to navigation
Jump to search
(Created page with "whitespace-mode is a minor mode to visualize blanks (tabs, spaces, newline, etc). == Basic setup == Whitespace-mode is already bundled with Emacs.<br/> Use <code>M-x whi...") |
m (Added author + minor changes) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | whitespace-mode is a [[minor mode]] to visualize blanks (tabs, spaces, newline, etc). | + | {{Package |
| + | |name=whitespace | ||
| + | |author=Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| + | |description=visualizes white spaces in the buffer | ||
| + | |source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/whitespace.el | ||
| + | |maintainer=[[FSF]] | ||
| + | |in_emacs=yes | ||
| + | |Development status=active | ||
| + | }} | ||
| + | |||
| + | '''whitespace-mode''' is a [[minor mode]] to visualize blanks (tabs, spaces, newline, etc). | ||
== Basic setup == | == Basic setup == | ||
| − | Whitespace-mode is already bundled with Emacs.< | + | Whitespace-mode is already bundled with Emacs. |
| − | + | ||
| + | Use {{Command|whitespace-mode}} to activate it on the current | ||
| + | [[buffer]], or add the following in your {{EmacsConfigFile}}: | ||
| + | <source lang="lisp"> | ||
| + | (whitespace-mode 1) | ||
| + | </source> | ||
| + | |||
| + | |||
| + | You may also use {{Command|global-whitespace-mode}} to activate this mode globally for all buffers. The same effect is achieved by adding the following in your {{EmacsConfigFile}}: | ||
| + | <source lang="lisp"> | ||
| + | (global-whitespace-mode 1) | ||
| + | </source> | ||
| + | |||
| + | [[Category:Minor Mode]] | ||
| + | [[Category:Built-in Package]] | ||
| + | [[Category:Visualize]] | ||
Latest revision as of 20:31, 23 July 2012
| Description | visualizes white spaces in the buffer |
|---|---|
| Author | Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| Maintainer | FSF |
| Source | http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/whitespace.el |
| Part of Emacs | yes |
whitespace-mode is a minor mode to visualize blanks (tabs, spaces, newline, etc).
Basic setup
Whitespace-mode is already bundled with Emacs.
Use M-x whitespace-mode to activate it on the current buffer, or add the following in your Emacs configuration file:
(whitespace-mode 1)
You may also use M-x global-whitespace-mode to activate this mode globally for all buffers. The same effect is achieved by adding the following in your Emacs configuration file:
(global-whitespace-mode 1)