From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rock Storm Newsgroups: gmane.emacs.help Subject: Re: Python docstring folding Date: Tue, 20 Nov 2018 19:16:58 +0000 Message-ID: <20181120191658.GB2480@rockop> References: <20181120174557.GA2480@rockop> <5c01f3f8-a9a9-4d73-8cc0-2ec64ad4e88c@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1542741336 14504 195.159.176.226 (20 Nov 2018 19:15:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 19:15:36 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 20:15:32 2018 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 1gPBUh-0003d1-Re for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 20:15:31 +0100 Original-Received: from localhost ([::1]:35518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPBWo-0001zx-5r for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 14:17:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPBWI-0001yw-Hx for help-gnu-emacs@gnu.org; Tue, 20 Nov 2018 14:17:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPBWF-0002Oo-B7 for help-gnu-emacs@gnu.org; Tue, 20 Nov 2018 14:17:10 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:44557) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPBWE-0002NC-V7 for help-gnu-emacs@gnu.org; Tue, 20 Nov 2018 14:17:07 -0500 Original-Received: from rockop ([80.192.180.100]) by mail.gmx.com (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id 0M1zFf-1fbTRX3IZX-00u0IQ; Tue, 20 Nov 2018 20:17:00 +0100 Content-Disposition: inline In-Reply-To: <5c01f3f8-a9a9-4d73-8cc0-2ec64ad4e88c@default> X-Provags-ID: V03:K1:rd3c/g2m/klpFzBtrSM+Q8z3IziPqJx21EXmHWnwCycBEkNC741 2xsLdO8cZnPyCRY+dWXKkiFcZx/RqOybITg5ZPZlKdC9fKSsepKzqtuPtiw8BCrBLCc/8ns e9/8C4djYKvJf0qtUB3Yciv7kvB6YSohA4ETXOGpJQXKyazpl1fvp/7zk923YKxkYBWNsj9 XtRmGuMNFhLQySwQoXD2Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:mslDjZh2c6M=:gikBODqPR6fLkmxW+9WZK8 HjUZ47mD0PTu/hzi/bwcbRvCoA9OWxO9G0lrWAsddkzRf6pLhDvmvrpTAtYwqEL5zSAWmB4DM Ctj5JFUULgIpYm01gsoopR4/PTN6vrZP0amfGGdCd7JbnUjvb4GAuBJ3+4B+Suz5CbwbZQMpE fM8sI4SlHJPLlknHRtX54JSZdSNfy2PVVuDRcmQuH5vLKpgVfrsgBot0hRRmzEPpqjiJBKcD9 WZUGoVniemD6382L24GKZY1vl3GLq8hDyotidwXgplhekL7dITk11Vi8abcaNY0NrkgJXp2Uf JUNGmb9j8oGPBvfaXbzq8ioOruRMB4KLFdteLNMYFsPpM8NF80bS3VuNf50XJb2aRkAhBGJmr agMZZs6aZkymsBolTP7Yp6tY+4A+Qjdu7md4bfkW0FFWBgwtiUQWSQclCX/ejCki7M85Hd6nX a0Bg6u+HHKvuMSDV0GdYeNfA/VVnZeU4IadPhR14oxOe0G0RlCYNgM7vL0mxppz+cmCzWEGil C63jUrZDkawbmNO7bdcwkVVD/SDVT1skZK34b92r3p76m/7tzk04E8OG4nYtR0weWAg6T+Kc1 kgKpoAWyUx3YP8q+PX58UmNX1Htx4baXpUjFHzM7Ob3kJhVy97YrqQhc4zwP1ui3hgm4pL/5L IwcJ+5MdsHsePkXP3bp3bpFw12Sph2hh57T97EBD71BJq4WXYXLdgYiJS81XGu2CpQywNTxKz 3JMHFaNcEb4DMn53L+myB180nByH7X99kHbgbM3cZqAKUZnfWbB9/zmKs4jRH36od4Nfl5SC X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 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:118723 Archived-At: On Tue, Nov 20, 2018 at 10:12:03AM -0800, Drew Adams wrote: > > I'm struggling with code folding. I installed > > 'outline-magic'. Which works great but it doesn't > > fold docstrings... Is there an easy way to achieve > > docstring folding? > > What do you mean by folding doc strings? What do you > want that it doesn't do? The behaviour I was expecting would be something similar to what this plugin does [1]. [1]: https://github.com/alecthomas/SublimeFoldPythonDocstrings > If you just want to toggle whether doc strings (only) > are hidden, see this: > > http://lists.gnu.org/archive/html/help-gnu-emacs/2018-11/msg00115.html Thanks a lot for the hint. I'll try that. However, isn't there a less complicated way of doing it? Is it so uncommon? How did Python developers live before you provided them with this? :P Thanks again, -- Rock Storm GPG KeyID: 4096R/C96832FD GPG Fingerprint: C304 34B3 632C 464C 2FAF C741 0439 CF52 C968 32FD