Re: other-window-or-buffer

2006-05-16 Thread Martin Blais
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

Re: other-window-or-buffer

2006-05-07 Thread John Sturdy
Just out of curiousity, which keybinding have you replaced? C-x o or C-x b ? The keybinding it replaces is actually C-kp-next, but that's because, in order to reduce the load on my hands (I have RSI) I have a set of footswitch units daisy-chained onto the keyboard, each unit having three

other-window-or-buffer

2006-05-05 Thread John Sturdy
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 () (interactive) Switch to the next window, or, if there is only one window, the next buffer. If done repeatedly when

Re: other-window-or-buffer

2006-05-05 Thread liyer . vijay
John Sturdy wrote: 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 () Just out of curiousity, which keybinding have you replaced? C-x o or C-x b ? Switch

RE: other-window-or-buffer

2006-05-05 Thread Drew Adams
Switch to the next window, or, if there is only one window, the next buffer. If done repeatedly when there is only one window, keeps getting different buffers from the buffer list If you want to cycle through buffers, have you looked at the M-x iswitchb-mode minor