all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: [drew.adams@oracle.com: RE: set-frame-position - is it a bug?]
Date: Wed, 12 Jul 2006 09:25:37 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMKEJLCJAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87hd1m7qn4.fsf@stupidchicken.com>

Yes, I would guess that it is Windows specific, since Windows uses a
different menu bar (IIUC).

    I can't reproduce this.  Maybe this is a Windoze-only bug, or it's
    fixed in the current CVS.

    (On GNU/Linux, there is a different frame movement bug, which was
    previously discussed on this list, that's not caused by Emacs but by
    the Metacity window manager [apparently the latest version of Metacity
    doesn't like programs to specify window positions; other window
    managers work OK].)

    >     This bug was apparently never fixed. To reproduce, simply
    >     resize a frame horizontally so that the menu-bar wraps,
    >     then change the 'left frame parameter.
    >
    >     (setq left-pos (cdr (assq 'left (frame-parameters))))
    >     (modify-frame-parameters (selected-frame)
    >       (list (cons 'left (+ 30 left-pos))))
    >
    >     The frame moves down, as well as right.
    >
    >         Sent: Friday, August 05, 2005 7:39 AM
    >         To: help-gnu-emacs@gnu.org
    >         Cc: Emacs-Devel
    >         Subject: RE: set-frame-position - is it a bug?
    >
    >             the intention of the following code
    >               (setq fpx (cdr (assoc 'left (frame-parameters))))
    >               (setq fpy (cdr (assoc 'top  (frame-parameters))))
    >               (setq fpx (+ 1 fpx))
    >               (set-frame-position (next-frame) fpx fpy)
    >             is to move the frame honizontally 1 pixel right;
    >             but as a side-effect I get a vertical move as well.
    >             Is there something wrong with my code?

  reply	other threads:[~2006-07-12 16:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-12 15:36 [drew.adams@oracle.com: RE: set-frame-position - is it a bug?] Richard Stallman
2006-07-12 16:07 ` Chong Yidong
2006-07-12 16:25   ` Drew Adams [this message]
2006-07-12 18:10   ` Eli Zaretskii
2006-07-12 18:22     ` Drew Adams
2006-07-13  3:13       ` Eli Zaretskii
2007-04-28 18:57 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EIENLHALHGIMHGDOLMIMKEJLCJAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.