unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jonathon Isaac Swiderski <jonswid@umich.edu>
Subject: Opening *Calendar* in its own frame
Date: Mon, 20 Jan 2003 15:16:19 -0500	[thread overview]
Message-ID: <Pine.SOL.4.44.0301201504430.10926-100000@timepilot.gpcc.itd.umich.edu> (raw)


I'm using v20.7.  I've the following in my .emacs to start speedbar and
calendar when in a window system.  Since i was using X11 when I got it from
a classmate, that's what it checks for, although it seems to work just fine
under Solaris 8's CDE.

(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.  How can I do this?  I
thought of (make-frame (calendar)), but when I just now did in emacs

M-x eval-expression (make-frame (calendar))

, I got two of them -- one in a new frame, and one in the old frame.  (Yes,
I know they're the same buffer, but that's beside the point.)  Is it
possible to have the calendar just be in the one (newly-created) frame,
somewhat like the speedbar?

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.  Currently the only window-system i use on a regular
basis is Solaris 8's CDE.

Thanks.

-- 
Jonathon Isaac Swiderski \\ dangercat-20@dangercat.net
cs.oberlin.edu/~jswiders  \\  www.dangercat.net/resume

Reason number #103 to use Linux: Because Linux users
are the social 3l337.

             reply	other threads:[~2003-01-20 20:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20 20:16 Jonathon Isaac Swiderski [this message]
2003-01-20 21:17 ` Opening *Calendar* in its own frame Glenn Morris
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=Pine.SOL.4.44.0301201504430.10926-100000@timepilot.gpcc.itd.umich.edu \
    --to=jonswid@umich.edu \
    /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).