From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.help Subject: Re: how to highlight block end in Python-mode indentation Date: Fri, 19 May 2017 21:18:47 +0200 Message-ID: <87vaowhcyw.fsf@debian.tompa.tv> References: <2d520b33-249a-f112-8ab6-1b89c3c76512@openmailbox.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495221245 10820 195.159.176.226 (19 May 2017 19:14:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 May 2017 19:14:05 +0000 (UTC) To: Krishnakant , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 19 21:14:01 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 1dBnLc-0002h8-Ja for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 21:14:00 +0200 Original-Received: from localhost ([::1]:59982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBnLi-0000Y0-3l for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 15:14:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBnLH-0000Wh-HK for help-gnu-emacs@gnu.org; Fri, 19 May 2017 15:13:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBnLC-000565-F9 for help-gnu-emacs@gnu.org; Fri, 19 May 2017 15:13:39 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:45010) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBnLC-00054I-7m for help-gnu-emacs@gnu.org; Fri, 19 May 2017 15:13:34 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A70C120D5B for ; Fri, 19 May 2017 21:13:24 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3wTyPv46Tyz10BF; Fri, 19 May 2017 21:13:23 +0200 (CEST) In-Reply-To: <2d520b33-249a-f112-8ab6-1b89c3c76512@openmailbox.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 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:113075 Archived-At: 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. > > Same applies to if, for and while etc. > > It comes in very handy when there is nested indentation. > > > Happy hacking. > > Krishnakant. > >