Files
emacs/lisp
kobarity 7c7fc8fa5b Add Python blocks support for hideshow
* lisp/progmodes/python.el (python-nav-beginning-of-block-regexp):
New variable.
(python-hideshow-forward-sexp-function): Change to call
`python-nav-end-of-block'.
(python-hideshow-find-next-block): New function to be used as
FIND-NEXT-BLOCK-FUNC in `hs-special-modes-alist'.
(python-info-looking-at-beginning-of-block): New function to be
used as LOOKING-AT-BLOCK-START-P-FUNC in `hs-special-modes-alist'.
(python-mode): Change settings of `hs-special-modes-alist'.

* test/lisp/progmodes/python-tests.el
(python-hideshow-hide-levels-1): Fix to keep empty lines.
(python-info-looking-at-beginning-of-block-1)
(python-hideshow-hide-levels-3, python-hideshow-hide-levels-4)
(python-hideshow-hide-all-1, python-hideshow-hide-all-2)
(python-hideshow-hide-all-3, python-hideshow-hide-block-1): New
tests (bug#56635).
2022-08-25 14:29:10 +02:00
..
2022-08-21 17:52:03 +02:00
2022-07-19 15:21:56 +02:00
2022-08-06 16:55:51 +03:00
2022-08-24 06:38:36 +02:00
2022-08-09 22:44:21 +02:00
2022-07-11 11:30:00 +02:00
2022-08-10 11:21:24 +02:00
2022-07-19 14:13:25 +02:00
2022-08-08 14:23:29 +02:00
2022-05-28 07:06:30 +02:00
2022-06-27 15:32:53 +03:00
2022-08-22 19:22:33 +02:00
2022-07-14 12:13:31 +02:00
2022-08-05 11:47:05 +02:00
2022-08-01 01:17:16 -07:00
2022-07-14 12:52:32 +02:00
2022-08-01 01:17:16 -07:00
2022-07-22 22:43:38 +02:00
2022-07-11 11:30:00 +02:00
2022-08-19 06:30:21 +02:00
2022-08-22 19:22:33 +02:00
2022-08-21 23:38:20 +02:00
2022-04-01 20:07:33 -04:00
2022-08-07 14:41:01 +02:00
2022-07-26 13:49:28 -04:00
2022-07-26 14:23:30 +02:00
2022-08-22 19:22:33 +02:00
2022-08-04 11:39:16 +02:00
2022-07-04 17:01:53 +02:00
2022-08-13 14:40:58 +02:00
2022-04-05 17:08:03 +02:00
2022-08-13 06:30:27 +02:00
2022-07-14 11:37:42 +02:00
2022-07-04 14:56:11 +02:00
2022-07-14 11:37:42 +02:00
2022-08-01 01:17:16 -07:00
2022-08-22 19:22:33 +02:00
2022-08-04 11:39:23 +02:00
2022-02-03 06:30:29 +01:00
2022-07-20 22:38:01 +02:00
2022-08-08 14:23:29 +02:00
2022-02-05 08:50:05 +01:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.