all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* turn on only one option of whitespace-mode?
@ 2009-05-04  9:43 Kiwon Um
  2009-05-04 13:07 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kiwon Um @ 2009-05-04  9:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hello? One question~
How can I turn on only one option of whitespace-mode e.g. lines-tail?
I cannot find any customizing field for this.

Thanks.


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

* Re: turn on only one option of whitespace-mode?
  2009-05-04  9:43 turn on only one option of whitespace-mode? Kiwon Um
@ 2009-05-04 13:07 ` Kevin Rodgers
  2009-05-05 10:59 ` Nikolaj Schumacher
       [not found] ` <mailman.6643.1241521183.31690.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2009-05-04 13:07 UTC (permalink / raw)
  To: help-gnu-emacs

Kiwon Um wrote:
> Hello? One question~
> How can I turn on only one option of whitespace-mode e.g. lines-tail?
> I cannot find any customizing field for this.

(defcustom whitespace-check-leading-whitespace t
   "Flag to check leading whitespace.  This is the global for the system.
It can be overridden by setting a buffer local variable
`whitespace-check-buffer-leading'."
   :type 'boolean
   :group 'whitespace)

(defcustom whitespace-check-trailing-whitespace t
   "Flag to check trailing whitespace.  This is the global for the system.
It can be overridden by setting a buffer local variable
`whitespace-check-buffer-trailing'."
   :type 'boolean
   :group 'whitespace)

(defcustom whitespace-check-spacetab-whitespace t
   "Flag to check space followed by a TAB.  This is the global for the 
system.
It can be overridden by setting a buffer local variable
`whitespace-check-buffer-spacetab'."
   :type 'boolean
   :group 'whitespace)

(defcustom whitespace-check-indent-whitespace indent-tabs-mode
   "Flag to check indentation whitespace.  This is the global for the 
system.
It can be overridden by setting a buffer local variable
`whitespace-check-buffer-indent'."
   :type 'boolean
   :group 'whitespace)

(defcustom whitespace-check-ateol-whitespace t
   "Flag to check end-of-line whitespace.  This is the global for the 
system.
It can be overridden by setting a buffer local variable
`whitespace-check-buffer-ateol'."
   :type 'boolean
   :group 'whitespace)


-- 
Kevin Rodgers
Denver, Colorado, USA





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

* Re: turn on only one option of whitespace-mode?
  2009-05-04  9:43 turn on only one option of whitespace-mode? Kiwon Um
  2009-05-04 13:07 ` Kevin Rodgers
@ 2009-05-05 10:59 ` Nikolaj Schumacher
       [not found] ` <mailman.6643.1241521183.31690.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Nikolaj Schumacher @ 2009-05-05 10:59 UTC (permalink / raw)
  To: Kiwon Um; +Cc: help-gnu-emacs

Kiwon Um <um.kiwon@gmail.com> wrote:

> Hello? One question~
> How can I turn on only one option of whitespace-mode e.g. lines-tail?
> I cannot find any customizing field for this.

whitespace-style

Set it to '(lines-tail).  It's not available in the drop-down menu,
which is a bug.


regards,
Nikolaj Schumacher




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

* Re: turn on only one option of whitespace-mode?
       [not found] ` <mailman.6643.1241521183.31690.help-gnu-emacs@gnu.org>
@ 2009-05-06  1:03   ` Kiwon Um
  0 siblings, 0 replies; 4+ messages in thread
From: Kiwon Um @ 2009-05-06  1:03 UTC (permalink / raw)
  To: help-gnu-emacs

On May 5, 7:59 pm, Nikolaj Schumacher <m...@nschum.de> wrote:
> Kiwon Um <um.ki...@gmail.com> wrote:
> > Hello? One question~
> > How can I turn on only one option of whitespace-mode e.g. lines-tail?
> > I cannot find any customizing field for this.
>
> whitespace-style
>
> Set it to '(lines-tail).  It's not available in the drop-down menu,
> which is a bug.
>
> regards,
> Nikolaj Schumacher

Thanks all. This was the solution: :)
(setq whitespace-style '(lines-tail))


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

end of thread, other threads:[~2009-05-06  1:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04  9:43 turn on only one option of whitespace-mode? Kiwon Um
2009-05-04 13:07 ` Kevin Rodgers
2009-05-05 10:59 ` Nikolaj Schumacher
     [not found] ` <mailman.6643.1241521183.31690.help-gnu-emacs@gnu.org>
2009-05-06  1:03   ` Kiwon Um

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.