elpy icon indicating copy to clipboard operation
elpy copied to clipboard

DOC: elpy-folding-fringe-indictors without default

Open buhtz opened this issue 4 years ago • 1 comments

It is possible that I missunderstand something.

The Docs telling me that there are arrows on the left when folding (in python code) is possible. They are not there. But folding is possible with the key-shortcuts.

The Docs also tell me about elpy-folding-fringe-indicator. But there is [No match] when I do describe variable (C-h v).

This is GNU Emacs, one component of the GNU/Linux operating system.

GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2021-01-31, modified by Debian


Elpy Configuration

Virtualenv........: None
RPC Python........: 3.7.3 (/usr/bin/python3)
Interactive Python: /usr/bin/python3 (/usr/bin/python3)
Emacs.............: 26.1
Elpy..............: 1.28.0
Jedi..............: 0.17.2 (0.18.0 available)
Rope..............: Not found
Autopep8..........: 1.5.3
Yapf..............: Not found
Black.............: Not found
Syntax checker....: flake8 (/usr/local/bin/flake8)

buhtz avatar Aug 05 '21 09:08 buhtz

As of elpy-20220922.2253, the elpy module that provides the display of the arrows that indicate folding is not active. I added the following to my initialization file to enable it:

  (unless (member 'elpy-module-folding elpy-modules)
      (add-to-list 'elpy-modules 'elpy-module-folding))

I configure elpy via use-package and put the expression in the :config section. The arrows now appear (but they are very small!)

hknox avatar Jan 27 '23 11:01 hknox