[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cycling first N heading levels in outline
From: |
Stefan Monnier |
Subject: |
Re: Cycling first N heading levels in outline |
Date: |
Mon, 24 May 2021 12:27:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I have looked at how functions are folded. But if you call elisp code (which
> always involves using parentheses) they also get to be interpreted as
> headings.
> Can this be fixed please, so that only elisp structure constructs are
> interpreted
> as headlines [e.g. "(defun" "(defvar"].
This is not a bug but a feature. If you want to group several ELisp
code entries together, you can wrap them in a `progn` (or something
else like Setup's `setup` macro, or `use-package`, ...).
In ELisp packages (as opposed to user config files), there pretty much
shouldn't be any function calls at top-level, since loading such a file
should have virtually no user-visible effect.
Stefan
- Re: Cycling first N heading levels in outline, (continued)
- Re: Cycling first N heading levels in outline, Ihor Radchenko, 2021/05/23
- Re: Cycling first N heading levels in outline, Jean Louis, 2021/05/23
- Cycling first N heading levels in outline, Christopher Dimech, 2021/05/23
- Re: Cycling first N heading levels in outline, Tassilo Horn, 2021/05/23
- Re: Cycling first N heading levels in outline, Stefan Monnier, 2021/05/23
- Cycling first N heading levels in outline, Christopher Dimech, 2021/05/24
- Re: Cycling first N heading levels in outline, Kévin Le Gouguec, 2021/05/24
- Cycling first N heading levels in outline, Christopher Dimech, 2021/05/24
- Cycling first N heading levels in outline, Christopher Dimech, 2021/05/25
- Cycling first N heading levels in outline, Christopher Dimech, 2021/05/24
- Re: Cycling first N heading levels in outline,
Stefan Monnier <=
- Cycling first N heading levels in outline, Christopher Dimech, 2021/05/24
- Re: Cycling first N heading levels in outline, Ihor Radchenko, 2021/05/26