From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: highlight-80+ --- highlight characters beyond column 80 Date: Wed, 13 Aug 2008 12:04:16 -0700 Message-ID: <200808131904.m7DJ4HIM025480@sallyv1.ics.uci.edu> References: <48A0E291.6010902@ig.com.br> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218654511 10395 80.91.229.12 (13 Aug 2008 19:08:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 19:08:31 +0000 (UTC) Cc: Nikolaj Schumacher , rms@gnu.org, emacs-devel@gnu.org To: Vinicius Jose Latorre Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 13 21:09:23 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 1KTLik-0002a3-FK for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2008 21:09:22 +0200 Original-Received: from localhost ([127.0.0.1]:57582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTLho-0004pi-3b for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2008 15:08:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTLgj-0004Vl-Je for emacs-devel@gnu.org; Wed, 13 Aug 2008 15:07:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTLgg-0004UH-N0 for emacs-devel@gnu.org; Wed, 13 Aug 2008 15:07:16 -0400 Original-Received: from [199.232.76.173] (port=47148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTLgg-0004UC-B5 for emacs-devel@gnu.org; Wed, 13 Aug 2008 15:07:14 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:58863) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KTLgZ-0002w4-QH; Wed, 13 Aug 2008 15:07:08 -0400 X-ICS-MailScanner-Watermark: 1219259059.68965@3yOApZ7GPaOTPnGRfoRiDg Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m7DJ4HIM025480; Wed, 13 Aug 2008 12:04:17 -0700 (PDT) In-Reply-To: <48A0E291.6010902@ig.com.br> (Vinicius Jose Latorre's message of "Mon, 11 Aug 2008 22:08:33 -0300") Original-Lines: 32 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:102413 Archived-At: Vinicius Jose Latorre writes: > > (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 ... > (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)