all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Opening *Calendar* in its own frame
@ 2003-01-20 20:16 Jonathon Isaac Swiderski
  2003-01-20 21:17 ` Glenn Morris
  2003-01-20 23:14 ` Galen Boyer
  0 siblings, 2 replies; 8+ messages in thread
From: Jonathon Isaac Swiderski @ 2003-01-20 20:16 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-24 21:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20 20:16 Opening *Calendar* in its own frame Jonathon Isaac Swiderski
2003-01-20 21:17 ` 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

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.