From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#20206: 25.0.50; [PATCH] keep diff-mode's window visible when we visit sources from diff-mode Date: Mon, 30 Mar 2015 10:37:38 +0200 Message-ID: <55190B52.4030603@gmx.at> References: <87a8yzy5t4.fsf@secretsauce.net> <551456ED.8060101@gmx.at> <871tk9y55v.fsf@secretsauce.net> <55167B5F.5040300@gmx.at> <87vbhkx054.fsf@secretsauce.net> <55183DD8.8000709@gmx.at> <87pp7rwojr.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1427704795 9726 80.91.229.3 (30 Mar 2015 08:39:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2015 08:39:55 +0000 (UTC) Cc: 20206@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 10:39:46 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YcVEV-0000uK-L6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Mar 2015 10:39:43 +0200 Original-Received: from localhost ([::1]:60264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcVEU-00039k-WB for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Mar 2015 04:39:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcVCy-0000vw-FL for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 04:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcVCs-0004PF-TX for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 04:38:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcVCs-0004P9-RA for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 04:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YcVCs-0008T8-Hs for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 04:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Mar 2015 08:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20206 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20206-submit@debbugs.gnu.org id=B20206.142770466932527 (code B ref 20206); Mon, 30 Mar 2015 08:38:02 +0000 Original-Received: (at 20206) by debbugs.gnu.org; 30 Mar 2015 08:37:49 +0000 Original-Received: from localhost ([127.0.0.1]:39999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcVCe-0008SY-UX for submit@debbugs.gnu.org; Mon, 30 Mar 2015 04:37:49 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:61963) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcVCc-0008S6-G4 for 20206@debbugs.gnu.org; Mon, 30 Mar 2015 04:37:47 -0400 Original-Received: from [194.166.85.52] ([194.166.85.52]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LoVBq-1Z5nLC26Ac-00gaXn; Mon, 30 Mar 2015 10:37:40 +0200 In-Reply-To: <87pp7rwojr.fsf@secretsauce.net> X-Provags-ID: V03:K0:6w126c/bToyhi04ioGYqO5q8AUwyDG3CGEybil0ytpcR7ADjqh6 y1zZMVzI0LJ5S4LQLEa3e5V2YAwjcCLt6S75z0wX67Sb/fA4zyFx6AF5tyMw5tEMglKlG+z Ps2HwVizSY0upDZhd/IlhOBXPQ03vtZS43Ar/uZkIhcN5jiKoDoZ2FWq612mSwnrFAjxzxx p8EZSXbHgDg8vh8Ljv5+A== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101039 Archived-At: > Well sure. This was a contrived example specifically constructed to show > this behavior. The original bug report came from seeing this during > normal use of gud, so I still think the complaint is valid. OK. I believe you. > I think this is only a question of defaults. Specifically, any time we > (pop-to-buffer) or (display-buffer) in response to an interactive user > action, we should default to not covering up the user's buffer. This > would apply to use cases like gud, diff, cscope and so on. I don't know > enough about the development of this to know if it makes sense to change > the defaults only in the interactive case or in general. Do you see > reasons to keep the default as it is? The exclusion would be one and one only: namely that the buffer these functions are supposed to show has appeared in the selected window before. In general a user might want to see *Help* or *info* at a location where she has seen it before and not literally jump through the available windows of the frame. Maybe this misfires in the case at hand. martin