emacs-devel
[Top][All Lists]
Advanced

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

Re: highlight-80+ --- highlight characters beyond column 80


From: Vinicius Jose Latorre
Subject: Re: highlight-80+ --- highlight characters beyond column 80
Date: Mon, 11 Aug 2008 22:08:33 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11


    (defgroup highlight-80+ nil
      "Highlight characters beyond column 80."
      :group 'faces)

    (defcustom highlight-80+-columns 80
      "*Number of columns to allow in lines."
      :group 'highlight-80+
      :type 'integer)

Perhaps this should be a standard feature
so that this variable could have a shorter and more natural name.


Well, whitespace.el has a similar feature:


;; Thanks to nschum (EmacsWiki) for the idea about highlight "long"
;; lines tail.  See EightyColumnRule (EmacsWiki).


(defcustom whitespace-line-column 80
 "*Specify column beyond which the line is highlighted.

Used when `whitespace-style' includes `lines' or `lines-tail'."
 :type '(integer :tag "Line Length")
 :group 'whitespace)





reply via email to

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