From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: how to highlight block end in Python-mode indentation Date: Fri, 19 May 2017 14:18:02 +0200 Message-ID: <87efvldoqt.fsf@fastmail.fm> References: <2d520b33-249a-f112-8ab6-1b89c3c76512@openmailbox.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1495196326 30227 195.159.176.226 (19 May 2017 12:18:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 May 2017 12:18:46 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.2.4 Cc: help-gnu-emacs@gnu.org To: Krishnakant Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 19 14:18:43 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 1dBgri-0007kC-AK for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 14:18:42 +0200 Original-Received: from localhost ([::1]:58508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBgrn-0001rW-Nh for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 08:18:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBgrM-0001rI-01 for help-gnu-emacs@gnu.org; Fri, 19 May 2017 08:18:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBgrI-00037O-Qe for help-gnu-emacs@gnu.org; Fri, 19 May 2017 08:18:19 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50665) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBgrI-000379-CF for help-gnu-emacs@gnu.org; Fri, 19 May 2017 08:18:16 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 45D7B20914; Fri, 19 May 2017 08:18:14 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 19 May 2017 08:18:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=hsV3fSFD10/zgsJ97+PC8E94RC6VP6BpJIWFoxtAn UQ=; b=lBmEL2tsKAqeH7hXCeYfPK5y1qeB9WA4DN2Ambh6YK0Dh/+zO2SEZaeUw q7QzEDHRSvOS4raX4+yti2SWHGP5VqXoFmi+swlv8X/DkOiyZnJD4GIwkBw4D+Jf 7fXf4E1pQfTxiU9XApMLqF2MsseGg5PnYexR46w5MyCCPfdlvKy2dMQM0IZafjOw hVY82x50/zyigtHnS/Kn4fLkYPwFqmNTGCkaS8u+u1GEvaOQtFMbabbfLkTXmLW3 SsIDLyaC+8ofbB77MAJkry/SmaH9stiXAlq4Y7ymniz5DpFjKuYxNbMGCYDsU3zV i+TF2XSk23GGwLXA6lqpVpmWq5ziQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=hsV3fSFD10/zgsJ97+ PC8E94RC6VP6BpJIWFoxtAnUQ=; b=kMi6LUMjJk/O7WVTdKHVZ/vQCjOjuQs9g5 HNB1EHIKnTAWBapWa8AcNzo3HwxmQvVcIia7Y1h58ngijHB/uJ+8K1mb1L/BtUg4 Tg368yfyLbCcm8v0iUg/5/yPNOEkVXlCWNmhptc/oACJiPa/F0DuVO1NjOOZaVyO M1Hctz/VLg/hmIqqL8E/4CPd7D5DO27lbquglA5seDtnPt2mI2s0lL9Rotg6O3Rd E18s96hG6/MDfKuVH5a+/B3igAiBtEkr8stFFObVzzWkJYc1QLvW+cBvjOBf+n7t QWkFGwwJtW6BRSqyhvUfe6GwRr/5hAe3NbHOM3LTF+GgEeeHDFpg== X-ME-Sender: X-Sasl-enc: 6qveOc0tpsq8MP6DR4IGBNCv1/Q3spYC1ksyVWndDZFA 1495196293 Original-Received: from IdeaPad.messagingengine.com (x4e33a0c0.dyn.telefonica.de [78.51.160.192]) by mail.messagingengine.com (Postfix) with ESMTPA id 981337E78C; Fri, 19 May 2017 08:18:13 -0400 (EDT) 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: 66.111.4.25 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:113070 Archived-At: 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. HTH -- Joost Kremers Life has its moments