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#18381: 24.3.93; Diary can wrongly be displayed in Calendar's window Date: Thu, 04 Sep 2014 14:27:49 +0200 Message-ID: <54085AC5.5050304@gmx.at> References: <87k35nqtdd.fsf@rosalinde.fritz.box> 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 1409833770 6311 80.91.229.3 (4 Sep 2014 12:29:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2014 12:29:30 +0000 (UTC) To: Stephen Berman , 18381@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 14:29:22 2014 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 1XPWAD-0006kM-1C for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Sep 2014 14:29:21 +0200 Original-Received: from localhost ([::1]:50563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPWAC-000062-KA for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Sep 2014 08:29:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPWA1-0008V4-VE for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2014 08:29:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPW9u-0004AH-Fk for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2014 08:29:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPW9u-0004AD-D0 for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2014 08:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XPW9t-0006jL-Ni for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2014 08:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Sep 2014 12:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18381 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18381-submit@debbugs.gnu.org id=B18381.140983368825808 (code B ref 18381); Thu, 04 Sep 2014 12:29:01 +0000 Original-Received: (at 18381) by debbugs.gnu.org; 4 Sep 2014 12:28:08 +0000 Original-Received: from localhost ([127.0.0.1]:58474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XPW91-0006iC-Eg for submit@debbugs.gnu.org; Thu, 04 Sep 2014 08:28:07 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:53139) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XPW8y-0006hh-KJ for 18381@debbugs.gnu.org; Thu, 04 Sep 2014 08:28:05 -0400 Original-Received: from [188.22.104.238] ([188.22.104.238]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MLB89-1XPnG039f7-000M1p; Thu, 04 Sep 2014 14:27:57 +0200 In-Reply-To: <87k35nqtdd.fsf@rosalinde.fritz.box> X-Provags-ID: V03:K0:gNudKyU6rbVH/KKkNKaPupQBE0HG+sz314yShPhWcKymzMtfXyQ HBa/JA9GGKYe9RErneZyY7QL8QnU4DCeM4i0oH2eKXOUZ/fQB6bZ6aoMQHzaS8X8zR1c48z ORnGlipoYsEGbhH66K3WmATOttivsKAVboPKbop33C2oOtJgxnBuTm0THbkb/gAkQqm1B3d w3/SjpGft6Lv9vIOwkYlA== 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:93017 Archived-At: > 0. emacs -Q > 1. Type `M-x calendar' and then `i d' to create a diary file with an > entry for today. > 2. M-x customize-option RET calendar-view-diary-initially-flag RET, > toggle the value to `On' and save for current session. > 3. M-x diary => The diary entry made in step 1 is displayed (in the > Fancy Diary) in the lower window (which is not the selected window). The window you're using to display `diary' here ... > 4. M-x calendar => The lower window resizes to fit the Calendar, which > is fleetingly displayed in it but then replaced by the Fancy Diary > display (in the same resized window). ... is the same window where you first show the calendar here. As a consequence, `display-buffer-in-previous-window' will find a window where you have shown `diary' already and reuse that window. I'm not sure what's the best thing to do here - maybe we should remove `display-buffer-in-previous-window' from `display-buffer-fallback-action' in `calendar-in-read-only-buffer'. martin