[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20361: 25.0.50; Frame position change using set-frame-position does
From: |
Glenn Morris |
Subject: |
bug#20361: 25.0.50; Frame position change using set-frame-position does not stick (Linux) |
Date: |
Sat, 18 Apr 2015 21:54:19 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Kaushal wrote:
> (defun my/alter-frame-pos ()
> (interactive)
> (set-frame-position nil 100 100)) ; pixels x y from upper left
>
> 1. Launch `emacs -Q`.
> 2. Eval the above function in the \*scratch\* buffer.
> 3. Position the frame to any random location **using** the mouse
> 4. `M-x my/alter-frame-pos`. You should see the frame jump to (100,100)
> pixel location.
> 5. `M-x find-file` or `C-x C-f` (this is one of the functions that uses
> `read-from-minibuffer`)
> 6. The frame will jump back to wherever you set it using the mouse!
That sounds very odd.
FWIW, I cannot reproduce this on Debian testing or RHEL7.