From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathon Isaac Swiderski Newsgroups: gmane.emacs.help Subject: Opening *Calendar* in its own frame Date: Mon, 20 Jan 2003 15:16:19 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1043094970 30064 80.91.224.249 (20 Jan 2003 20:36:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2003 20:36:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18aieP-0007oj-00 for ; Mon, 20 Jan 2003 21:36:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18aidp-0007bM-0B for gnu-help-gnu-emacs@m.gmane.org; Mon, 20 Jan 2003 15:35:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsxfer.eecs.umich.edu!news.itd.umich.edu!timepilot.gpcc.itd.umich.edu!jonswid Original-Newsgroups: gnu.emacs.help X-X-Sender: jonswid@timepilot.gpcc.itd.umich.edu Original-Lines: 37 Original-NNTP-Posting-Host: 141.211.2.206 Original-X-Trace: news.itd.umich.edu 1043093780 141.211.2.206 (Mon, 20 Jan 2003 15:16:20 EST) Original-NNTP-Posting-Date: Mon, 20 Jan 2003 15:16:20 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:109250 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5774 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5774 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.