Skip to content

unexpected behavior based on the value of "display-buffer-alist" #4132

@brandelune

Description

@brandelune

The code that is proposed here:
https://github.com/nex3/perspective-el#some-musings-on-emacs-window-layouts
to stabilize emacs Windows behavior severely conflicts with magit's basic behavior.

(setq display-buffer-alist
'((".*" (display-buffer-reuse-window display-buffer-same-window))))

The issue I registered there involves 2 frames:
nex3/perspective-el#129

But even with one frame, magit's behavior is unsatisfactory.

With only one frame, here is the behavior:

c c on staged contents → should display the commit message interface
instead, it reopens the diff display and then, a new c is required to access the commit message interface.

With 2 frames, the same c c kills the frame in which it was called and calls a diff on the front buffer of the other frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions