help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening *Calendar* in its own frame


From: Matt
Subject: Re: Opening *Calendar* in its own frame
Date: Mon, 20 Jan 2003 21:58:10 GMT
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Glenn Morris wrote:
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.


That works. I added
        
        (select-frame-by-name "*scratch*")

to return focus to the main frame.

-- Matt
--
Remove the X's to reply directly.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]