Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"move-frame-left" (frame-cmds.el) no longer works (Emacs 24.1.50.1)

13 views
Skip to first unread message

William Crandall

unread,
Jun 18, 2012, 8:21:39 PM6/18/12
to drew....@oracle.com, help-gn...@gnu.org
Hello Drew,

I've been using your frame-cmds package to happily
move frames all around with keystrokes (love it).

Unfortunately, with my most resent emacs update:

GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601)
of 2012-06-18 on MARVIN

while the commands are still found, they do not
move the frames, even with your latest:

http://www.emacswiki.org/emacs/frame-cmds.el

;; Filename: frame-cmds.el
;; Description: Frame and window commands (interactive functions).
;; Author: Drew Adams
;; Maintainer: Drew Adams
;; Copyright (C) 1996-2012, Drew Adams, all rights reserved.
;; Created: Tue Mar 5 16:30:45 1996
;; Version: 21.0
;; Last-Updated: Wed Feb 29 10:26:51 2012 (-0800)
--------------------------------------------------


To elaborate, this code used to work (init.el):

--------------------------------------------------
(require 'frame-cmds)
(require 'frame-fns)

(defun move-frame-left-mult ()
"Move multiple times regular unit (big steps)."
(interactive)
(move-frame-left 100))

(global-set-key [(meta kp-left)] 'move-frame-left)
(global-set-key [(shift meta kp-left)] 'move-frame-left-mult)
--------------------------------------------------


Emacs Help seems to know all about it:

--------------------------------------------------
move-frame-left is an interactive compiled Lisp function in
`frame-cmds.el'.

It is bound to <M-kp-left>.
--------------------------------------------------


But, when I invoke it, from keyboard or with M-x,
the fame does not budge.

To be complete, this set is found, but does nothing:

'move-frame-up)
'move-frame-down)
'move-frame-left)
'move-frame-right)

While the enlarge/shrink commands are found and /do/ work:

'enlarge-frame) ;; extend bottom
'enlarge-frame-horizontally)
'shrink-frame) ;; pull up bottom
'shrink-frame-horizontally)


Many thanks for any suggestions,

-BC

GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601)
of 2012-06-18 on MARVIN
Windows 7

Drew Adams

unread,
Jun 18, 2012, 10:18:48 PM6/18/12
to William Crandall, help-gn...@gnu.org
> Hello Drew,
>
> I've been using your frame-cmds package to happily
> move frames all around with keystrokes (love it).
>
> Unfortunately, with my most resent emacs update:
> GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601)
> of 2012-06-18 on MARVIN
>
...
> the frame does not budge.

Egads, you're right. Looks like they've broken `modify-frame-parameters'. I
traced the execution and everything proceeds normally. But the call to
`modify-frame-parameters does nothing.

I will file an Emacs bug and follow up. Thanks for the report.

FYI, it still works perfectly in the 24.1 (the release). Something post-release
broke things.


Drew Adams

unread,
Jun 18, 2012, 10:36:39 PM6/18/12
to William Crandall, help-gn...@gnu.org
> I will file an Emacs bug and follow up. Thanks for the report.

FYI - That's bug #11738.


0 new messages