From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#18732: [PATCH] whitespace-mode: add 'big-indent style highlighting big indention Date: Fri, 17 Oct 2014 08:56:44 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413550644 28129 80.91.229.3 (17 Oct 2014 12:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 12:57:24 +0000 (UTC) Cc: 18732@debbugs.gnu.org To: Michal Nazarewicz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 14:57:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xf75o-0008Lt-IW for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 14:57:16 +0200 Original-Received: from localhost ([::1]:59839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf75o-0000Su-9D for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 08:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf75g-0000Sp-8D for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 08:57:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf75a-0006zO-TT for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 08:57:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf75a-0006zK-NW for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 08:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xf75a-0005rj-A3 for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2014 08:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Oct 2014 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18732 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18732-submit@debbugs.gnu.org id=B18732.141355061122527 (code B ref 18732); Fri, 17 Oct 2014 12:57:02 +0000 Original-Received: (at 18732) by debbugs.gnu.org; 17 Oct 2014 12:56:51 +0000 Original-Received: from localhost ([127.0.0.1]:46654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xf75P-0005rG-1m for submit@debbugs.gnu.org; Fri, 17 Oct 2014 08:56:51 -0400 Original-Received: from mail-qa0-f52.google.com ([209.85.216.52]:36879) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xf75L-0005r3-LY for 18732@debbugs.gnu.org; Fri, 17 Oct 2014 08:56:48 -0400 Original-Received: by mail-qa0-f52.google.com with SMTP id dc16so428105qab.39 for <18732@debbugs.gnu.org>; Fri, 17 Oct 2014 05:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=7EZQRhyc3k/y2q0FV+VcU6IY1n/eHtmNXOucPvQdprs=; b=aWuBvDAoUKeVdI5eXFcbjL4q10OSLG3n/5cBvpVKwhUCBU7vnoJCY+KnAukJGDs+pL uXRERFrx/0JhVd57gXqGjxVcShBPK5i3KPA7BkYpgl9E9qLwwW/ZImk78af9fyl+UKIF kuOmmJe4Btsov+72/KFt4zbBjguqq/3DJfvYc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=7EZQRhyc3k/y2q0FV+VcU6IY1n/eHtmNXOucPvQdprs=; b=L2hfrllZ+zl10rppyRxfckJU8BwqSpEdK9Mbe9/1vbKSSqjaX301BxX+y9jV4Nu0mQ wZuL7oIA5iJ/5eU8HL+UhX0XoOUJ4eUUveylKRHl1tF9tUss/ksJX3aIdxzOi45luYjZ RyEKWUWczCBb7cl8GmTbupJAJ/whv+F7cDW37PvCBPiKjc9hlsJG3+UccUHwEXTA6I1+ LWMwsYdfhKkuPC2DyDqhC/3B+PbvwGq4F701vc6I29BlGonfrGD6TsijRSL81bTdOdNw kbPAhHR35oV1LENSkVVWK3QukDJ4LIaLgnrzrU1WBVowTXhPQnmdI5+EVC+JkrHxk/TL L3Fg== X-Gm-Message-State: ALoCoQl72ck9JQf52DJ5YWf27AP54OUEsreSvX7FmeRdTZRT+bORqxMVMQFOo9KOR99hDKiCsert X-Received: by 10.140.101.120 with SMTP id t111mr11344537qge.6.1413550606841; Fri, 17 Oct 2014 05:56:46 -0700 (PDT) Original-Received: from bug.local ([198.0.146.153]) by mx.google.com with ESMTPSA id d32sm837030qge.20.2014.10.17.05.56.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Oct 2014 05:56:46 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Michal Nazarewicz's message of "Fri, 17 Oct 2014 09:39:42 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94670 On Fri, 17 Oct 2014 09:39:42 +0200 Michal Nazarewicz wrote: MN> Add a 'big-indent style to `whitespace-mode' indicating when indention MN> level is getting too big. By default, 32 spaces and four TABs are MN> considered to be a big indention but `whitespace-many-tabs-regexp' can ^^^^^^^^^^^^^^^^^^^^^^^^^^^ The regexp var was renamed to `whitespace-big-indent-regexp' so the above note needs changing. MN> +;; `whitespace-tab-regexp' Specify many TAB characters regexp. MN> +;; Copy+paste bug. MN> + (const :tag "(Face) Big indentation" big-indent) Maybe "Too much line indentation" would be a better user-facing tag. MN> +(defcustom whitespace-big-indent-regexp ... MN> + :type '(regexp :tag "Big indention") Typo in tag, and maybe reword to "Detect too much indentation at the beginning of a line". MN> + [] C-t - toggle big indention visualization Typo. Looks good otherwise, I can't wait to start using it! Thanks for working on it. Ted