unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rock Storm <rockstorm@gmx.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Python docstring folding
Date: Tue, 20 Nov 2018 19:16:58 +0000	[thread overview]
Message-ID: <20181120191658.GB2480@rockop> (raw)
In-Reply-To: <5c01f3f8-a9a9-4d73-8cc0-2ec64ad4e88c@default>

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



  reply	other threads:[~2018-11-20 19:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20 17:45 Python docstring folding Rock Storm
2018-11-20 18:12 ` Drew Adams
2018-11-20 19:16   ` Rock Storm [this message]
2018-11-26 17:04     ` Tomas Nordin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181120191658.GB2480@rockop \
    --to=rockstorm@gmx.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).