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: Mon, 11 Aug 2008 22:08:33 -0300 Message-ID: <48A0E291.6010902@ig.com.br> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218503155 15767 80.91.229.12 (12 Aug 2008 01:05:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 01:05:55 +0000 (UTC) Cc: Nikolaj Schumacher , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 12 03:06:45 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 1KSiLN-00057v-3k for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2008 03:06:37 +0200 Original-Received: from localhost ([127.0.0.1]:58826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSiKQ-0008Ny-VR for ged-emacs-devel@m.gmane.org; Mon, 11 Aug 2008 21:05:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSiKK-0008I4-1a for emacs-devel@gnu.org; Mon, 11 Aug 2008 21:05:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSiKI-0008EE-2E for emacs-devel@gnu.org; Mon, 11 Aug 2008 21:05:31 -0400 Original-Received: from [199.232.76.173] (port=50938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSiKH-0008Du-QE for emacs-devel@gnu.org; Mon, 11 Aug 2008 21:05:29 -0400 Original-Received: from hs-out-0708.google.com ([64.233.178.241]:49278) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSiKH-0003cF-Gb for emacs-devel@gnu.org; Mon, 11 Aug 2008 21:05:29 -0400 Original-Received: by hs-out-0708.google.com with SMTP id 55so306273hsc.10 for ; Mon, 11 Aug 2008 18:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding:sender; bh=V95EoTRmCUvvEkxGLpubMszvUFvutmff9G1t24txJT0=; b=A9Xm5rlR0EMahTC18jP1kP+WsGE2KkXSA/NXOVErrCVKESw3mHfuR6jc5YnBNPQ5Sy UPtxN49ugjWleY5EZjs+9nmH3luRYBycW4Qij4tikkAyota6rb6rE7yFN8cYCbfE8CsF ZMmhqnQwAsjVw+YjxTyOv9a3444629k3xJcPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :sender; b=MJt2Yy58uL9iRL5ifAL5misiHQYr4ma9EnlgzVNC/GmxWdfIK189O2oshJd+P4/0SV E7FYpUvWndeijRu9s9aefZgljxx6W3S0WYool4U123UY7ytlAIAohfMOAKTGphar+9BZ D6tZOwuvYiXVvNmxYF94tpf4tm/KZ4N0HJv3k= Original-Received: by 10.90.52.1 with SMTP id z1mr2368927agz.112.1218503128622; Mon, 11 Aug 2008 18:05:28 -0700 (PDT) Original-Received: from ?192.168.0.100? ( [201.82.8.42]) by mx.google.com with ESMTPS id 32sm1746770wri.0.2008.08.11.18.05.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 Aug 2008 18:05:27 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 In-Reply-To: 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:102309 Archived-At: > (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)