From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
Subject: Re: Opening *Calendar* in its own frame
Date: Mon, 20 Jan 2003 21:17:24 +0000 [thread overview]
Message-ID: <11bs2bo717.fsf@ast.cam.ac.uk> (raw)
In-Reply-To: Pine.SOL.4.44.0301201504430.10926-100000@timepilot.gpcc.itd.umich.edu
Jonathon Isaac Swiderski wrote:
> I'm using v20.7.
[...]
> (if (eq window-system 'x) ; if we are running under X windows...
> (progn
> (calendar)
> (speedbar)))
>
>
> I'd like to have the calendar be in its own frame.
(require 'cal-x)
(setq calendar-setup 'calendar-only)
I think it's a bug that you have to require cal-x (same in Emacs-21.x, by
the way). There are some other options for calendar-setup you might like to
investigate.
> And if someone knows of a better way to do the
> if-there's-a-graphical-environment check, i'd appreciate tips on that,
> too, although I recall reading here previously that there doesn't seem to
> be a good way to do it.
(when (display-graphic-p)
(calendar)
(speedbar))
would be the recommended test in Emacs-21.x, but for 20.7 I'm not sure if
there is anything better than window-system.
next prev parent reply other threads:[~2003-01-20 21:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-20 20:16 Opening *Calendar* in its own frame Jonathon Isaac Swiderski
2003-01-20 21:17 ` Glenn Morris [this message]
2003-01-20 21:58 ` Matt
2003-01-20 23:01 ` Matt
2003-01-24 21:53 ` Jonathon Isaac Swiderski
2003-01-20 23:14 ` Galen Boyer
2003-01-21 3:04 ` Matt
2003-01-21 6:16 ` Eli Zaretskii
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=11bs2bo717.fsf@ast.cam.ac.uk \
--to=gmorris+news@ast.cam.ac.uk \
/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).