From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Krishnakant Newsgroups: gmane.emacs.help Subject: Re: how to highlight block end in Python-mode indentation Date: Sun, 21 May 2017 17:08:37 +0530 Message-ID: <6624ae5f-ff47-ebd4-2c0f-871c9845d29b@openmailbox.org> References: <2d520b33-249a-f112-8ab6-1b89c3c76512@openmailbox.org> <87vaowhcyw.fsf@debian.tompa.tv> <5a1d5274-26ae-9036-956b-39c3d2d6d35e@openmailbox.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495366768 14140 195.159.176.226 (21 May 2017 11:39:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 May 2017 11:39:28 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 To: Skip Montanaro , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 21 13:39:24 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCPCm-0003Z9-D1 for geh-help-gnu-emacs@m.gmane.org; Sun, 21 May 2017 13:39:24 +0200 Original-Received: from localhost ([::1]:37486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCPCr-0004yR-Mm for geh-help-gnu-emacs@m.gmane.org; Sun, 21 May 2017 07:39:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCPCQ-0004yK-JE for help-gnu-emacs@gnu.org; Sun, 21 May 2017 07:39:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCPCN-00014j-Hk for help-gnu-emacs@gnu.org; Sun, 21 May 2017 07:39:02 -0400 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:52372 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCPCN-00014T-Ax for help-gnu-emacs@gnu.org; Sun, 21 May 2017 07:38:59 -0400 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id EA89150D42B; Sun, 21 May 2017 13:38:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1495366737; bh=jqkAbtWRSbkl3Pspne+NvHtFAM2NTjmPW4R7xNeHBrk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=oaCN4+xh3+IuJ0iV4iCMNxQ5FcKQTIYUDmMzcnvMtrex8DmEHg08MxC9aAKRNOT/2 4q+OmEjvyjKv8RTmu1306jOJjhvkQhJTmyTpTE0WflcTACYgTal0JG9Ubm3JhPAwqc 20+GQk2xeQAYbW39zohY95+xMKlyRdBXLTrzSEVQ= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1495366727; bh=jqkAbtWRSbkl3Pspne+NvHtFAM2NTjmPW4R7xNeHBrk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=VWqcC1i75pU5W5e63cvXgtdbQjm8kFoFA54dwJDDOk86qVgSTHKMK0xZrbO9DZX7S s9/b+XQ0zQdX0LeudOsK21b5pB9pB3Pdkq3lbgiVd4bjfCAEObXfEguWsvtDngtMkP VEY4C+ejBKMlFr6eWtTJor0OB9PLAZggZKXLgxTo= In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.79.108.160 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113103 Archived-At: On Sunday 21 May 2017 04:57 PM, Skip Montanaro wrote: > Not too insert too much software engineering into the discussion, but how > big are your blocks (and how small is your block indentation) that you need > to highlight the end of a block to be sure where it ends? > The base is large enough, more than 1500 lines in a buffer (python module ). There is a lot of nesting going on and we all know that we do get lost in it. Do you have some solution? Basically I have now figured out that spaces instead of tabs makes elpy work fine with highlight-indentation-mode. So our team will have to switch to using spaces again. Happy hacking. Krishnakant.