From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Mickey Ferguson" Newsgroups: gmane.emacs.bugs Subject: bug in set-frame-position? Date: Mon, 17 Jan 2005 13:58:46 -0800 Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1106020975 16495 80.91.229.6 (18 Jan 2005 04:02:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 04:02:55 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 18 05:02:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CqkZs-0000xA-00 for ; Tue, 18 Jan 2005 05:02:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cqkll-0004AX-4a for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jan 2005 23:15:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 19 Original-NNTP-Posting-Host: 67.151.52.10 Original-X-Trace: quimby.gnus.org 1105999114 28775 67.151.52.10 (17 Jan 2005 21:58:34 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 17 Jan 2005 21:58:34 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Original-Xref: shelby.stanford.edu gnu.emacs.bug:37518 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:10474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10474 >>From the documentation: (set-frame-position FRAME XOFFSET YOFFSET) Sets position of FRAME in pixels to XOFFSET by YOFFSET. This is actually the position of the upper left corner of the frame. Negative values for XOFFSET or YOFFSET are interpreted relative to the rightmost or bottommost possible position (that stays within the screen). Now what I want is to be able to specify my window (frame) to be up against the right-hand side of my screen. So I thought I would use (set-frame position (selected-frame) -0 0). Nope, it interprets -0 the same as 0. The best I could do was -1 0, which left a little space between my window and the edge of the screen. Is there any way to specify it flush-right? Or is this a bug where it should interpret -0 as meaning flush-right, but it's not? Or maybe there's another way to do this?