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 16:46:24 +0530 Message-ID: <5a1d5274-26ae-9036-956b-39c3d2d6d35e@openmailbox.org> References: <2d520b33-249a-f112-8ab6-1b89c3c76512@openmailbox.org> <87vaowhcyw.fsf@debian.tompa.tv> 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 1495365433 1753 195.159.176.226 (21 May 2017 11:17:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 May 2017 11:17:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 To: Tomas Nordin , 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:17:09 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 1dCOrF-0000HX-HB for geh-help-gnu-emacs@m.gmane.org; Sun, 21 May 2017 13:17:09 +0200 Original-Received: from localhost ([::1]:37379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCOrH-0001Bg-5c for geh-help-gnu-emacs@m.gmane.org; Sun, 21 May 2017 07:17:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCOqm-0001BQ-TH for help-gnu-emacs@gnu.org; Sun, 21 May 2017 07:16:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCOqj-0000m9-K7 for help-gnu-emacs@gnu.org; Sun, 21 May 2017 07:16:40 -0400 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:50259 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 1dCOqj-0000lW-Bu for help-gnu-emacs@gnu.org; Sun, 21 May 2017 07:16:37 -0400 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id 743E650D341; Sun, 21 May 2017 13:16:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1495365395; bh=movMci87vxA2zDKZmg4XA6u7DiNEACtcCErnzgt0QV4=; h=Subject:To:References:From:Date:In-Reply-To:From; b=F/DVo1gE04ip0r6B4gKC0TK1+nor3kTWMpBWtl10Ae0ffwUQ4KbyG59GRIuGi0hCf B982IhRW8yt9/535PceUcuJnR4baU76yFMZObRTIU2de+iU/KzkLLgRiaMNp3V7Hvn E/yb+0ODXDITyIIPgB34Mbhlkw+Dq0hCFFGCL0wo= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1495365395; bh=movMci87vxA2zDKZmg4XA6u7DiNEACtcCErnzgt0QV4=; h=Subject:To:References:From:Date:In-Reply-To:From; b=F/DVo1gE04ip0r6B4gKC0TK1+nor3kTWMpBWtl10Ae0ffwUQ4KbyG59GRIuGi0hCf B982IhRW8yt9/535PceUcuJnR4baU76yFMZObRTIU2de+iU/KzkLLgRiaMNp3V7Hvn E/yb+0ODXDITyIIPgB34Mbhlkw+Dq0hCFFGCL0wo= In-Reply-To: <87vaowhcyw.fsf@debian.tompa.tv> 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:113101 Archived-At: On Saturday 20 May 2017 12:48 AM, Tomas Nordin wrote: > Krishnakant writes: > >> Hi, >> >> let's say I have my cursor on a def func(): >> >> I wish to know if there is a way to highlite where this indented block >> of function ends? > Since some time back I have started using elpy-mode for python. As far > as I can remember it has this highlighting of indentation on per > default. If that is what you mean. I remember because in the beginning I > didn't like it, but now I do. > > Right now I cannot remember what the variable or hook is to turn it on > and off. Elpy comes with other nice things, like M-. works out of the > box to jump to a definition of something. > I tryed it and seems that since I shifted from using space to tabs, the highlighting from within elpy is gone. I think may be I will have to shift back to spaces any how. Happy hacking. Krishnakant.