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: Fri, 19 May 2017 18:00:14 +0530 Message-ID: References: <2d520b33-249a-f112-8ab6-1b89c3c76512@openmailbox.org> <87efvldoqt.fsf@fastmail.fm> 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 1495197066 28003 195.159.176.226 (19 May 2017 12:31:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 May 2017 12:31:06 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 19 14:31:02 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 1dBh3e-0007Bb-Gx for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 14:31:02 +0200 Original-Received: from localhost ([::1]:58548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBh3k-0004NO-5P for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 08:31:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBh32-0004Lu-Cw for help-gnu-emacs@gnu.org; Fri, 19 May 2017 08:30:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBh2z-0007OM-AC for help-gnu-emacs@gnu.org; Fri, 19 May 2017 08:30:24 -0400 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:36633 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 1dBh2z-0007O9-3C for help-gnu-emacs@gnu.org; Fri, 19 May 2017 08:30:21 -0400 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id 8AB30508666; Fri, 19 May 2017 14:30:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1495197019; bh=L0KYvUdFXw5KCSrVBRm9qtMWPFcPhhIKYNvq78s3JJE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EL2I/vGLJq+qi/mPb6vLU+U1nefYdS9KiG//n2hY6JoJY7uqHCfEUcHtWEFq8KVWK x1GIdhfGQDgxOFwgZaE94r+uBSHMZvJdcMRRwr7zrbYuz9B5qJTS2ToQOoI7Oky1ss RXreFpfbgzMq4IIA8yVeFrjZZhqddlNQuC6OlpuU= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1495197019; bh=L0KYvUdFXw5KCSrVBRm9qtMWPFcPhhIKYNvq78s3JJE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EL2I/vGLJq+qi/mPb6vLU+U1nefYdS9KiG//n2hY6JoJY7uqHCfEUcHtWEFq8KVWK x1GIdhfGQDgxOFwgZaE94r+uBSHMZvJdcMRRwr7zrbYuz9B5qJTS2ToQOoI7Oky1ss RXreFpfbgzMq4IIA8yVeFrjZZhqddlNQuC6OlpuU= In-Reply-To: <87efvldoqt.fsf@fastmail.fm> 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:113071 Archived-At: On Friday 19 May 2017 05:48 PM, Joost Kremers wrote: > > On Fri, May 19 2017, Krishnakant wrote: >> 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? >> >> Same applies to if, for and while etc. >> >> It comes in very handy when there is nested indentation. > > Perhaps not exactly what you're looking for, but it should serve the > same purpose: check out the packages highlight-indentation or (my > personal preference) indent-guide. Thank you, I am right now trying Smartparens to see if it serves my purpose. Then will try indent-guide. Happy hacking. Krishnakant.