From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: emacs and X Date: Tue, 21 Sep 2004 12:35:35 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <41507477.3000302@yahoo.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1095791952 18294 80.91.229.6 (21 Sep 2004 18:39:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2004 18:39:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 21 20:39:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9pXf-0002Ch-00 for ; Tue, 21 Sep 2004 20:39:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9pdb-0000Lv-KZ for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Sep 2004 14:45:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: news.uni-berlin.de DFTSZVuh9CMif4O8xAa8wAT+dUE1LuJwjHQiLhBZoPa+O6F1U= User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:125449 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20805 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