[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs and X
From: |
Kevin Rodgers |
Subject: |
Re: emacs and X |
Date: |
Tue, 21 Sep 2004 12:35:35 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
JayBingham wrote:
> There is a built-in function that will do this, set-frame-position;
> unfortunately it is not an interactive function. So in order to use
> it you will need to write a little interactive elisp function.
Or make set-frame-position itself an interactive command:
(defadvice set-frame-position (before interactive activate)
"Add an `interactive' spec."
(interactive (list (selected-frame)
(string-to-int (read-string "X position: (default 0) "
nil nil "0"))
(string-to-int (read-string "Y position: (default 0) "
nil nil "0")))))
--
Kevin Rodgers