unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Weird behavior with magit re. frames
Date: Sun, 31 May 2020 15:19:52 +0900	[thread overview]
Message-ID: <3CA0834C-7617-4B9B-9AB0-69684745F97E@traduction-libre.org> (raw)

I found this code

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


from the perspective.el page, at:

https://github.com/nex3/perspective-el#some-musings-on-emacs-window-layouts

For some reason, this very weirdly conflicts with magit when I have 2+ frames with different front facing buffers.

-> in one frame, I do magit-status, stage modifications, and the moment I hit c to commit, the frame is killed, I am moved to the other frame and magit tells me that there is nothing staged in the new frame, do I want to commit everything ?

I don't know how to reproduce that in emacs -Q because I don't know how to load magit from emacs -Q, so it's probably only my system, but I'd like to know if it is reproduced on other machines. If it is, it should be reported as a magit bug I guess.

Thank you in advance.

-- 
Jean-Christophe Helary @brandelune
http://mac4translators.blogspot.com




             reply	other threads:[~2020-05-31  6:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31  6:19 Jean-Christophe Helary [this message]
2020-05-31 12:46 ` Weird behavior with magit re. frames Perry Smith
2020-05-31 13:58   ` Jean-Christophe Helary
2020-05-31 14:02     ` Jean-Christophe Helary
2020-05-31 14:04     ` Perry Smith
2020-05-31 13:02 ` Skip Montanaro
2020-05-31 13:57   ` Jean-Christophe Helary
2020-05-31 16:50 ` Noam Postavsky
2020-05-31 18:50 ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CA0834C-7617-4B9B-9AB0-69684745F97E@traduction-libre.org \
    --to=jean.christophe.helary@traduction-libre.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).