[Top][All Lists]

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

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

From: Miles Bader
Subject: Re: line-line-move-visual: was line motion problem
Date: Tue, 22 Jul 2008 02:31:44 +0900

Chong Yidong <address@hidden> writes:
>> + (defvar show-newlines-newline-code
>> +   (vector (make-glyph-code 182 'blank-newline) 10))
> Add a brief docstring for this.

The name `show-newlines-newline-code' seems bizarre though... "code"?

Also having to append the actual newline oneself seems a bit annoying.

How about just:

  (1) Call it something like "show-newlines-marker", and let it be a
      string.  The default value would be only one character long, but
      there seems no reason to limit users.

  (2) When turning on the mode, map the make-glyph over
      `show-newlines-marker', append the actual newline, and turn it
      into a vector.



reply via email to

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