Skip to content

magit section cannot show content correctly #4739

@Elilif

Description

@Elilif

Description

When I toggle magit section by calling magit-section-toggle in magit buffer, that command occasionally expand the previous section.
Peek 2022-08-19 09-34

Steps to Reproduce

    $ cd ~/.emacs.d/elpa/magit-N
    $ emacs -Q --debug-init --eval '(setq debug-on-error t)' -L ../dash-N -L ../git-commit-N -L ../transient-N -L ../with-editor-N -L ../ghub-N  -L ../compat-N -L ../magit-section-N -L . -l magit

then enter magit buffer and type TAB (magit-section-toggle)

Backtrace

there no error occurs.

Expected Results

Peek 2022-08-19 09-36

Environment

dash-20220608.1931
git-commit-20220803.2341
transient-20220806.2224
with-editor-20220810.1159
compat-28.1.2.0
magit-section-20220810.1158
magit-20220814.1855
emacs-version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-08-19 emacs-repository-version: 67ec99418079dc6443b73b60840dc281ba2a68ae

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug emacsA bug in Emacs that affects us

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions