emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line-line-move-visual: was line motion problem


From: Chong Yidong
Subject: Re: line-line-move-visual: was line motion problem
Date: Mon, 21 Jul 2008 21:31:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Vinicius Jose Latorre <address@hidden> writes:

> Second, there is already whitespace-newline which is the face used to
> visualize newlines.
>
> If it is necessary to have specific functions to display newlines, it
> should be something like this:
>
> (defun whitespace-newline ()
>    (let ((whitespace-style '(newline-mark newline)))
>       (whitespace-mode 1)))
>
> (defun global-whitespace-newline ()
>    (let ((whitespace-style '(newline-mark newline)))
>       (global-whitespace-mode 1)))

Aha.  This certainly looks like a much better solution (it will have to
be rewritten properly using define-minor-mode, though).

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]