From: David Shepherd <davidshepherd7@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 19256@debbugs.gnu.org
Subject: bug#19256: 24.3; Bad interaction between calendar.el and pop-up-frames
Date: Wed, 3 Dec 2014 10:35:20 +0000 [thread overview]
Message-ID: <CAOdAAt1QtX7yR65PVsC9C4t2L5AWc-oJ0GCD6PWDnxjYoFQpxA@mail.gmail.com> (raw)
In-Reply-To: <robnnl1cfr.fsf@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1509 bytes --]
Glenn Morris wrote:
> Sorry, I don't understand what the bug is supposed to be?
> You asked for new frames to be popped up, and you got one.
Sorry I should have been more specific. Calender.el implements it's own
window/frame control scheme depending on the value of calendar-setup. The
default setting is nil, which specifies that the calendar should open in a
new window within the same frame. However, when pop-up-frames is non-nil a
copy of the current frame is created and the calendar is opened in a window
within that frame.
That's probably not very clear so I'll give an example. Lets say I have one
frame open containing a single window displaying buffer A. I do M-x
calendar. I now have two frames open. The frame that was open initially is
still there and unchanged. The second frame contains two windows: one
displaying buffer A and the other displaying the calendar.
If that's still not very clear (sorry it's quite difficult to explain) then
it might be easier to just try it and see watch what happens.
I should also point out that it is possible to set calendar-setup to
display the calendar in a separate frame. This works as expected when
combined with a non-nil pop-up-frames setting. However the calendar
function is used by org-mode to enter time stamps, and in this context there
is a let block setting calendar-setup to nil
<https://github.com/jwiegley/org-mode/blob/master/lisp/org.el#L16281>. So
it is impossible to avoid using this combination of settings when using
org-mode.
[-- Attachment #2: Type: text/html, Size: 1670 bytes --]
next prev parent reply other threads:[~2014-12-03 10:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-02 18:40 bug#19256: 24.3; Bad interaction between calendar.el and pop-up-frames David Shepherd
2014-12-02 21:00 ` Stefan Monnier
2014-12-03 6:20 ` Glenn Morris
2014-12-03 10:35 ` David Shepherd [this message]
2014-12-04 3:04 ` Glenn Morris
2021-09-04 7:36 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOdAAt1QtX7yR65PVsC9C4t2L5AWc-oJ0GCD6PWDnxjYoFQpxA@mail.gmail.com \
--to=davidshepherd7@gmail.com \
--cc=19256@debbugs.gnu.org \
--cc=rgm@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.