John Sturdy <john.sturdy <at> ul.ie> writes:

> 
> Here's one of those "commands I wouldn't be without", to avoid all that
> typing of buffer names (and all that hurried mistyping of buffer
> names).
> 
> (defun other-window-or-buffer ()

I've got something different but similar in spirit, which cycles 
between all the windows of all the frames (all my emacs frames live 
in a single winmgr workspace):

(defun other-window-all-frames ()
  (interactive)
  (let* ((w (next-window nil nil 'visible))
         (f (window-frame w)))
    (select-frame-set-input-focus f)
    (select-window w)))

(substitute-key-definition
 'other-window (repeatable-command-def 'other-window-all-frames)
  (current-global-map))





_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to