From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Vinicius Jose Latorre" Newsgroups: gmane.emacs.devel Subject: Re: highlight-80+ --- highlight characters beyond column 80 Date: Wed, 13 Aug 2008 17:29:11 -0300 Message-ID: <2434610808131329t4729f9c1o75018acf8ddac7e9@mail.gmail.com> References: <48A0E291.6010902@ig.com.br> <200808131904.m7DJ4HIM025480@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7644_16093425.1218659351427" X-Trace: ger.gmane.org 1218659591 28416 80.91.229.12 (13 Aug 2008 20:33:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 20:33:11 +0000 (UTC) Cc: Nikolaj Schumacher , rms@gnu.org, emacs-devel@gnu.org To: "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 13 22:34:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KTMz3-0005X0-J7 for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2008 22:30:17 +0200 Original-Received: from localhost ([127.0.0.1]:43700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTMy7-0003Mt-CY for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2008 16:29:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTMy3-0003Mo-09 for emacs-devel@gnu.org; Wed, 13 Aug 2008 16:29:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTMy2-0003Mb-9U for emacs-devel@gnu.org; Wed, 13 Aug 2008 16:29:14 -0400 Original-Received: from [199.232.76.173] (port=37072 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTMy2-0003MY-2z for emacs-devel@gnu.org; Wed, 13 Aug 2008 16:29:14 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.245]:59600) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTMy1-0007Bx-8w for emacs-devel@gnu.org; Wed, 13 Aug 2008 16:29:13 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so161644rvb.6 for ; Wed, 13 Aug 2008 13:29:11 -0700 (PDT) Original-Received: by 10.141.29.21 with SMTP id g21mr193729rvj.225.1218659351441; Wed, 13 Aug 2008 13:29:11 -0700 (PDT) Original-Received: by 10.140.178.12 with HTTP; Wed, 13 Aug 2008 13:29:11 -0700 (PDT) In-Reply-To: <200808131904.m7DJ4HIM025480@sallyv1.ics.uci.edu> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102416 Archived-At: ------=_Part_7644_16093425.1218659351427 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > > (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). > > > Can you please document this at least in etc/NEWS? Otherwise it's very > hard to guess that such a feature would be found in whitespace.el ... You're right! I had not much time to do it, but I'll put the whitespace.el main features in etc/NEWS. > (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) > ------=_Part_7644_16093425.1218659351427 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
  > >     (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).


Can you please document this at least in etc/NEWS?  Otherwise it's very
hard to guess that such a feature would be found in whitespace.el ...



You're right!  I had not much time to do it, but I'll put the whitespace.el main features in etc/NEWS.

 

  > (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)

------=_Part_7644_16093425.1218659351427--